This is an optimized memcpy/memmove for AArch64. Copies are split into 3 main
[glibc.git] / ChangeLog
bloba9cedf0cb9c6d2cc48d55893850584e16b7863a2
1 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3         * sysdeps/aarch64/memcpy.S (memcpy):
4         Rewrite of optimized memcpy and memmove.
5         * sysdeps/aarch64/memmove.S (memmove): Remove
6         memmove code (merged into memcpy.S).
8 2016-06-20  Florian Weimer  <fweimer@redhat.com>
10         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
11         * sysdeps/generic/dl-dtv.h: New file.
12         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
14         (dtv_t): Remove.
15         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
17         (dtv_t): Remove.
18         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
20         (dtv_t): Remove.
21         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
22         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
23         (dtv_t): Remove.
24         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
25         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
26         (dtv_t): Remove.
27         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
28         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
29         (dtv_t): Remove.
30         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
31         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
32         (dtv_t): Remove.
33         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
34         (dtv_t): Remove.
35         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
36         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
37         (dtv_t): Remove.
38         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
39         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
40         (dtv_t): Remove.
41         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
42         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
43         (dtv_t): Remove.
44         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
45         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
46         (dtv_t): Remove.
47         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
48         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
49         (dtv_t): Remove.
50         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
51         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
52         (dtv_t): Remove.
53         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
54         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
55         (dtv_t): Remove.
56         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
57         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
58         (dtv_t): Remove.
60 2016-06-20  Florian Weimer  <fweimer@redhat.com>
62         Revert symbol poisoning of  __malloc_initialize_hook.
63         * include/stdc-predef.h (__malloc_initialize_hook): Remove
64         poisoning.
65         * malloc/Makefile: Remove un-poisoning.
66         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
67         instead of old__malloc_initialize_hook.
68         * malloc/malloc-hooks.h: Likewise.
69         * malloc/malloc.c: Likewise.
70         * malloc/mcheck-init.c: Likewise.
72 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
74         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
76 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
78         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
79         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
80         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
81         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
83 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
85         * NEWS: Mention addition of nextup and nextdown.
86         * manual/arith.texi: Document nextup and nextdown.
87         * manual/libm-err-tab.pl: Add nextup and nextdown.
88         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
89         * math/Versions (libm): Add GLIBC_2.24.
90         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
91         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
92         Add new test.
93         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
94         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
95         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
96         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
97         (nextup_test_data): Likewise.
98         (nextdown_test_data): Likewise.
99         * math/s_nextdown.c: New file.
100         * math/s_nextdownf.c: Likewise.
101         * math/s_nextdownl.c: Likewise.
102         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
103         F(nextup): New function.
104         F(nextdown): Likewise.
105         * math/tgmath.h: Add nextup and nextdown.
106         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
107         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
108         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
109         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
110         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
111         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
112         Add nextup and nextdown.
113         (CFLAGS-nldbl-nextup.c): New variable.
114         (CFLAGS-nldbl-nextdown.c): Likewise.
115         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
116         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
117         * sysdeps/nacl/libm.abilist: Update.
118         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
119         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
120         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
121         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
122         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
123         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
124         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
125         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
126         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
127         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
128         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
129         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
132         Likewise.
133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
135         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
136         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
137         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
138         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
139         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
142         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
143         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
144         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
145         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
147 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
149         * manual/pattern.texi: Fix typos & grammar errors.
151 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
153         * manual/search.texi: Fix typos & grammar errors.
155 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
157         * manual/message.texi: Fix typos & grammar errors.
159 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
161         * manual/contrib.texi: Fix spelling typos.
162         * manual/crypt.texi: Likewise.
163         * manual/filesys.texi: Likewise.
164         * manual/locale.texi: Likewise.
165         * manual/message.texi: Likewise.
166         * manual/nss.texi: Likewise.
167         * manual/string.texi: Likewise.
169 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
171         * manual/locale.texi: Fix typos & grammar errors.
173 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
175         * manual/charset.texi: Fix typos & grammar errors.
177 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
179         * manual/string.texi: Fix typos.
181 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
183         * manual/ctype.texi: Fix typos.
185 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
187         * manual/memory.texi: Fix various typos & grammar errors.
189 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
191         [BZ #20255]
192         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
193         * math/libm-test.inc (fdim_test_data): Add another test.
195         [BZ #6796]
196         [BZ #20255]
197         [BZ #20256]
198         * math/s_fdim.c: Include <math_private.h>.
199         (__fdim): Use math_narrow_eval on result.
200         * math/s_fdimf.c: Include <math_private.h>.
201         (__fdimf): Use math_narrow_eval on result.
202         * sysdeps/i386/fpu/s_fdim.S: Remove file.
203         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
204         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
205         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
206         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
207         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
208         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
209         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
210         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
211         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
212         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
213         * math/libm-test.inc (fdim_test_data): Expect errno setting on
214         overflow.  Add sNaN tests.
216         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
217         fpclassify.
218         * math/s_fdimf.c (__fdimf): Likewise.
219         * math/s_fdiml.c (__fdiml): Likewise.
221 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
223         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
224         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
226         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
227         ifunc'ed strcasecmp/strncasecmp.
228         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
229         [EALIGN]: Removed.
230         [END]: Likewise.
231         [__strcasecmp]: Define instead of the above to control symbol name.
232         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
233         for __strcasecmp_power8.
234         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
235         for __strncasecmp_power8.
236         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
237         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
238         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
239         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
240         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
241         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
243 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
245         [BZ #20252]
246         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
247         arguments when second argument is a NaN.
248         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
249         qNaN tests.
251         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
252         (conj_test_data): Likewise.
253         (copysign_test_data): Likewise.
254         (creal_test_data): Likewise.
255         (fma_test_data): Likewise.
256         (fmod_test_data): Likewise.
258         [BZ #20250]
259         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
260         itself.
261         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
262         zero input to itself.
263         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
264         Likewise.
265         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
266         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
267         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
268         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
269         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
271 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
273         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
274         * nptl/tst-cancel4-common.c: New file.
275         * nptl/tst-cancel4-common.h: Likewise.
276         * nptl/tst-cancel4.c: Move common definitions to
277         tst-cancel4-common.{c,h} file.
278         * nptl/tst-cancel4_1.c: New test.
279         * nptl/tst-cancel4_2.c: New test.
281 2016-06-13  Florian Weimer  <fweimer@redhat.com>
283         [BZ #20248]
284         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
285         (write_message): New function.
286         (stackoverflow_handler): Call it instead of printf, to avoid
287         excessive stack usage by printf.
288         (do_test): Restore SIGSEGV, SIGBUS default handlers.
290 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
292         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
293         (prio_inherit_missing): Remove define.
294         * sysdeps/unix/sysv/linux/arm/kernel-features.h
295         (__ASSUME_FUTEX_LOCK_PI): Likewise.
296         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
297         Likewise.
298         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
299         (__ASSUME_FUTEX_LOCK_PI): Likewise.
300         * sysdeps/unix/sysv/linux/mips/kernel-features.h
301         (__ASSUME_FUTEX_LOCK_PI): Likewise.
302         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
303         (__ASSUME_FUTEX_LOCK_PI): Likewise.
305 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
307         [BZ #19670]
308         [BZ #19672]
310         * io/test-lfs.c (do_prepare): Use xmalloc.
311         * io/tst-fcntl.c (do_prepare): Likewise.
312         * libio/tst-fopenloc.c (do_bz17916): Likewise.
313         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
314         * login/tst-utmp.c (do_prepare): Likewise.
315         * posix/tst-exec.c (do_prepare): Likewise.
316         * posix/tst-pathconf.c (prepare): Likewise.
317         * posix/tst-spawn.c (do_prepare): Likewise.
318         * posix/tst-truncate.c (do_prepare): Likewise.
319         * rt/tst-aio.c (do_prepare): Likewise.
320         * rt/tst-aio64.c (do_prepare): Likewise.
322 2016-06-11  Florian Weimer  <fweimer@redhat.com>
324         [BZ #20237]
325         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
326         (get*ent): Set entidx to NULL during initialization.  If entidx is
327         NULL, start iteration from the beginning.
329 2016-06-11  Florian Weimer  <fweimer@redhat.com>
331         * malloc/malloc.c (musable): Return correct size for dumped fake
332         mmapped chunk.
334 2016-06-11  Florian Weimer  <fweimer@redhat.com>
336         [BZ #20222]
337         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
338         (_IO_cookie_write): Likewise.
339         (_IO_cookie_seek): Likewise.
340         (_IO_cookie_close): Likewise.
341         (_IO_old_cookie_seek): Likewise.
342         (set_callbacks): New function.
343         (_IO_cookie_init): Call set_callbacks to copy callbacks.
345 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
347         * locale/programs/localedef.c (oldstyle_tables): Remove.
348         * locale/programs/localedef.h (oldstyle_tables): Likewise.
350 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
352         [BZ #20240]
353         * math/Makefile (CFLAGS-s_modf.c): New variable.
354         (CFLAGS-s_modff.c): Likewise.
355         (CFLAGS-s_modfl.c): Likewise.
356         * math/libm-test.inc (modf_test_data): Add sNaN tests.
358 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
360         [BZ #20215]
361         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
362         [!__GNUC_PREREQ (3,2)]: Likewise.
364 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
366         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
367         (msghdr.msg_controllen): Likewise.
368         (cmsghdr.cmsg_len): Likewise.
369         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
370         ptw-oldsendmsg.
371         (CFLAGS-oldrecvmsg.c): Remove rule.
372         (CFLAGS-oldsendmsg.c): Likewise.
373         (CFLAGS-recvmsg.c): Add rule.
374         (CFLAGS-sendmsg.c): Likewise.
375         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
376         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
377         (CFLAGS-recvmsg.c): Remove rule.
378         (CFLAGS-sendmsg.c): Likewise.
379         (CFLAGS-oldrecvmsg.c): Likewise.
380         (CFLAGS-oldsendmsg.c): Likewise.
381         (CFLAGS-recvmmsg.c): Likewise.
382         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
383         to kernel defined interfaces.
384         (msghdr.msg_controllen): Likewise.
385         (cmsghdr.cmsg_len): Likewise.
386         (msghdr.__glibc_reserved1): Remove member.
387         (msghdr.__glibc_reserved2): Likewise.
388         (cmsghdr.__glibc_reserved1): Likewise.
389         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
390         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
391         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
392         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
393         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
394         version.
395         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
396         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
397         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
398         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
399         Remove recvmsg and sendmsg.
400         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
401         Likewise.
402         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
403         Likewise.
404         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
405         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
406         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
407         Likewise.
408         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
409         Likewise.
410         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
411         [libc] (GLIBC_2.24): Likewise.
412         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
413         Likewise.
414         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
415         Likewise.
416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
417         [libc] (GLIBC_2.24): Likewise.
418         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
419         Likewise.
420         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
421         Likewise.
422         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
423         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
424         Likewise.
425         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
426         Likewise.
427         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
428         Likewise.
429         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
430         Likewise.
431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
432         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
433         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
434         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
435         version for {recv,send,recm,sendm}msg.
436         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
437         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
438         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
439         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
440         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
441         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
442         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
443         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
444         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
445         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
446         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
447         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
449         Likewise.
450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
451         Likewise.
452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
454         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
455         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
456         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
457         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
458         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
459         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
462         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
463         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
464         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
466 2016-06-10  Florian Weimer  <fweimer@redhat.com>
468         [BZ #19564]
469         Remove __malloc_initialize_hook from the API.
470         * malloc/malloc.h (__malloc_initialize_hook): Remove.
471         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
472         #pragma GCC poison.
473         * malloc/malloc-hooks.h: New file.
474         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
475         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
476         (old__malloc_initialize_hook): Rename from
477         __malloc_initialize_hook to evade poisoning.  Turn into compat
478         symbol.
479         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
480         __malloc_initialize_hook.
481         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
482         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
483         * manual/memory.texi (Hooks for Malloc): Remove
484         __malloc_initialize_hook.  Adjust hook example.
486 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
488         [BZ #20235]
489         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
490         itself.
491         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
492         * math/libm-test.inc (log2_test_data): Add sNaN tests.
494         [BZ #20234]
495         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
496         infinity or NaN input to itself.
498         [BZ #20233]
499         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
500         to itself.
502         [BZ #20232]
503         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
504         itself.
506 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
508         * sysdeps/x86_64/start.S (_start): Always indirect branch to
509         __libc_start_main via GOT.
511 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
513         * sysdeps/x86_64/memcopy.h: New file.
514         * sysdeps/x86_64/wordcopy.c: Likewise.
516 2016-06-09  Florian Weimer  <fweimer@redhat.com>
518         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
519         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
520         <cstdlib>.
521         (optimization_barrier): New.
522         (do_test): Use it.  Call quick_exit in the global namespace.
523         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
524         instead of <cstdlib>, <thread>.
525         (optimization_barrier): New.
526         (non_main_thread): Adjust declaration.  Call optimization_barrier.
527         Call quick_exit in the global namespace.
528         (do_test): Call optimization_barrier.  Use pthread_create,
529         pthread_join instead of std::thread.
531 2016-06-09  Andreas Schwab  <schwab@suse.de>
533         [BZ #19755]
534         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
535         new entries in auto-propagate mode.
536         * nscd/grpcache.c (cache_addgr): Likewise.
538 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
540         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
541         New functions.
542         (add_temp_file): Use them.
544 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
546         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
548 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
550         [BZ #20229]
551         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
552         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
553         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
555         [BZ #20228]
556         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
557         itself.
558         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
559         * math/libm-test.inc (log10_test_data): Add sNaN tests.
561         [BZ #20227]
562         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
563         itself.
564         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
565         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
566         * math/libm-test.inc (log_test_data): Add sNaN tests.
568         [BZ #20226]
569         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
570         itself.
571         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
572         * math/libm-test.inc (exp_test_data): Add sNaN tests.
573         (exp10_test_data): Likewise.
574         (expm1_test_data): Likewise.
576         [BZ #20225]
577         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
578         itself.
579         * math/s_ldexpf.c (__ldexpf): Likewise.
580         * math/s_ldexpl.c (__ldexpl): Likewise.
581         * math/w_scalbln.c (__w_scalbln): Likewise.
582         * math/w_scalblnf.c (__w_scalblnf): Likewise.
583         * math/w_scalblnl.c (__w_scalblnl): Likewise.
584         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
585         (scalbln_test_data): Likewise.
587         [BZ #20224]
588         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
589         argument to itself.
590         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
592 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
594         [BZ #19776]
595         * sysdeps/x86_64/memcpy.S: Make it dummy.
596         * sysdeps/x86_64/mempcpy.S: Likewise.
597         * sysdeps/x86_64/memmove.S: New file.
598         * sysdeps/x86_64/memmove_chk.S: Likewise.
599         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
600         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
601         * sysdeps/x86_64/memmove.c: Removed.
602         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
603         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
604         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
605         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
606         Likewise.
607         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
608         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
609         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
610         memcpy-sse2-unaligned, memmove-avx-unaligned,
611         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
612         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
613         (__libc_ifunc_impl_list): Replace
614         __memmove_chk_avx512_unaligned_2 with
615         __memmove_chk_avx512_unaligned.  Remove
616         __memmove_chk_avx_unaligned_2.  Replace
617         __memmove_chk_sse2_unaligned_2 with
618         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
619         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
620         with __memmove_avx512_unaligned.  Replace
621         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
622         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
623         with __memcpy_chk_avx512_unaligned.  Remove
624         __memcpy_chk_avx_unaligned_2.  Replace
625         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
626         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
627         Replace __memcpy_avx512_unaligned_2 with
628         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
629         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
630         with __mempcpy_chk_avx512_unaligned.  Remove
631         __mempcpy_chk_avx_unaligned_2.  Replace
632         __mempcpy_chk_sse2_unaligned_2 with
633         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
634         Replace __mempcpy_avx512_unaligned_2 with
635         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
636         Replace __mempcpy_sse2_unaligned_2 with
637         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
638         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
639         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
640         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
641         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
642         (ENTRY): Removed.
643         (END): Likewise.
644         (ENTRY_CHK): Likewise.
645         (libc_hidden_builtin_def): Likewise.
646         Don't include ../memcpy.S.
647         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
648         __memcpy_chk_avx512_unaligned_erms and
649         __memcpy_chk_avx512_unaligned.  Use
650         __memcpy_chk_avx_unaligned_erms and
651         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
652         Default to __memcpy_chk_sse2_unaligned.
653         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
654         Change function suffix from unaligned_2 to unaligned.
655         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
656         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
657         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
658         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
659         (ENTRY): Removed.
660         (END): Likewise.
661         (ENTRY_CHK): Likewise.
662         (libc_hidden_builtin_def): Likewise.
663         Don't include ../mempcpy.S.
664         (mempcpy): New.  Add a weak alias.
665         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
666         __mempcpy_chk_avx512_unaligned_erms and
667         __mempcpy_chk_avx512_unaligned.  Use
668         __mempcpy_chk_avx_unaligned_erms and
669         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
670         Default to __mempcpy_chk_sse2_unaligned.
672 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
674         [BZ #19881]
675         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
676         into ...
677         * sysdeps/x86_64/memset.S: This.
678         (__bzero): Removed.
679         (__memset_tail): Likewise.
680         (__memset_chk): Likewise.
681         (memset): Likewise.
682         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
683         defined.
684         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
685         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
686         (__memset_zero_constant_len_parameter): Check SHARED instead of
687         PIC.
688         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
689         memset-avx2 and memset-sse2-unaligned-erms.
690         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
691         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
692         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
693         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
694         (__bzero): Enabled.
695         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
696         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
697         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
698         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
699         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
700         (memset): Removed.
701         (__memset_chk): Likewise.
702         (MEMSET_SYMBOL): New.
703         (libc_hidden_builtin_def): Replace __memset_sse2 with
704         __memset_sse2_unaligned.
705         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
706         __memset_chk_sse2 and __memset_chk_avx2 with
707         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
708         Use __memset_chk_sse2_unaligned_erms or
709         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
710         __memset_chk_avx512_unaligned_erms and
711         __memset_chk_avx512_unaligned.
713 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
715         * math/gen-auto-libm-test.c (fp_format_desc): remove
716         suffix member.
717         (output_generic_value): Remove usage of suffix member,
718         and the resulting unuse of the fp_format argument.
719         (output_for_one_input_case): Remove unused fp_format
720         parameter.
722         * math/auto-libm-test-out: Regenerate.
724         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
725         usage with TEST_COND_ibm128.
726         (TEST_COND_flt_32): Remove.
727         (TEST_COND_dbl_64): Remove.
728         (TEST_COND_ldbl_96_intel): Remove.
729         (TEST_COND_ldbl_96_m68k): Remove.
730         (TEST_COND_ldbl_128): Remove.
732 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
734         * auto-libm-test-in:
735         Replace flt-32 usage with binary32.
736         Replace dbl-64 usage with binary64.
737         Replace ldbl-intel-96 usage with intel96.
738         Replace ldbl-m68k-96 usage with m68k96.
739         Replace ldbl-128ibm usage with ibm128.
740         Replace ldbl-128 usage with binary128.
742         * auto-libm-test-out: Regenerate.
744 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
746         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
747         (parse_ulps): Dynamically generate type name matching
748         string from all_floats.
749         (get_ulps): Generate the ulps as an array instead.
750         (output_ulps): Dynamically compose the type based
751         on the number of supported formats, and print
752         the indices as type specific helper macros.
754         * math/libm-test.inc: Remove comment about CHOOSE.
755         (ulp_data): Generate the type in libm-test-ulps.h.
756         (ULP_IDX): New macro.
757         (find_ulps): Update usage of max_ulp.
759         * math/test-double-vlen2.h (CHOOSE): Remove.
760         * math/test-double-vlen4.h (CHOOSE): Likewise.
761         * math/test-double-vlen8.h (CHOOSE): Likewise.
762         * math/test-float.c (CHOOSE): Likewise.
763         * math/test-float-finite.c (CHOOSE): Likewise.
764         * math/test-double.c (CHOOSE): Likewise.
765         * math/test-double-finite.c (CHOOSE): Likewise.
766         * math/test-idouble.c (CHOOSE): Likewise.
767         * math/test-ifloat.c (CHOOSE): Likewise.
768         * math/test-ildoubl.c (CHOOSE): Likewise.
769         * math/test-ldouble-finite.c (CHOOSE): Likewise.
770         * math/test-ldouble.c (CHOOSE): Likewise.
772         * math/test-float.h (TEST_FLOAT): Remove.
773         * math/test-double.h (TEST_DOUBLE): Likewise.
774         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
776 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
778         * math/gen-libm-test.pl: (apply_lit): New subroutine.
779         (parse_args): Strip C suffix from floating point literals
780         typed with 'f' and wrap them with LIT().
782         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
783         (test_ff_f_data_nexttoward): Rename to
784         (test_fj_f_data): New struct.
785         (nexttoward_test_data): Relabel tests as
786         TEST_fj_f instead of TEST_ff_f.
788 2016-06-08  Florian Weimer  <fweimer@redhat.com>
790         Emacs bug 23726.
791         * malloc/malloc.c (dumped_main_arena_start): Update comment.
792         (__libc_realloc): Correct size computation for dumped fake mmapped
793         chunks.
795 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
797         [BZ #20219]
798         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
799         to itself.
800         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
802         [BZ #20218]
803         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
804         to itself.
805         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
807 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
809         [BZ #20195]
810         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
811         check to ...
812         (init_cpu_features): Here.
814 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
816         [BZ #20214]
817         * sysdeps/unix/sysv/linux/bits/in.h
818         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
819          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
820         Define to 1.
821         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
822          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
823         Define to 0.
824         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
825         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
827 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
829         [BZ #20198]
830         * stdlib/Makefile (tests): Add tst-quick_exit, and
831         tst-thread-quick_exit.
832         [ifeq ($(have-cxx-thread_local),yes)]
833         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
834         (CFLAGS-tst-thread-quick_exit.o): Likewise.
835         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
836         (LDLIBS-tst-thread-quick_exit): Likewise.
837         [ifneq ($(have-cxx-thread_local),yes)]
838         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
839         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
840         If run_dtors is true call __call_tls_dtors.
841         (exit): Call __run_exit_handlers with run_dtors set to true.
842         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
843         definition.
844         * stdlib/quick_exit.c (quick_exit): Remove function.
845         (__new_quick_exit): New function.
846         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
847         function.
848         * stdlib/tst-quick_exit.cc: New file.
849         * stdlib/tst-thread-quick_exit.cc: New file.
850         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
851         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
852         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
853         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
854         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
855         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
856         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
857         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
858         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
859         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
860         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
861         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
862         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
863         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
864         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
865         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
870         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
871         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
872         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
873         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
874         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
877         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
878         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
879         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
881 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
883         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
884         a typo in comments.
886 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
888         [BZ #20213]
889         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
890         argument to itself.
891         * math/libm-test.inc (asin_test_data): Add sNaN tests.
893 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
895         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
896         required flags.
897         (CFLAGS-pwritev64.c): Likewise.
898         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
899         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
900         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
901         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
902         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
903         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
904         syscall from auto-generation.
905         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
906         [WORDSIZE == 64] (pwritev64): Remove macro.
907         [!PWRITEV] (PWRITEV): Likewise.
908         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
909         [!PWRITEV] (PWRITE): Likewise.
910         [!PWRITEV] (OFF_T): Likewise.
911         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
912         (LO_HI_LONG): Remove macro.
913         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
914         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
915         (PWRITEV): Remove macro.
916         (PWRITEV_REPLACEMENTE): Likewise.
917         (PWRITE): Likewise.
918         (OFF_T): Likewise.
919         (pwritev64): New function.
920         * nptl/tst-cancel4.c (tf_writev): Add test.
922         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
923         required flags.
924         (CFLAGS-preadv64.c): Likewise.
925         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
926         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
927         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
928         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
929         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
930         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
931         syscall from auto-generation.
932         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
933         [WORDSIZE == 64] (preadv64): Remove macro.
934         [!PREADV] (PREADV): Likewise.
935         [!PREADV] (PREADV_REPLACEMENT): Likewise.
936         [!PREADV] (PREAD): Likewise.
937         [!PREADV] (OFF_T): Likewise.
938         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
939         (LO_HI_LONG): Remove macro.
940         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
941         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
942         (PREADV): Remove macro.
943         (PREADV_REPLACEMENTE): Likewise.
944         (PREAD): Likewise.
945         (OFF_T): Likewise.
946         (preadv64): New function.
947         * nptl/tst-cancel4.c (tf_preadv): Add test.
949 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
951         [BZ #20212]
952         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
953         argument to itself.
954         * math/libm-test.inc (acos_test_data): Add sNaN tests.
956 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
958         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
959         New symbol defined as libc_hidden_def.
960         (strcasestr): Became a weak alias to __strcasestr.
961         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
962         according to multi-arch support.  Move __stpncpy hidden
963         definition from here to...
964         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
965         symbol stpncpy.
966         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
967         libc_hidden_builtin_def.
968         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
969         memset symbol to use when multi-arch support is available.
971 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
973         * dlfcn/tst-rec-dlopen.c: Include string.h.
975 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
977         * manual/install.texi: Remove mention of --without-tls
978         * INSTALL: Regenerate.
980 2016-06-05  Florian Weimer  <fweimer@redhat.com>
982         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
983         Remove.
984         (call_function, interposed_malloc_called): New variables.
985         (malloc): New function.
986         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
987         and clear call_function as needed.
989 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
991         * include/wchar.h (__wmemset): Use __typeof.
993 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
995         * include/wchar.h (__wmemset): Declare function without typeof.
997 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
999         [BZ #20205]
1000         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
1001         exponent when incrementing negative subnormal with low mantissa
1002         word zero.
1003         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1004         Add another test.
1006 2016-06-03  Florian Weimer  <fweimer@redhat.com>
1008         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
1009         __wmemset instead of wmemset.
1011 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
1013         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
1014         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
1015         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
1016         __USE_KERNEL_IPV6_DEFS to 0.
1017         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
1018         Update comment.
1020 2016-06-01  Florian Weimer  <fweimer@redhat.com>
1022         [BZ #19861]
1023         Do not use IFUNC resolver with potentially unrelocated symbol.
1024         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
1025         (DEFINE_FORK): Remove macro and inline definition.
1026         (fork_alias): Renamed from fork_ifunc.
1027         (__fork_alias): Renamed from __fork_ifunc.
1029 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
1031         [BZ 19653]
1032         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
1033         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
1035 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1037         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
1038         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
1039         i386-linux-gnu).
1040         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
1041         Set to no.
1042         * sysdeps/mach/hurd/configure: Refresh.
1044 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1046         [BZ #20178]
1047         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
1048         on failure instead of exit.
1050 2016-05-30  Roland McGrath  <roland@hack.frob.com>
1052         [BZ #3629]
1053         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
1054         of POSIX.1-2008.
1056 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1058         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
1059           Use PLT entry for calling _hurd_self_sigstate.
1061 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1063         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
1064         available logical processors with SMT level type sharing L2
1065         cache for Intel processors.
1067 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1069         [BZ #20160]
1070         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
1071         argument to itself before returning the result.
1072         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1073         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1074         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1075         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1076         Likewise.
1077         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1078         Likewise.
1079         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
1080         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
1081         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1082         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1083         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1084         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1086         [BZ #20160]
1087         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
1088         argument to itself before returning the result.
1089         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1090         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1091         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1092         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
1093         Likewise.
1094         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1095         Likewise.
1096         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
1097         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
1098         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
1099         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1100         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1101         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1103 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1105         * libm-test.inc: Replace usage of M_El with
1106         (lit_e): New macro.
1108 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1110         * libm-test.inc: Replace usage of M_PI_4l with
1111         (lit_pi_4_d): New macro.
1113 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1115         * libm-test.inc: Replace usage of M_PIl with
1116         (lit_pi): New macro.
1118 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1120         * libm-test.inc: Replace usage of M_PI2l with
1121         (lit_pi_2_d): New macro.
1123         * math/test-double.h (LITM): New macro.
1124         * math/test-float.h (LITM): Likewise.
1125         * math/test-ldouble.h (LITM): Likewise.
1127 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1129         * libm-test.inc (M_PI_34l): Rename to
1130         (lit_pi_3_m_4_d): New Macro.
1131         (M_PI_34_LOG10El): Rename to
1132         (lit_pi_3_m_4_ln10_m_d): New Macro.
1133         (M_PI2_LOG10El): Rename to
1134         (lit_pi_2_ln10_m_d):  New Macro.
1135         (M_PI4_LOG10El): Rename to
1136         (lit_pi_4_ln10_m_d):  New Macro.
1137         (M_PI_LOG10El): Rename to
1138         (lit_pi_ln10_d):  New Macro.
1140 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1142         [BZ #20157]
1143         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
1144         determine whether to negate low half if [_ARCH_PPCGR], and integer
1145         comparison otherwise.
1146         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
1147         determine whether to negate low half.
1149         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
1150         (NO_TEST_INLINE_DOUBLE): Likewise.
1151         (TEST_COND_x86_64): Likewise.
1152         (TEST_COND_x86): Likewise.
1153         (M_PI_6l): Likewise.
1155 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1157         * math/libm-test.inc:
1158         (TEST_FLOAT): Change usage to TEST_COND_binary32.
1159         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
1160         (TEST_LDOUBLE): Update usage to evaluate as true if
1161         the guarded tests match the property being tested.
1162         (LDBL_MAX_EXP): Change to MAX_EXP.
1163         (LDBL_MIN_EXP): Change to MIN_EXP.
1164         (LDBL_MANT_DIG): Change to MANT_DIG, except for
1165         nexttoward tests.
1167 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1169         * math/libm-test.inc:
1170         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
1171         (TYPE_MIN): Likewise.
1172         (TYPE_TRUE_MIN): Likewise.
1173         (TYPE_MAX): Likewise.
1174         (MIN_EXP): Likewise.
1175         (MAX_EXP): Likewise.
1176         (MANT_DIG): Likewise.
1178         (FSTR_MAX): New macro.
1179         (__CONCATX): Likewise.
1180         (QTYPE_STR): Likewise.
1181         (TEST_COND_binary32): Likewise.
1182         (TEST_COND_binary64): Likewise.
1183         (TEST_COND_binary128): Likewise.
1184         (TEST_COND_ibm128): Likewise.
1185         (TEST_COND_intel96): Likewise.
1186         (TEST_COND_m68k96): Likewise.
1188         (TEST_COND_flt_32): Redefine as equivalent format test macro.
1189         (TEST_COND_dbl_64): Likewise.
1190         (TEST_COND_ldbl_96_intel): Likewise.
1191         (TEST_COND_ldbl_96_m68k): Likewise.
1192         (TEST_COND_ldbl_128): Likewise.
1193         (TEST_COND_ldbl_128ibm): Likewise.
1195         (plus_zero): Redefine using LIT macro.
1196         (minus_zero): Likewise.
1197         (plus_infty): Redefine as (INF).
1198         (minux_infty): Redefine as (-INF).
1199         (max_value): Redefine as TYPE_MAX.
1200         (min_value): Redefine as TYPE_MIN.
1201         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
1203         (print_float): Refactor to use snprintf to convert FLOAT values
1204         to string. This brings it closer to dropin replacement of strtof
1205         for the TS 18661 defined types.
1206         (update_stats): Likewise.
1207         (print_complex_function_ulps): Likewise.
1208         (print_max_error): Likewise.
1209         (print_complex_max_error): Likewise.
1210         (check_float_internal): Likewise.
1212         * math/test-float.h (PREFIX): New macro.
1213         (LIT): Likewise.
1214         (TYPE_STR): Likewise.
1215         (FTOSTR): Likewise.
1217         * math/test-double.h (PREFIX): New macro.
1218         (LIT): Likewise.
1219         (TYPE_STR): Likewise.
1220         (FTOSTR): Likewise.
1222         * math/test-ldouble.h (PREFIX): New macro.
1223         (LIT): Likewise.
1224         (TYPE_STR): Likewise.
1225         (FTOSTR): Likewise.
1227 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1229         [BZ #20156]
1230         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
1231         to itself when zero or not finite.
1232         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
1233         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1234         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
1235         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
1237 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
1239         [BZ #20153]
1240         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
1241         x * x + x for infinities and NaNs.
1243         [BZ #20151]
1244         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
1245         argument to itself before returning result.
1246         (__ieee754_y0l): Likewise.
1247         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1248         (__ieee754_y1l).
1250         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
1251         (atan_test_data): Likewise.
1252         (ceil_test_data): Likewise.
1253         (cos_test_data): Likewise.
1254         (cosh_test_data): Likewise.
1255         (erf_test_data): Likewise.
1256         (exp2_test_data): Likewise.
1257         (fabs_test_data): Likewise.
1258         (floor_test_data): Likewise.
1259         (ilogb_test_data): Likewise.
1260         (j0_test_data): Likewise.
1261         (j1_test_data): Likewise.
1262         (jn_test_data): Likewise.
1263         (lgamma_test_data): Likewise.
1264         (lrint_test_data): Likewise.
1265         (llrint_test_data): Likewise.
1266         (logb_test_data): Likewise.
1267         (lround_test_data): Likewise.
1268         (llround_test_data): Likewise.
1269         (nearbyint_test_data): Likewise.
1270         (rint_test_data): Likewise.
1271         (round_test_data): Likewise.
1272         (sin_test_data): Likewise.
1273         (sincos_test_data): Likewise.
1274         (sinh_test_data): Likewise.
1275         (sqrt_test_data): Likewise.
1276         (tan_test_data): Likewise.
1277         (tanh_test_data): Likewise.
1278         (tgamma_test_data): Likewise.
1279         (trunc_test_data): Likewise.
1280         (y0_test_data): Likewise.
1281         (y1_test_data): Likewise.
1282         (yn_test_data): Likewise.
1284         * math/libm-test.inc: Update comment about NaN testing.
1285         (TEST_SNAN): New macro.
1286         (snan_value): Likewise.
1287         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
1288         (fpclassify_test_data): Add sNaN tests.
1289         (isfinite_test_data): Likewise.
1290         (isinf_test_data): Likewise.
1291         (isnan_test_data): Likewise.
1292         (isnormal_test_data): Likewise.
1293         (issignaling_test_data): Likewise.
1294         (signbit_test_data): Likewise.
1295         * math/gen-libm-test.pl (%beautify): Add snan_value.
1296         (show_exceptions): Add argument $test_snan.
1297         (parse_args): Handle snan_value as non-finite.  Update call to
1298         show_exceptions.
1299         * math/Makefile (libm-test-no-inline-cflags): Add
1300         -fsignaling-nans.
1302 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1304         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
1305         (CFLAGS-oldsendmsg.c): Add rule.
1306         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1307         Correct recvmsg symbol name.
1308         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
1309         Likewise.
1311 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1313         * sysdeps/unix/sysv/linux/Makefile
1314         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
1315         oldsendmmsg.
1316         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
1317         sendmmsg.
1318         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1319         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1320         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1321         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1323         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1324         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1326         Likewise.
1327         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1328         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
1329         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1330         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
1331         iovlen and controllen fields to adjust to POSIX specification.
1332         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1334         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
1335         and change to correct expected type.
1336         (msghdr.msg_controllen): Likewise.
1337         (cmsghdr.cmsg_len): Likewise.
1338         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
1339         expected POSIX assumption about the size.
1340         (msghdr.msg_controllen): Likewise.
1341         (msghdr.__glibc_reserved1): Likewise.
1342         (msghdr.__glibc_reserved2): Likewise.
1343         (cmsghdr.cmsg_len): Likewise.
1344         (cmsghdr.__glibc_reserved1): Likewise.
1345         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
1346         Add ptw-oldrecvmsg and ptw-oldsendmsg.
1347         (CFLAGS-sendmsg.c): Remove rule.
1348         (CFLAGS-recvmsg.c): Likewise.
1349         (CFLAGS-oldsendmsg.c): Add rule.
1350         (CFLAGS-oldrecvmsg.c): Likewise.
1351         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
1352         recvmsg and sendmsg.
1353         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
1354         Likewise.
1355         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
1356         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
1357         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1358         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
1359         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1360         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1361         Likewise.
1362         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1363         Likewise.
1364         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
1365         Likewise.
1366         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
1367         Likewise.
1368         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1369         Likewise.
1370         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1371         Likewise.
1372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
1373         (GLIBC_2.24): Likewise.
1374         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1375         Likewise.
1376         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1377         Likewise.
1378         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1379         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1380         Likewise.
1381         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1382         Likewise.
1383         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1384         Likewise.
1385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
1386         (GLIBC_2.24): Likewise.
1387         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
1388         Likewise.
1389         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
1390         Likewise.
1391         * sysdeps/unix/sysv/linux/Makefile
1392         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
1393         (CFLAGS-sendmsg.c): Add rule.
1394         (CFLAGS-recvmsg.c): Likewise.
1395         (CFLAGS-oldsendmsg.c): Likewise.
1396         (CFLAGS-oldrecvmsg.c): Likewise.
1397         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
1398         initialization.
1399         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1400         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1401         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
1402         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1403         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
1404         iovlen and controllen fields to adjust to POSIX specification.
1405         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1406         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
1407         added recvmsg and sendmsg.
1408         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1409         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1410         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1411         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1412         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1413         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1414         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1415         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1416         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1417         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1418         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1419         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1421         Likewise.
1422         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1424         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1425         Likewise.
1426         Likewise.
1427         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1428         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1429         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1430         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1431         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1432         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1434         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1436         Likewise.
1437         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1438         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1440         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
1441         from auto-generation.
1442         (sendmsg): Likewise.
1443         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
1444         (sendmsg): Likewise.
1445         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
1446         (sendmsg): Likewise.
1447         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
1448         (sendmsg): Likewise.
1449         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
1450         (sendmsg): Likewise.
1451         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
1452         (sendmsg): Likewise.
1453         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
1454         Likewise.
1455         (sendmsg): Likewise.
1456         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
1457         (sendmsg): Likewise.
1458         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1459         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1460         Remove.
1461         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1462         Likewise.
1463         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1464         Undefine.
1465         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1466         Likewise.
1467         * sysdeps/unix/sysv/linux/kernel-features.h
1468         (__ASSUME_SENDMSG_SYSCALL): Define.
1469         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1470         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1471         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1472         Remove.
1473         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1474         Likewise.
1475         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1476         Undefine.
1477         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1478         Likewise.
1479         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1480         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1481         Remove.
1482         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1483         Likewise.
1484         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1485         Undefine.
1486         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1487         Likewise.
1488         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1489         (__ASSUME_SENDMSG_SYSCALL): Undefine.
1490         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1491         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1492         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1493         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1494         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1495         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1496         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1498 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1500         * stdlib/gen-tst-strtod-round.c: Add backslash to
1501         compile command in comment.
1502         (printfp): Remove the literal suffix, and define an infinite
1503         value as INF to avoid expansion clash with INFINITY.
1504         (round_str): Remove the literal suffix.
1505         (round_for_all): Likewise, remove the now duplicate ldbl-64
1506         entry, and remove some magic constants.
1508         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
1509         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
1510         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
1511         (_CONCAT): New macro.
1512         (CONCAT): Likewise.
1513         (CHOOSE_ld): Likewise.
1514         (CHOOSE_f): Likewise.
1515         (CHOOSE_d): Likewise.
1516         (FTYPE_MEMBER): Likewise.
1517         (BOOL_MEMBER): Likewise.
1518         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
1519         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
1520         (_XNTRY): Likewise.
1521         (XNTRY): Likewise.
1522         (_ENTRY): Likewise.
1523         (ENTRY): Likewise.
1524         (test_exactness): Generate members via macro.
1525         (test_results): Likewise.
1526         (test): Update members.
1527         (TEST): Redefine using new macros.
1528         (INF): New macro.
1529         (fetestmodes): New structure.
1530         (do_test): Refactor to be type generic.
1531         (test_in_one_mode): Refactor duplicate code into
1532         (GEN_ONE_TEST): New macro.
1534         * stdlib/tst-strtod-round-data.h: Regenerate.
1536         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
1537         Extend to pass additional arbitrary parameters to
1538         generators.
1540 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
1542         [BZ #15479]
1543         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
1544         floating-point state after first floating-point operation on
1545         input.  Restore full floating-point state instead of just rounding
1546         mode.
1547         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1548         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1549         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1550         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1551         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1553         [BZ #15479]
1554         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
1555         floating-point state after first floating-point operation on
1556         input.  Restore full floating-point state instead of just rounding
1557         mode.
1558         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1559         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1560         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1561         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1562         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1564 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1566         [BZ #19727]
1567         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
1568         valid high surrogate.
1569         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
1570         of an utf16 surrogate.
1571         * iconv/gconv_simple.c (BODY): Likewise.
1572         * iconvdata/bug-iconv12.c: New file.
1573         * iconvdata/Makefile (tests): Add bug-iconv12.
1575 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1577         [BZ #19726]
1578         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
1579         outptrp in case of an illegal input.
1580         * iconv/tst-iconv6.c: New file.
1581         * iconv/Makefile (tests): Add tst-iconv6.
1583 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1585         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
1586         an error in case of a value in range of an utf16 low surrogate.
1588 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1590         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
1591         an error in case of a value in range of an utf16 low surrogate.
1593 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1595         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
1596         Move to ...
1597         * sysdeps/s390/Makefile: ... here.
1598         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
1599         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
1600         (BRANCH_ON_COUNT): New define.
1601         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
1602         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
1603         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
1604         run on s390-32, too.
1605         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
1606         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
1607         run on s390-32, too.
1608         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
1609         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
1610         run on s390-32, too.
1612 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1614         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
1615         etf3eh or new vector loop-variant.
1617 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1619         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
1620         etf3eh or new vector loop-variant.
1622 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1624         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
1625         or new vector loop-variant.
1627 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1629         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
1630         Rename to TR_LOOP and usage of tr instead of troo instruction.
1632 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1634         * sysdeps/s390/multiarch/gconv_simple.c: New File.
1635         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
1637 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1639         * sysdeps/s390/multiarch/8bit-generic.c: New File.
1640         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
1641         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
1642         New override define.
1643         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
1645 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1647         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
1648         * sysdeps/s390/configure.ac: Add test for S390 vector register
1649         support in gcc.
1650         * sysdeps/s390/configure: Regenerated.
1652 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1654         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
1655         Install file from $(objpfx)gconv-modules.
1656         ($(objpfx)gconv-modules): Concatenate architecture specific file
1657         in variable sysdeps-gconv-modules and gconv-modules in src dir.
1658         * sysdeps/s390/gconv-modules: New file.
1659         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
1660         Deleted.
1661         ($(objpfx)gconv-modules-s390): Deleted.
1662         (sysdeps-gconv-modules): New variable.
1664 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1666         [BZ #15479]
1667         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
1668         of immediate operand to rounding instruction.
1669         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
1670         Likewise.
1671         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
1672         Likewise.
1673         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
1674         Likewise.
1676 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1678         * math/libm-test.inc (MIN_EXP): Directly define as
1679         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
1681 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1683         * math/libm-test.inc (MANT_DIG): Directly define as
1684         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
1686 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1688         * stdlib/gen-tst-strtod-round.c (main):
1689           Change usage to more closely match the generated
1690           output.  Add usage and compilation instructions.
1691           (string_to_fp): Add and use FILE* parameter as
1692           output target.
1693           (print_fp): Likewise.
1694           (round_str): Likewise.
1695           (round_for_all): Likewise.
1696         * stdlib/tst-strtod-round.c (tests): Move into
1697         * stdlib/tst-strtod-round-data.h: New file.
1699 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1701         [BZ #15479]
1702         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
1703         (__round): Do not force "inexact" exception.
1704         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
1705         variable.
1706         (__round): Do not force "inexact" exception.
1707         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
1708         (__roundf): Do not force "inexact" exception.
1709         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
1710         (__roundl): Do not force "inexact" exception.
1711         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
1712         (__roundl): Do not force "inexact" exception.
1713         * math/libm-test.inc (round_test_data): Do not allow spurious
1714         "inexact" exceptions.
1716         [BZ #15479]
1717         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
1718         exception in comment.
1719         (huge): Remove variable.
1720         (__floor): Do not force "inexact" exception.
1721         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
1722         "inexact" exception in comment.
1723         (huge): Remove variable.
1724         (__floor): Do not force "inexact" exception.
1725         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
1726         exception in comment.
1727         (huge): Remove variable.
1728         (__floorf): Do not force "inexact" exception.
1729         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
1730         exception in comment.
1731         (huge): Remove variable.
1732         (__floorl): Do not force "inexact" exception.
1734         [BZ #15479]
1735         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
1736         exception in comment.
1737         (huge): Remove variable.
1738         (__ceil): Do not force "inexact" exception.
1739         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
1740         "inexact" exception in comment.
1741         (huge): Remove variable.
1742         (__ceil): Do not force "inexact" exception.
1743         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
1744         (__ceilf): Do not force "inexact" exception.
1745         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
1746         exception in comment.
1747         (huge): Remove variable.
1748         (__ceill): Do not force "inexact" exception.
1750 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1752         * config.h.in (BIND_NOW): New.
1753         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
1754         * configure: Regenerated.
1755         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
1756         indirect branch via the GOT slot.
1758 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1760         [BZ #19765]
1761         * sysdeps/s390/mempcpy.S: New File.
1762         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
1763         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
1764         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1765         Add mempcpy variants.
1766         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
1767         (memcpy): Adjust to be usable from mempcpy entry point.
1768         (__memcpy_mvcle): Likewise.
1769         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1770         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
1771         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
1772         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
1773         (__memcpy_z10): Likewise.
1774         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1776 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1778         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
1779         Remove __GI_ symbol.
1780         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
1781         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
1782         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
1783         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1784         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
1785         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
1787 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1789         * sysdeps/s390/s390-64/memcpy.S (memcpy):
1790         Use cghi instead of chi to compare 64bit value.
1792 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1794         * sysdeps/s390/s390-32/memcpy.S (memcpy):
1795         Jump to 1MB check before executing mvc-loop.
1797 2016-05-24  Florian Weimer  <fweimer@redhat.com>
1799         [BZ #6527]
1800         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
1801         unconditionally.
1802         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
1804 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1806         * stdlib/tst-strtod6.c (do_test): Use new type generic
1807         invocation of the test function.
1808         (test): Refactor into ...
1809         (TEST_STRTOD): New macro base function.
1811 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1813         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
1814         (TEST_STRTOD): New macro.
1815         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
1817 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1819         * stdlib/tst-strtod6.c (do_test): Use new type generic
1820         invocation of the test function.
1821         (test): Refactor into ...
1822         (TEST_STRTOD): New macro base function.
1824 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1826         CVE-2016-4429
1827         [BZ #20112]
1828         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
1829         payload.
1831 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1833         [BZ #20111]
1834         * bits/sockaddr.h (_SS_SIZE): Define.
1835         * bits/socket.h (_SS_SIZE): Remove.
1836         (_SS_PADSIZE): Adjust to account for all padding.
1837         (struct sockaddr_storage): Update comment.  Avoid implicit
1838         padding.
1839         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
1840         (_SS_PADSIZE): Adjust to account for all padding.
1841         (struct sockaddr_storage): Update comment.  Avoid implicit
1842         padding.
1843         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
1844         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
1845         (_SS_PADSIZE): Adjust to account for all padding.
1846         (struct sockaddr_storage): Update comment.  Avoid implicit
1847         padding.
1848         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
1849         __SS_SIZE is 126 in this version.
1850         * inet/tst-sockaddr.c: New file.
1851         * inet/Makefile (tests): Add tst-sockaddr.c
1852         (tst-sockaddr.c): Compile with non-strict aliasing.
1854 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
1856         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
1857         [XPG3 || XPG4].
1858         (NL_ARGMAX): Also expect for [XPG3].
1859         (NL_LANGMAX): Likewise.
1860         (NL_MSGMAX): Likewise.
1861         (NL_NMAX): Likewise.
1862         (NL_SETMAX): Likewise.
1863         (NL_TEXTMAX): Likewise.
1864         (NZERO): Likewise.
1865         (TMP_MAX): Likewise.
1866         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
1867         variable.
1869         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
1870         (PF_MAX): Update value.
1871         (AF_KCM): New macro.
1872         (SOL_NETBEUI): Likewise.
1873         (SOL_LLC): Likewise.
1874         (SOL_DCCP): Likewise.
1875         (SOL_NETLINK): Likewise.
1876         (SOL_TIPC): Likewise.
1877         (SOL_RXRPC): Likewise.
1878         (SOL_PPPOL2TP): Likewise.
1879         (SOL_BLUETOOTH): Likewise.
1880         (SOL_PNPIPE): Likewise.
1881         (SOL_RDS): Likewise.
1882         (SOL_IUCV): Likewise.
1883         (SOL_CAIF): Likewise.
1884         (SOL_ALG): Likewise.
1885         (SOL_NFC): Likewise.
1886         (SOL_KCM): Likewise.
1887         (MSG_BATCH): New enum value and macro.
1889 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1891         [BZ #18185]
1892         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
1893         sharing L2 cache to 2 for Knights Landing.
1895 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
1897         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
1898         (FTW_DP): Do not expect for [XPG3 || XPG4].
1899         (FTW_SL): Do not expect for [XPG3].
1900         (FTW_SLN): Likewise.
1901         (FTW_PHYS): Likewise.
1902         (FTW_MOUNT): Likewise.
1903         (FTW_DEPTH): Likewise.
1904         (FTW_CHDIR): Likewise.
1905         (nftw): Likewise.
1906         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
1907         variable.
1909 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1911         * manual/errno.texi: Fix various typos & grammar errors.
1913 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1915         * manual/intro.texi: Fix duplicated typo.
1917 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1919         [BZ #13304]
1920         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
1921         <float.h>, <math_private.h> and <stdlib.h>.
1922         (add_split): New function.
1923         (mul_split): Likewise.
1924         (ext_val): New typedef.
1925         (store_ext_val): New function.
1926         (mul_ext_val): New function.
1927         (compare): New function.
1928         (add_split_ext): New function.
1929         (__fmal): After checking for Inf, NaN and zero, compute result as
1930         an exact sum of scaled double values in round-to-nearest before
1931         adding those up and adjusting for other rounding modes.
1932         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
1933         tests of fma.
1934         * math/auto-libm-test-out: Regenerated.
1936 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1938         [BZ #20119]
1939         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
1940         processor level type mask for CPUID with EAX == 11.
1942 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1944         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
1945         logical threads if the HTT bit is 0.
1946         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
1947         (index_cpu_HTT): Likewise.
1948         (reg_HTT): Likewise.
1950 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1952         [BZ #20115]
1953         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
1954         Remove alignments on jump targets.
1956 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1958         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
1959         (getpwent): Likewise.
1960         (setpwent): Likewise.
1961         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
1962         variable.
1964         * conform/data/search.h-data (insque): Do not expect for [XPG3].
1965         (remque): Likewise.
1966         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
1967         variable.
1969 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1971         * math/libm-test.inc: Update comment not to refer to signs of NaNs
1972         not being tested.
1974 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1976         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1977         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
1978         call.
1979         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1980         (__condvar_cleanup1): Likewise.
1982 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1984         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
1985         New
1986         (__pthread_unwind): Renamed to ...
1987         (PTHREAD_UNWIND): This.
1988         (__pthread_enable_asynccancel): Replace
1989         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
1991 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1993         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
1994         (CLONE_NEWCGROUP): New macro.
1996         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
1997         (Q_GETNEXTQUOTA): New macro.
1999 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2001         [BZ #19907]
2002         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
2003         buffer updated by the previous run.
2004         * string/test-memcpy.c (do_one_test): Likewise.
2005         * benchtests/bench-memmove.c (do_one_test): Add a comment.
2006         * string/test-memmove.c (do_one_test): Likewise.
2008 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
2010         [BZ #20094]
2011         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
2012         not [__USE_XOPEN].
2013         (unlockpt): Likewise.
2014         (ptsname): Likewise.
2015         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
2016         variable.
2018         [BZ #20076]
2019         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
2020         instead of [__USE_UNIX98].
2021         (S_ISSOCK): Likewise.
2022         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
2023         variable.
2025         [BZ #20074]
2026         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
2027         [__USE_POSIX].
2028         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
2029         variable.
2031         [BZ #20051]
2032         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
2033         (ttyslot): Do not declare.
2034         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
2035         (ttyslot): New prototype.
2036         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
2037         variable.
2038         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2040 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2042         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
2044 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2046         Fix race condition in tst-mallocfork2, use fewer resources.
2047         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
2048         to current process group.
2049         (signal_sender): Yield in the non-sleeping case.
2051 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
2053         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
2054         (ecvt): Likewise.
2055         (fcvt): Likewise.
2056         (gcvt): Likewise.
2057         (getsubopt): Likewise.
2058         (grantpt): Likewise.
2059         (initstate): Likewise.
2060         (l64a): Likewise.
2061         (mktemp): Likewise.
2062         (mkstemp): Likewise.
2063         (ptsname): Likewise.
2064         (random): Likewise.
2065         (realpath): Likewise.
2066         (setstate): Likewise.
2067         (srandom): Likewise.
2068         (ttyslot): Likewise.
2069         (unlockpt): Likewise.
2070         (valloc): Likewise.
2072         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
2073         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
2074         variable.
2076 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2078         [BZ #20072]
2079         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
2080         init_cpu_features only if SHARED is defined.
2081         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2083 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2085         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
2086         non-inclusive caches on Intel processors.
2088 2016-05-13  Florian Weimer  <fweimer@redhat.com>
2090         * malloc/malloc.c (dumped_main_arena_start)
2091         (dumped_main_arena_end): New variables.
2092         (DUMPED_MAIN_ARENA_CHUNK): New macro.
2093         (do_check_chunk): Skip dumped fake mmapped chunks.
2094         (munmap_chunk): Likewise.
2095         (__libc_free): Do not adjust statistics for fake mmapped chunks.
2096         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
2097         mmapped chunks.
2098         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
2099         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
2100         and dumped_main_arena_end to cover the dumped heap.
2102 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
2104         * conform/data/time.h-data (getdate_err): Do not expect for
2105         [XPG3].
2106         (getdate): Likewise.
2107         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
2108         variable.
2110         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
2111         (F_ULOCK): Likewise.
2112         (F_TEST): Likewise.
2113         (F_TLOCK): Likewise.
2114         (useconds_t): Likewise.
2115         (intptr_t): Do not expect for [XPG3] or [XPG4].
2116         (brk): Do not expect for [XPG3]
2117         (fchown): Likewise.
2118         (fchdir): Likewise.
2119         (ftruncate): Likewise.
2120         (getdtablesize): Likewise.
2121         (gethostid): Likewise.
2122         (getpagesize): Likewise.
2123         (getpgid): Likewise.
2124         (getsid): Likewise.
2125         (getwd): Likewise.
2126         (lchown): Likewise.
2127         (lockf): Likewise.
2128         (readlink): Likewise.
2129         (sbrk): Likewise.
2130         (setpgrp): Likewise.
2131         (setregid): Likewise.
2132         (setreuid): Likewise.
2133         (symlink): Likewise.
2134         (sync): Likewise.
2135         (truncate): Likewise.
2136         (ualarm): Likewise.
2137         (usleep): Likewise.
2138         (vfork): Likewise.
2139         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
2140         variable.
2142         [BZ #20054]
2143         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
2144         not [__USE_UNIX98].
2145         * conform/data/unistd.h-data (gethostname): Do not expect for
2146         [XPG3].
2148         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
2149         [!POSIX] (S_IFBLK): Likewise.
2150         [!POSIX] (S_IFCHR): Likewise.
2151         [!POSIX] (S_IFIFO): Likewise.
2152         [!POSIX] (S_IFREG): Likewise.
2153         [!POSIX] (S_IFDIR): Likewise.
2154         [!POSIX] (S_IFLNK): Likewise.
2155         [!POSIX] (S_IFSOCK): Likewise.
2156         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
2157         variable.
2158         (test-xfail-XPG4/fcntl.h/conform): Likewise.
2160 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
2162         * sysdeps/aarch64/memset.S (__memset):
2163         Rewrite of optimized memset.
2165 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2167         [BZ #19703]
2168         Partially async-signal-safe fork for single-threaded processes.
2169         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
2170         variable.  Do not acquire and reset/release malloc and libio locks
2171         in single-threaded processes.
2172         * malloc/tst-mallocfork2.c: New file.
2173         * malloc/Makefile (tests): Add it.
2175 2016-05-12  Florian Weimer  <fweimer@redhat.com>
2177         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
2178         argument.  Use scratch buffer instead of extend_alloca.
2179         (gethosts): Use scratch buffer instead of extend_alloca.
2180         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
2181         extend_alloca.
2182         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
2184 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
2186         [BZ #20055]
2187         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
2188         instead of [__USE_UNIX98].
2189         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
2190         [__USE_UNIX98].
2191         * conform/data/termios.h-data (tcgetsid): Do not expect for
2192         [XPG3].
2193         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
2194         variable.
2195         (test-xfail-XPG4/termios.h/conform): Likewise.
2197 2016-05-11  Florian Weimer  <fweimer@redhat.com>
2199         Do not use mcheck in localedef.
2200         * locale/programs/localedef.c (turn_on_mcheck)
2201         (__malloc_initialize_hook): Remove.
2203 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2205         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
2206         * sysdeps/s390/s390-64/Makefile: Likewise.
2208 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2210         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
2211         Remove ifunc-defines.sym.
2212         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
2213         Likewise.
2214         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
2215         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2216         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
2217         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
2218         rtld-global-offsets.sym.
2219         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
2220         * sysdeps/x86/cpu-features-offsets.sym: This.
2221         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
2222         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
2224 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
2226         [BZ #20073]
2227         * io/sys/stat.h (fchmod): Declare for
2228         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
2229         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
2230         variable.
2232         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
2233         [XPG3] (S_IFSOCK): Likewise.
2234         [XPG3] (S_ISVTX): Likewise.
2235         [XPG3] (S_ISLNK): Likewise.
2236         [XPG3] (S_ISSOCK): Likewise.
2237         [XPG3] (fchmod): Likewise.
2238         [XPG3] (lstat): Likewise.
2239         [XPG3] (mknod): Likewise.
2241         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
2242         [XPG3].  Expect type long and XFAIL for [XPG4].
2243         (st_blocks): Likewise.
2245         [BZ #20044]
2246         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
2247         (pthread_atfork): New prototype.
2248         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
2249         variable.
2251         [BZ #20043]
2252         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
2253         prototype.
2255 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2257         [BZ #20017]
2258         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
2259         gmtime.
2261 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2263         [BZ #19994]
2264         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
2265         flag in _res.options.
2267 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
2269         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
2270         [XPG3 || XPG4].
2271         (blksize_t): Likewise.
2272         (clockid_t): Likewise.
2273         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
2274         variable.
2275         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2277 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2279         * sysdeps/unix/sysv/linux/s390/init-first.c:
2280         Add VDSO_SYMBOL(getcpu).
2281         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
2282         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
2283         Add VDSO_SYMBOL(getcpu).
2284         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
2285         New define HAVE_GETCPU_VSYSCALL.
2286         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2288 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
2290         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
2291         instead of <sysdeps/x86_64/cacheinfo.c>.
2292         * sysdeps/x86_64/cacheinfo.c: Moved to ...
2293         * sysdeps/x86/cacheinfo.c: Here.
2295 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2297         * malloc/malloc-internal.h: Adjust header file guard.
2299 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2301         [BZ #19787]
2302         * inet/getnameinfo.c (check_sprintf_result): New function.
2303         (CHECKED_SNPRINTF): New macro.
2304         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
2305         to the host buffer.
2306         (gni_host_local): Use checked_copy to copy the host name.
2307         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
2308         (gni_serv_local): Use checked_copy to copy the service name.
2309         (getnameinfo): Remove unnecessary truncation of result buffers.
2311 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2313         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
2314         in case of inet_ntop failure.
2316 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2318         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
2319         avoid long lines.
2320         (gni_host_inet_numeric): Likewise.  Reduce scope of local
2321         variables.
2322         (gni_host_inet, gni_host_local): Add comment.
2323         (gni_host): Add comment.  Use temporary to avoid long lines.
2325 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2327         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
2328         registers specifiers where general purpose registers specifiers should
2329         have been used.
2331 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2333         [BZ #19779]
2334         CVE-2016-1234
2335         Avoid copying names of directory entries.
2336         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
2337         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
2338         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
2339         (struct readdir_result): New type.
2340         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
2341         (GL_READDIR): New macros.
2342         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
2343         (convert_dirent, convert_dirent64): New functions.
2344         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
2345         convert_dirent64.  Adjust references to the readdir result.
2346         * sysdeps/unix/sysv/linux/i386/glob64.c:
2347         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
2348         * posix/bug-glob2.c (LONG_NAME): Define.
2349         (filesystem): Add LONG_NAME.
2350         (my_DIR): Increase the size of room_for_dirent.
2352 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
2354         [BZ #20041]
2355         * misc/sys/select.h (__need_timespec): Only define if
2356         [__USE_XOPEN2K].
2357         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
2358         variable.
2359         (test-xfail-XPG4/utmpx.h/conform): Likewise.
2360         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2361         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2363 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2364             Segher Boessenkool  <segher@gcc.gnu.org>
2366         [BZ #20004]
2367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
2368         (__novec_swapcontext): Add missing load.
2370 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
2372         [BZ #20023]
2373         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
2374         <time.h>.
2375         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
2376         variable.
2377         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2379 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
2382         flags CLONE_VM compare.
2384 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2386         [BZ #20031]
2387         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
2388         completely empty.
2390 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2392         [BZ #19573]
2393         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
2394         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
2395         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
2396         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
2397         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
2398         (hesiod_free_list): Mark as hidden.
2399         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
2400         res_set, res_get.
2401         * hesiod/hesiod.c: Remove unnecessary forward declarations.
2402         (init, __hesiod_res_get, __hesiod_res_set): Remove.
2403         (hesiod_init): Remove obsolete res_ninit call.
2404         (hesiod_end): Do not free resolver state.  Do not invoke callback.
2405         (hesiod_bind): Do not call init.
2406         (get_txt_records): Use res_mkquery, res_send instead of
2407         res_nmkquery, res_nsend.
2408         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
2409         instead of _nss_hesiod_init.
2410         (_nss_hesiod_initgroups_dyn): Likewise.
2411         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
2412         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
2413         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
2415 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2417         * hesiod/hesiod_p.h (DEF_RHS): Remove.
2418         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
2420 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2422         * hesiod/hesiod.h: Remove RCS keyword.
2423         * hesiod/hesiod_p.h: Likewise.
2425         * hesiod/hesiod.c: Likewise.
2427 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
2429         [BZ #12450]
2430         * locale/iso-639.def: Add Samogitian/sgs.
2432 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
2434         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
2436         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
2438 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
2439             Carlos O'Donell  <carlos@redhat.com>
2441         [BZ #19072]
2442         * grp/Makefile (headers): Add grp-merge.h
2443         (routines): Add grp-merge.
2444         * grp/getgrgid_r.c: Include grp-merge.h.
2445         (DEEPCOPY_FN): Define.
2446         (MERGE_FN): Define.
2447         * grp/getgrname_r.c: Include grp-merge.h.
2448         (DEEPCOPY_FN): Define.
2449         (MERGE_FN): Define.
2450         * grp/grp-merge.c: New file.
2451         * grp/grp-merge.h: New file.
2452         * include/grp-merge.h: New file.
2453         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
2454         __copy_grp@GLIBC_PRIVATE.
2455         * manual/nss.texi (Actions in the NSS configuration): Describe
2456         return, continue, and merge.
2457         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
2458         (DEEPCOPY_FN): Define.
2459         (MERGE_FN): Define.
2460         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
2461         (DEEPCOPY_FN): Define.
2462         (MERGE_FN): Define.
2463         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
2464         [!MERGE_FN]: Define __merge_einval.
2465         (CHECK_MERGE): Define.
2466         (REENTRANT_NAME): Process merge if do_merge is true.
2467         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
2468         (__nss_getent_r): Likewise.
2469         * nss/nsswitch.c (nss_parse_service_list): Likewise.
2470         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
2472 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2474         [BZ #20012]
2475         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
2476         length to calculate the buffer to read.
2477         (fmemopen_write): Set the buffer position based on bytes written.
2478         (fmemopen_seek): Return EINVAL for invalid whence modes.
2480         [BZ #19957]
2481         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
2482         tst-getpid2.
2483         (test): Add tst-clone2.
2484         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
2485         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
2486         pid/tid fields for CLONE_VM.
2487         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2488         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2489         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2490         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
2491         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2492         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2493         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2494         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2496         Likewise.
2497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2498         Likewise.
2499         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2500         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2501         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2502         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2503         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2504         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2505         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2506         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
2508 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2510         [BZ #19642]
2511         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
2512         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
2513         (gni_serv_local, gni_serv): New functions extracted from
2514         getnameinfo.
2515         (getnameinfo): Call gni_host and gni_serv to perform the
2516         processing.  Always free scratch buffer.
2518 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2520         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
2521         remaining bytes in the dest string, with zeros.
2523 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2525         [BZ #20010]
2526         CVE-2016-3706
2527         * sysdeps/posix/getaddrinfo.c
2528         (convert_hostent_to_gaih_addrtuple): New function.
2529         (gethosts): Call convert_hostent_to_gaih_addrtuple.
2530         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
2531         AF_INET data.
2533 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2535         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
2536         callback function gl_readdir.
2537         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
2538         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
2539         (glob_in_dir): Remove len.  Use strdup instead of malloc and
2540         memcpy to copy the name.
2541         * manual/pattern.texi (Calling Glob): Document requirements for
2542         implementations of the gl_readdir callback function.
2543         * manual/examples/mkdirent.c: New example.
2544         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
2545         per the manual guidance.
2546         * posix/tst-gnuglob.c (my_readdir): Likewise.
2548 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
2550         [BZ #20014]
2551         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
2552         not [__USE_POSIX].
2553         (getchar_unlocked): Likewise.
2554         (putc_unlocked): Likewise.
2555         (putchar_unlocked): Likewise.
2556         (flockfile): Likewise.
2557         (ftrylockfile): Likewise.
2558         (funlockfile): Likewise.
2559         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
2560         variable.
2561         (test-xfail-XPG4/stdio.h/conform): Likewise.
2563         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
2564         Expect constant.
2565         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
2566         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
2567         variable.
2568         (test-xfail-XPG4/langinfo.h/conform): Likewise.
2569         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2571         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
2572         [__USE_LARGEFILE64] (off64_t): Likewise.
2573         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
2574         variable.
2576 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2578         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
2580 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2582         * resolv/inet_addr.c: Reindent preprocessor conditionals.
2583         * resolv/res_init.c: Likewise.
2584         * resolv/res_mkquery.c: Likewise.
2586 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2588         * resolv/res_init.c (isascii): Do not define.  Use definition in
2589         <ctype.h>.
2590         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
2591         (LOG_AUTH): Remove.
2592         (SPRINTF): Remove, adjust caller.
2593         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
2595 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2597         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
2598         SUNSECURITY conditional.
2599         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
2601 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2603         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
2604         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
2605         Remove BSD-related preprocessor conditionals.
2606         * conf/portability.h: Remove.
2608 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2610         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
2611         * resolv/res_data.c: Likewise.
2613 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2615         * resolv/res_comp.c: Remove code conditional on __ultrix__.
2616         * resolv/res_data.c: Remove code conditional on ultrix.
2618 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2620         * resolv/res_init.c (RFC1535): Do not define.  Remove
2621         RFC1535 preprocessor conditionals.
2622         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
2623         because there configuration options which make the resolver
2624         behavior different.
2626 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2628         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
2629         RESOLVSORT preprocessor conditionals.
2630         * resolv/nss_dns/dns-host.c: Likewise.
2631         * resolv/res_init.c: Likewise.
2633 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2635         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
2636         is never defined.
2638 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2640         * inet/inet_lnaof.c: Remove SCSS keyword.
2641         * inet/inet_mkadr.c: Likewise.
2642         * inet/inet_net.c: Likewise.
2643         * inet/inet_netof.c: Likewise.
2644         * inet/rcmd.c: Likewise.
2645         * inet/rexec.c: Likewise.
2646         * inet/ruserpass.c: Likewise.
2648 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2650         * resolv/inet_addr.c: Remove _LIBC conditionals.
2651         * resolv/res_data.c: Likewise.
2652         * resolv/res_init.c: Likewise.
2653         * resolv/res_mkquery.c: Likewise.
2654         * resolv/res_libc.c: Update comment.
2655         * resolv/README: Update.
2657 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2659         * resolv/gethnamaddr.c: Remove SCSS keyword.
2660         * resolv/herror.c: Likewise.
2661         * resolv/inet_addr.c: Likewise.
2662         * resolv/inet_net_ntop.c: Likewise.
2663         * resolv/inet_net_pton.c: Likewise.
2664         * resolv/inet_neta.c: Likewise.
2665         * resolv/inet_ntop.c: Likewise.
2666         * resolv/inet_pton.c: Likewise.
2667         * resolv/ns_date.c: Remove RCS keyword.
2668         * resolv/ns_name.c: Likewise.
2669         * resolv/ns_netint.c: Likewise.
2670         * resolv/ns_parse.c: Likewise.
2671         * resolv/ns_print.c: Likewise.
2672         * resolv/ns_samedomain.c: Likewise.
2673         * resolv/ns_ttl.c: Likewise.
2674         * resolv/nsap_addr.c: Likewise.
2675         * resolv/res_comp.c: Remove SCSS and RCS keyword.
2676         * resolv/res_data.c: Remove RCS keyword.
2677         * resolv/res_debug.c: Remove SCSS and RCS keyword.
2678         * resolv/res_init.c: Likewise.
2679         * resolv/res_mkquery.c: Likewise.
2680         * resolv/res_query.c: Likewise.
2681         * resolv/res_send.c: Likewise.
2683 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2685         * conform/data/stdio.h-data (fdopen): Expect also for
2686         [XPG3 || XPG4].
2688         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
2689         (fseeko): Likewise.
2690         (ftello): Likewise.
2691         (ftrylockfile): Likewise.
2692         (funlockfile): Likewise.
2693         (getc_unlocked): Likewise.
2694         (getchar_unlocked): Likewise.
2695         (putc_unlocked): Likewise.
2696         (putchar_unlocked): Likewise.
2698 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2700         [BZ #19868]
2701         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
2702         DNS packet syntax checks (which were not needed before).  Skip
2703         over non-PTR records.
2705 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2707         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
2708         definition.  Include <stddef.h> instead.
2710 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2712         [BZ #19831]
2713         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
2714         function.
2715         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
2716         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
2718 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2720         [BZ #19862]
2721         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
2722         (getanswer_r): Do not call syslog.
2723         (gaih_getanswer_slice): Likewise.
2724         * resolv/gethnamaddr.c (AskedForGot): Remove.
2725         (getanswer): Do not call syslog.
2726         (gethostbyaddr): Likewise.
2728 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2730         * conform/data/signal.h-data (union sigval): Expect also if
2731         [XOPEN2K].
2732         (struct sigevent): Likewise.
2733         (SIGEV_NONE): Likewise.
2734         (SIGEV_SIGNAL): Likewise.
2735         (SIGEV_THREAD): Likewise.
2736         (SIGRTMIN): Likewise.
2737         (SIGRTMAX): Likewise.
2738         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
2739         variable.
2740         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2742 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2744         [BZ #19830]
2745         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
2746         (gaih_getanswer_slice): Likewise.
2747         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
2748         Also check for availability of RR metadata.
2750 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2752         [BZ #19825]
2753         * resolv/res_send.c (send_vc): Remove early *resplen2
2754         initialization.  Set *resplen2 on socket error.  Call
2755         close_and_return_error for other errors.
2757 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2759         * sysdeps/unix/sysv/linux/netiucv/iucv.h
2760         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
2761         (SCM_IUCV_TRGCLS): New define.
2763 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2765         [BZ #20005]
2766         * libio/fmemopen.c (fmemopen_write): Update internal position after
2767         write.
2768         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
2769         * stdio-common/tst-fmemopen4.c: New file..
2771 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
2773         [BZ #19996]
2774         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
2775         not [__USE_XOPEN2K].
2776         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
2777         variable.
2779         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
2780         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
2781         variable.
2783         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
2784         [__USE_XOPEN2K8].
2785         [__USE_LARGEFILE64] (off64_t): Likewise.
2786         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
2787         variable.
2789 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
2791         [BZ #19989]
2792         * libio/stdio.h (cuserid): Do not declare if
2793         [__USE_XOPEN2K && !__USE_GNU].
2794         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
2795         variable.
2797 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2799         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2800         (sysdep_routines): Add P8 and PPC64 strcspn targets.
2801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2802         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2803         ifunc'ed strcspn.
2804         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2805         [EALIGN]: Removed.
2806         [END]: Likewise
2807         [STRSPN]: Define instead of the above to control symbol name.
2808         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
2809         New file.
2810         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
2811         Likewise.
2812         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
2813         Likewise.
2814         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
2815         Likewise.
2816         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2817         [INITIAL_MASK]: New macro.
2818         [STRCSPN]: Likewise.
2819         [UPDATE_MASK]: Likewise.
2820         [USE_AS_STRCSPN]: Lisewise.
2822 2016-04-25  Florian Weimer  <fweimer@redhat.com>
2824         [BZ #19931]
2825         * stdio-common/tst-vfprintf-width-prec.c: New file.
2826         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
2827         (tests-special): Add tst-vfprintf-width-prec-mem.out.
2828         (generated): Add mtrace-related files.
2829         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
2830         (tst-%-mem.out): New pattern rule, replaces
2831         tst-printf-bz18872-mem.out.
2832         * stdio-common/vfprintf.c (vfprintf): When handling a precision
2833         specifier, deallocate any previously allocated work buffer.
2835 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
2837         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
2838         Add nop before __startcontext, add explaining comments.
2840 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
2842         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
2843         any more. Notably since IPV6_PKTINFO has been reintroduced with a
2844         completely different API.
2846         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
2847         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
2848         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
2849         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
2850         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
2851         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
2852         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
2853         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
2854         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
2855         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
2857 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
2859         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
2861 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
2863         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
2864         when it is the default of 0.
2866 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2868         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
2869         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2870         (sysdep_routines): Add new strcasestr targets.
2871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2872         (__libc_ifunc_impl_list): Likewise.
2873         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
2874         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
2875         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
2876         * sysdeps/powerpc/powerpc64/power8/Makefile:
2877         New file to add strcasestr-ppc64 to sysdep_routines.
2878         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
2879         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
2881 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
2883         * benchtests/Makefile (wcsmbs-benchset): Include only for
2884         native builds and runs.
2885         (LOCALES): Likewise.
2886         (bench-build): Build timing-type here instead of the bench
2887         target.  Generate locale only for native builds.
2888         * benchtests/README: Add note for cross-building.
2890         * benchtests/Makefile (bench-clean): Clean up extra-objs.
2892         * benchtests/README: Update README to include instructions on
2893         using bench-build.
2895         * Makefile.in (bench-build): New target.
2896         * Rules (PHONY): Add bench-build target.
2897         * benchtests/Makefile (bench): Depend on bench-build.
2898         (bench-build): New target.
2900 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2902         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
2903         profil_reply_port.
2904         (profile_waiter): Do not initialize profil_reply_port.
2905         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
2906         frequency instead of tick length in us.
2908 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
2910         [BZ #18712]
2911         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
2912         (__old_mempcpy_small): Likewise.
2913         (__old_strcpy_small): Likewise.
2914         (__old_stpcpy_small): Likewise.
2915         (__old_strpbrk_c2): Fix compat symbol name.
2916         (__old_strpbrk_c3): Likewise.
2917         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
2918         (__mempcpy_small): Remove.
2919         (__strcpy_small): Remove.
2920         (__stpcpy_small): Remove.
2922 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
2924         [BZ #19400]
2925         * locale/iso-639.def: Add the Talossan/tzl language.
2927 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2929         [BZ #16983]
2930         * locale/programs/ld-address.c (address_finish): Update postal_fmt
2931         comment.  Add "ln" to strchr check on postal_fmt.
2933 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2935         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
2936         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
2937         tel_dom_fmt.
2939 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2941         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2942         (sysdep_routines): Added __strlen_power8.
2943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
2944         __strlen_power8 entry.
2945         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
2946         Implementation for POWER8.
2947         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
2948         for __strlen_power8.
2949         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
2950         Implementation for POWER8.
2952 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
2954         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
2956 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
2958         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
2959         Goldmont and Airmont processors.
2961 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
2963         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
2964         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
2965         (__STRING2_SMALL_GET32): Remove.
2966         (memset): Remove.
2967         (__memset_1): Remove.
2968         (__memset_gc): Remove.
2969         (__mempcpy): Remove.
2970         (mempcpy): Remove.
2971         (__mempcpy_args): Remove.
2972         (strchr): Remove.
2973         (strcpy): Remove.
2974         (strcpy_args): Remove.
2975         (__stpcpy_args): Remove.
2976         (__strcmp_cc): Remove.
2977         (__strcmp_gc): Remove.
2978         (strstr): Remove.
2980 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
2982         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
2983         * nis/nis_call.c (nis_server_cache_add): Likewise.
2985 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2987         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
2989 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2991         * malloc/arena.c (__malloc_fork_lock_parent)
2992         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
2993         internal_function attribute.
2995 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
2997         * stdio-common/printf_fp.c (__printf_fp_l):
2998         Rename ___printf_fp_l to __printf_fp_l and
2999         remove strong alias. Use libc_hidden_def instead
3000         of ldbl_hidden_def macro.
3002 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3004         Remove malloc hooks from fork handler.  They are no longer needed
3005         because malloc runs right before fork, and no malloc calls from
3006         other fork handlers are not possible anymore.
3007         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
3008         declarations.
3009         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
3010         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
3011         (atfork_recursive_cntr): Remove.
3012         (__malloc_fork_lock_parent): Do not override malloc hooks and
3013         thread_arena.
3014         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
3015         thread_arena.
3016         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
3017         thread_arena instead of save_arena.
3019 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3021         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
3022         (thread_atfork, thread_atfork_static): Remove.
3023         * sysdeps/mach/hurd/malloc-machine.h:
3024         (thread_atfork, thread_atfork_static): Remove.
3026 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3028         [BZ #19431]
3029         Run the malloc fork handler as late as possible to avoid deadlocks.
3030         * malloc/malloc-internal.h: New file.
3031         * malloc/malloc.c: Include it.
3032         * malloc/arena.c (ATFORK_MEM): Remove.
3033         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
3034         Update comment.
3035         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
3036         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
3037         Remove outdated comment.
3038         (ptmalloc_init): Do not call thread_atfork.  Remove
3039         thread_atfork_static.
3040         * malloc/tst-malloc-fork-deadlock.c: New file.
3041         * Makefile (tests): Add tst-malloc-fork-deadlock.
3042         (tst-malloc-fork-deadlock): Link against libpthread.
3043         * manual/memory.texi (Aligned Memory Blocks): Update safety
3044         annotation comments.
3045         * sysdeps/nptl/fork.c (__libc_fork): Call
3046         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3047         __malloc_fork_unlock_child.
3048         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3050 2016-04-14  Florian Weimer  <fweimer@redhat.com>
3052         [BZ #19613]
3053         Remove union wait.
3054         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
3055         (w_stopsig, w_stopval): Remove.
3056         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
3057         stat_loc argument.
3058         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
3059         (__WAIT_STATUS_DEFN): Remove.
3060         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3061         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
3062         (wait, wait3, wait4): Use int * for the stat_loc argument.
3063         * posix/wait.c (__wait): Likewise.
3064         * posix/wait3.c (__wait3): Likewise.
3065         * posix/wait4.c (__wait4): Likewise.
3066         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
3067         (__WAIT_STATUS_DEFN): Remove.
3068         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3069         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
3070         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
3071         argument.
3072         * sysdeps/posix/wait.c (__libc_wait): Likewise.
3073         * sysdeps/posix/wait3.c (__wait3): Likewise.
3074         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
3075         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3076         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
3077         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
3078         stat_loc argument.
3079         * manual/process.texi (BSD Wait Functions): Remove union wait.
3081 2016-04-13  Andreas Schwab  <schwab@suse.de>
3083         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
3084         (test-extras): Add tst-tlsalign-vars.
3085         * math/Makefile: Wrap long lines.
3086         (libm-vec-test-wrappers): Define.
3087         (test-extras): Add $(libm-vec-test-wrappers).
3088         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
3089         * nss/Makefile (extra-test-objs): Add nss_test1.os.
3090         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
3091         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
3092         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
3093         (extra-test-objs): Add corresponding objects.
3095 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
3097         [BZ #19928]
3098         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
3099         New.
3100         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
3101         times of shared cache size.
3102         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
3103         (VMOVNT): New.
3104         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
3105         (VMOVNT): Likewise.
3106         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3107         (VMOVNT): Likewise.
3108         (VMOVU): Changed to movups for smaller code sizes.
3109         (VMOVA): Changed to movaps for smaller code sizes.
3110         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
3111         comments.
3112         (PREFETCH): New.
3113         (PREFETCH_SIZE): Likewise.
3114         (PREFETCHED_LOAD_SIZE): Likewise.
3115         (PREFETCH_ONE_SET): Likewise.
3116         Rewrite to use forward and backward loops, which move 4 vector
3117         registers at a time, to support overlapping addresses and use
3118         non temporal store if size is above the threshold and there is
3119         no overlap between destination and source.
3121 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
3123         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
3124         Include dl-vdso.
3125         * sysdeps/unix/sysv/linux/mips/Versions: Add
3126         __vdso_clock_gettime.
3127         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
3128         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
3129         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
3130         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
3131         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
3132         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
3133         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3134         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3135         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3137 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3139         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
3140         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3141         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3142         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3143         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3144         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3147         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
3148         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
3149         syscalls generation.
3150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3151         [__NR_pwrite64] (__NR_write): Remove define.
3152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3153         [__NR_pwrite64] (__NR_write): Remove define.
3154         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
3155         Remove define.
3156         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
3157         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
3158         Remove define.
3159         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
3160         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
3161         Linux implementation as base.
3162         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3164         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
3165         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3166         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3167         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
3169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3170         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
3171         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
3172         syscall generation.
3173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3174         [__NR_pread64] (__NR_pread): Remove define.
3175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3176         [__NR_pread64] (__NR_pread): Likewise.
3177         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
3178         define.
3179         (__libc_pread): Use SYSCALL_LL macro on offset argument.
3180         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
3181         Remove define.
3182         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
3183         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
3184         Linux implementation as base.
3185         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3186         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3187         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3189         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
3190         definition.
3191         (__ALIGNMENT_COUNT): Likewise.
3192         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
3193         (__ALIGNMENT_COUNT): Likewise.
3194         (SYSCALL_LL): New define.
3195         (SYSCALL_LL64): Likewise.
3196         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
3197         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
3198         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
3199         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
3201         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3202         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
3203         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3204         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3205         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3206         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3208 2016-04-11  Florian Weimer  <fweimer@redhat.com>
3210         [BZ #19865]
3211         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
3212         original buffer before retry.
3214 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3216         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
3217         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
3218         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
3219         GLRO(dl_auxv) list.
3220         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
3221         including <ldsodefs.h>.
3222         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
3224 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
3226         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
3227         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
3228         $(CPPFLAGS).
3230 2016-04-09  Khem Raj  <raj.khem@gmail.com>
3232         [BZ #17950]
3233         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
3234         Add -mfpmath=387.
3236 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
3238         * sysdeps/i386/configure.ac: Change == to = when calling test.
3239         * sysdeps/x86_64/configure.ac: Likewise.
3240         * sysdeps/i386/configure: Regenerated.
3241         * sysdeps/x86_64/configure: Likewise.
3243 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
3245         [BZ #16137]
3246         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
3247         * benchtests/bench-strcoll.c (input_files): Likewise.
3248         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3249         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
3250         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
3252 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
3254         [BZ #19929]
3255         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
3256         [__USE_XOPEN2K8 && !__USE_GNU].
3257         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
3258         variable.
3260         [BZ #19925]
3261         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
3262         define if [!__USE_MISC && __USE_XOPEN2K].
3263         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
3264         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
3265         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
3266         Likewise.
3267         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
3268         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
3269         variable.
3270         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3272 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3274         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3275         (sysdep_routines): Add new strspn targets.
3276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3277         (__libc_ifunc_impl_list): Add strspn.
3278         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3279         New file.
3280         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
3281         Likewise.
3282         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
3283         Likewise.
3284         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3285         Likewise.
3287 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3289         * misc/hsearch_r.c: Include <limits.h>.
3291 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3293         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
3295 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3297         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3298         (MEMCPY_SYMBOL): New.
3299         (MEMPCPY_SYMBOL): Likewise.
3300         (MEMMOVE_CHK_SYMBOL): Likewise.
3301         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
3302         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
3303         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
3304         Provide alias for memcpy in libc.a and ld.so.
3306 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3308         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3309         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
3310         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
3311         Disabled fro now.
3312         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
3313         symbols.  Properly check USE_MULTIARCH on __memset symbols.
3315 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3317         * benchtests/Makefile (string-benchset): Add memcpy-large,
3318         memmove-large and memset-large.
3319         * benchtests/bench-memcpy-large.c: New file.
3320         * benchtests/bench-memmove-large.c: Likewise.
3321         * benchtests/bench-memmove-large.c: Likewise.
3322         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
3324 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3326         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
3327         32-bit displacement to avoid long nop between instructions.
3329 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3331         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
3332         a comment on VMOVU and VMOVA.
3334 2016-04-04  Florian Weimer  <fweimer@redhat.com>
3336         [BZ #19633]
3337         Use specified locale for number formatting in strfmon_l.
3338         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
3339         (__nl_lookup_word): New inline functions.
3340         * include/printf.h (__print_fp_l): Declare.
3341         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
3342         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
3343         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
3344         (___printf_fp): New function.
3345         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
3346         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
3347         * stdlib/tst-strfmon_l.c (do_test): New test.
3348         * stdlib/Makefile (tests): Add kt.
3349         (LOCALES): Build additional locales.
3350         (tst-strfmon_l.out): Require locales.
3352 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3354         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
3355         if not in libc.
3356         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3357         Likewise.
3358         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
3359         Likewise.
3360         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3361         Likewise.
3363 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3365         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3366         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
3367         with unaligned_erms.
3368         (__memmove_erms): Skip if source == destination.
3369         (__memmove_unaligned_erms): Don't check source == destination
3370         first.
3372 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3374         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
3375         bit_arch_Fast_Copy_Backward for Intel Core proessors.
3377 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3379         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
3380         * string/strspn.c (strspn): Likewise.
3382 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3384         * benchtests/bench-memset.c (do_test): Support 64-byte
3385         alignment.
3386         (test_main): Test 64-byte alignment.
3388 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3390         * benchtests/bench-memmove.c (test_main): Test 64-byte
3391         alignment.
3393 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3395         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
3397 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3399         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
3400         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
3401         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
3403         * string/strpbrk.c (strpbrk): Rewrite function.
3404         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
3405         (__strpbrk_c2): Likewise.
3406         (__strpbrk_c3): Likewise.
3407         * string/string-inlines.c
3408         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
3409         Likewise.
3410         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
3411         Likewise.
3413         * string/strspn.c (strcspn): Rewrite function.
3414         * string/bits/string2.h (strspn): Use __builtin_strcspn.
3415         (__strspn_c1): Remove inline function.
3416         (__strspn_c2): Likewise.
3417         (__strspn_c3): Likewise.
3418         * string/string-inlines.c
3419         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
3420         compatibility symbol.
3421         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
3422         Likewise.
3423         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
3424         Likewise.
3425         * string/string-inlines.c: Include generic version.
3427 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
3428             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3430         * string/Version (libc): Add GLIBC_2.24.
3431         * string/strcspn.c (strcspn): Rewrite function.
3432         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
3433         (__strcspn_c1): Remove inline function.
3434         (__strcspn_c2): Likewise.
3435         (__strcspn_c3): Likewise.
3436         * string/string-inline.c
3437         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
3438         compatibility symbol.
3439         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
3440         Likewise.
3441         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
3442         Likewise.
3443         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
3445 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3447         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
3448         Use ahi instead of aghi to adjust stack pointer.
3450 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3452         [BZ #19853]
3453         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
3454         TEST to take significant digits as second parameter.
3455         [TEST]: Redefine in terms of TEST_N taking 30
3456         significant digits.
3457         (do_test): Add test case to demonstrate precision
3458         failure in the ldbl-128ibm printf.
3459         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
3460         (__mpn_extract_long_double): Carry 7 extra intermediate
3461         bits of precision to aide computing difference when
3462         signs differ.
3464 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3466         [BZ #19881]
3467         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3468         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
3469         memset-avx512-unaligned-erms.
3470         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3471         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
3472         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
3473         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
3474         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
3475         __memset_sse2_unaligned_erms, __memset_erms,
3476         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
3477         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3478         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
3479         file.
3480         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3481         Likewise.
3482         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
3483         Likewise.
3484         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
3485         Likewise.
3487 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3489         [BZ #19776]
3490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3491         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
3492         memmove-avx512-unaligned-erms.
3493         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3494         (__libc_ifunc_impl_list): Test
3495         __memmove_chk_avx512_unaligned_2,
3496         __memmove_chk_avx512_unaligned_erms,
3497         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
3498         __memmove_chk_sse2_unaligned_2,
3499         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
3500         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
3501         __memmove_avx512_unaligned_erms, __memmove_erms,
3502         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
3503         __memcpy_chk_avx512_unaligned_2,
3504         __memcpy_chk_avx512_unaligned_erms,
3505         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
3506         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
3507         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
3508         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
3509         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
3510         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
3511         __mempcpy_chk_avx512_unaligned_erms,
3512         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
3513         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
3514         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
3515         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
3516         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
3517         __mempcpy_erms.
3518         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
3519         file.
3520         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3521         Likwise.
3522         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3523         Likwise.
3524         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3525         Likwise.
3527 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3529         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
3530         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
3531         (La_s390_64_regs): Likewise.
3532         (La_s390_32_retval): Append vector register lrv_v24.
3533         (La_s390_64_retval): Likeweise.
3534         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
3535         Handle extended structs La_s390_32_regs and La_s390_32_retval.
3536         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
3537         Handle extended structs La_s390_64_regs and La_s390_64_retval.
3539 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3541         [BZ #19916]
3542         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
3543         to create a non-vector/vector version for _dl_runtime_resolve and
3544         _dl_runtime_profile. Move implementation to ...
3545         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
3546         (_dl_runtime_resolve) Save and restore fpr/vrs.
3547         (_dl_runtime_profile) Save and restore vrs and fix some issues
3548         if _dl_call_pltexit is called.
3549         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
3550         Choose the correct resolver function if running on a machine with vx.
3551         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
3552         to create a non-vector/vector version for _dl_runtime_resolve and
3553         _dl_runtime_profile. Move implementation to ...
3554         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
3555         (_dl_runtime_resolve) Save and restore fpr/vrs.
3556         (_dl_runtime_profile) Save and restore vrs and fix some issues
3557         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
3558         Choose the correct resolver function if running on a machine with vx.
3560 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3562         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
3564 2016-03-31  Florian Weimer  <fweimer@redhat.com>
3566         [BZ #19509]
3567         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
3568         skip_map != NULL.
3569         * elf/tst-dlsym-error.c: New file.
3570         * elf/Makefile (tests): Add tst-dlsym-error.
3571         (tst-dlsym-error): Link against libdl.
3573 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
3575         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3576         (__ASSUME_FUTIMESAT): Remove macro.
3577         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
3579 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3581         [BZ #19879]
3582         CVE-2016-3075
3583         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
3584         copy name.
3586 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3588         [BZ #19837]
3589         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
3590         error if parse_line fails.
3592 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3594         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
3595         (index_cpu_ERMS): Likewise.
3596         (reg_ERMS): Likewise.
3598 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
3600         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
3601         PER_LINUX_FDPIC): Add.
3603 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3605         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3606         memcpy-avx512-no-vzeroupper.
3607         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
3608         to ...
3609         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
3610         (MEMCPY): Don't define.
3611         (MEMCPY_CHK): Likewise.
3612         (MEMPCPY): Likewise.
3613         (MEMPCPY_CHK): Likewise.
3614         (MEMPCPY_CHK): Renamed to ...
3615         (__mempcpy_chk_avx512_no_vzeroupper): This.
3616         (MEMPCPY_CHK): Renamed to ...
3617         (__mempcpy_chk_avx512_no_vzeroupper): This.
3618         (MEMCPY_CHK): Renamed to ...
3619         (__memmove_chk_avx512_no_vzeroupper): This.
3620         (MEMCPY): Renamed to ...
3621         (__memmove_avx512_no_vzeroupper): This.
3622         (__memcpy_avx512_no_vzeroupper): New alias.
3623         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
3625 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3627         [BZ #18858]
3628         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3629         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
3630         and mempcpy-avx512-no-vzeroupper.
3631         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
3632         New.
3633         (MEMPCPY): Likewise.
3634         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
3635         (MEMPCPY_CHK): New.
3636         (MEMPCPY): Likewise.
3637         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
3638         (MEMPCPY): Likewise.
3639         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
3640         (MEMPCPY): Likewise.
3641         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
3642         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
3643         Likewise.
3644         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
3645         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
3647 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3648              Amit Pawar  <Amit.Pawar@amd.com>
3650         [BZ #19583]
3651         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3652         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
3653         processors.  Set Fast_Copy_Backward for AMD Excavator
3654         processors.
3655         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
3656         New.
3657         (index_arch_Fast_Unaligned_Copy): Likewise.
3658         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
3659         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
3661 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3663         [BZ #19791]
3664         * resolv/res_send.c (close_and_return_error): New function.
3665         (send_dg): Initialize *resplen2 after reopen failure.  Call
3666         close_and_return_error for error returns.  On error paths without
3667         __res_iclose, initialze *resplen2 explicitly.  Update comment for
3668         successful return.
3670 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3672         [BZ# 19860]
3673         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
3674         zero if the compiler does not provide the AVX512F bit.
3676 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
3678         [BZ #19848]
3679         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
3680         from 8 to 4.
3681         (__ieee754_powl): Compare integer exponent against 4 not 8.
3682         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
3683         from 8 to 4.
3684         (__ieee754_powl): Compare integer exponent against 4 not 8.
3685         * math/auto-libm-test-in: Add more tests of pow.
3686         * math/auto-libm-test-out: Regenerated.
3687         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
3688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3690 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3692         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
3693         Make code unconditional.
3694         [!__NR_utimensat]: Remove conditional code.
3695         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
3696         Make code unconditional.
3697         [!__NR_utimensat]: Remove conditional code.
3698         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
3699         Make code unconditional.
3700         [!__NR_utimensat]: Remove conditional code.
3702 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3704         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
3705         Make code unconditional.
3707 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
3709         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
3710         call-clobbered %eax on retry path.
3711         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3713 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3715         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
3716         Don't set %rcx twice before "rep movsb".
3718 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3720         [BZ #19583]
3721         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
3722         inline.  Check family before setting family, model and
3723         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
3724         bits here.
3725         (init_cpu_features): Replace HAS_CPU_FEATURE and
3726         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
3727         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
3728         for Intel processors with usable AVX2.  Call get_common_indeces
3729         for other processors with family == NULL.
3730         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
3731         (CPU_FEATURES_ARCH_P): Likewise.
3732         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
3733         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
3735 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3737         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
3738         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
3739         $(shared-thread-library) instead of hardcoding the path to libpthread.
3741 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
3743         * sysdeps/unix/sysv/linux/kernel-features.h
3744         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
3745         * sysdeps/unix/sysv/linux/getdents.c
3746         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
3747         [!have_no_getdents64_defined]: Likewise.
3748         (__GETDENTS): Remove __have_no_getdents64 conditional.
3750 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
3752         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
3753         Remove macro.
3754         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
3755         <kernel-features.h>.
3756         (signalfd) [__NR_signalfd4]: Make code unconditional.
3757         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
3759 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3761         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
3762         style.
3764 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3766         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
3767         (__pthread_enable_asynccancel): Use JUMPTARGET to call
3768         __pthread_unwind.
3769         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3770         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
3771         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3772         (__condvar_cleanup1): Likewise.
3774 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
3776         [BZ #19822]
3777         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
3778         move it to the final $@ location.
3780 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3782         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
3783         access where posix_spawn success and pid argument is null.
3784         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
3785         success case.
3787 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
3789         * sysdeps/mach/hurd/i386/c++-types.data: New file.
3791         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
3793         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
3794         and __fcntl.
3795         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
3796         __fcntl only.
3797         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
3798         adding attribute_hidden to __open and __fcntl.
3800         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
3801         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
3802         depend on libc-modules.h,
3803         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
3805 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
3807         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
3808         Remove macro.
3809         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
3810         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
3811         entry.
3813         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
3814         Remove macro.
3815         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
3816         include <kernel-features.h>.
3817         [!__ASSUME_FALLOCATE]: Remove conditional code.
3818         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
3820 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3822         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
3823         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
3824         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
3825         (_ZGVdN4v_cos_avx2): Likewise.
3826         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
3827         (_ZGVdN4v_cos): Likewise.
3828         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
3829         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
3830         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
3831         (_ZGVdN4v_exp_avx2): Likewise.
3832         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
3833         (_ZGVdN4v_exp): Likewise.
3834         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
3835         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
3836         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
3837         (_ZGVdN4v_log_avx2): Likewise.
3838         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
3839         (_ZGVdN4v_log): Likewise.
3840         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
3841         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
3842         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
3843         (_ZGVdN4vv_pow_avx2): Likewise.
3844         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
3845         (_ZGVdN4vv_pow): Likewise.
3846         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
3847         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
3848         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
3849         (_ZGVdN4v_sin_avx2): Likewise.
3850         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
3851         (_ZGVdN4v_sin): Likewise.
3852         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
3853         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
3854         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
3855         (_ZGVdN4vvv_sincos_avx2): Likewise.
3856         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
3857         (_ZGVdN4vvv_sincos): Likewise.
3858         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
3859         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
3860         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
3861         (_ZGVbN4v_cosf_sse4): Likewise.
3862         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
3863         (_ZGVdN8v_cosf_avx2): Likewise.
3864         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
3865         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
3866         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
3867         (_ZGVbN4v_expf_sse4): Likewise.
3868         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
3869         (_ZGVdN8v_expf_avx2): Likewise.
3870         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
3871         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
3872         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
3873         (_ZGVbN4v_logf_sse4): Likewise.
3874         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
3875         (_ZGVdN8v_logf_avx2): Likewise.
3876         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
3877         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
3878         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
3879         (_ZGVbN4vv_powf_sse4): Likewise.
3880         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
3881         (_ZGVdN8vv_powf_avx2): Likewise.
3882         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3883         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
3884         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3885         (_ZGVbN4vvv_sincosf_sse4): Likewise.
3886         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3887         (_ZGVdN8vvv_sincosf_avx2): Likewise.
3888         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
3889         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
3890         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
3891         (_ZGVbN4v_sinf_sse4): Likewise.
3892         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
3893         (_ZGVdN8v_sinf_avx2): Likewise.
3894         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3895         Use JUMPTARGET to call callee.
3896         (WRAPPER_IMPL_SSE2_ff): Likewise.
3897         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3898         (WRAPPER_IMPL_AVX): Likewise.
3899         (WRAPPER_IMPL_AVX_ff): Likewise.
3900         (WRAPPER_IMPL_AVX_fFF): Likewise.
3901         (WRAPPER_IMPL_AVX512): Likewise.
3902         (WRAPPER_IMPL_AVX512_ff): Likewise.
3903         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3904         Likewise.
3905         (WRAPPER_IMPL_SSE2_ff): Likewise.
3906         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3907         (WRAPPER_IMPL_AVX): Likewise.
3908         (WRAPPER_IMPL_AVX_ff): Likewise.
3909         (WRAPPER_IMPL_AVX_fFF): Likewise.
3910         (WRAPPER_IMPL_AVX512): Likewise.
3911         (WRAPPER_IMPL_AVX512_ff): Likewise.
3912         (WRAPPER_IMPL_AVX512_fFF): Likewise.
3914 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3916         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
3917         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
3918         qualifier.
3919         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
3920         internal_function qualifiers.
3922 2016-03-15  Carlos O'Donell <carlos@redhat.com>
3924         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
3925         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
3926         * math/atest-exp.c (exp_mpn): Mark chk unused.
3927         * math/atest-exp2.c (exp_mpn): Likwise.
3928         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
3929         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
3931 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
3933         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
3934         Remove macro.
3935         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
3936         <kernel-features.h>.
3937         [__NR_ppoll]: Make code unconditional.
3938         [!__ASSUME_PPOLL]: Remove conditional code.
3940         * sysdeps/unix/sysv/linux/kernel-features.h
3941         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
3942         (__ASSUME_ACCEPT4): Likewise.
3943         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3944         Define.
3945         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
3946         Likewise.
3947         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3948         Likewise.
3949         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
3950         Likewise.
3951         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
3952         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
3953         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3954         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3955         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3956         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3957         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3958         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3959         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3960         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3961         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3962         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3963         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3964         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3965         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3966         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3967         Likewise.
3968         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3969         Likewise.
3970         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3971         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3972         0x040300].
3973         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3974         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3975         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3976         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3977         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3978         0x030300].
3979         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
3980         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3981         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3982         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3983         0x040300].
3984         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3985         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3986         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3987         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3988         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3989         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3990         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3991         0x030300].
3992         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3993         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3994         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3995         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3996         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3997         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3998         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3999         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4000         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4001         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4002         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4003         0x040300].
4004         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4005         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4006         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4007         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4008         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4009         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4010         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4011         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4012         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4013         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4014         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4015         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4016         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4017         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4018         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4019         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4020         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4021         Likewise.
4022         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4023         Likewise.
4025 2016-03-15  Andreas Schwab  <schwab@suse.de>
4027         [BZ #19257]
4028         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
4029         statp->_u._ext.nscount as loop count.
4031 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4033         * math/test-signgam-finite-c99.c: Also #undef
4034         __LIBC_INTERNAL_MATH_INLINES.
4035         * math/test-signgam-main.c: Likewise.
4037 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
4039         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
4040         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
4041         (MADV_FREE): Likewise.
4042         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
4043         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
4044         EPOLLEXCLUSIVE.
4046 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
4048         * timezone/README: Remove mention of checktab.awk. Mention wiki
4049         SharedSourceFiles.
4051 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
4053         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
4054         WUNTRACED.
4056 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4058         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
4059         order to match the type of p when calling atomic_exchange_acq().
4061 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4063         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
4064         cfi_offset calls.
4065         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4066         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
4067         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
4068         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
4069         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
4071 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
4073         * timezone/checktab.awk: Removed.
4075 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
4077         * manual/math.texi (Errors in Math Functions): Document relaxed
4078         accuracy goals for IBM long double.
4079         * math/libm-test.inc (test_exceptions): Always allow spurious
4080         "underflow" and "inexact" exceptions for IBM long double.
4082 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
4084         [BZ #19762]
4085         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4086         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
4087         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4088         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
4089         (bit_arch_*): This for feature array.
4090         (bit_*): Renamed to ...
4091         (bit_cpu_*): This for cpu array.
4092         (index_*): Renamed to ...
4093         (index_arch_*): This for feature array.
4094         (index_*): Renamed to ...
4095         (index_cpu_*): This for cpu array.
4096         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
4097         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
4098         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
4099         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
4100         bit_##name with index_cpu_##name and bit_cpu_##name.
4101         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
4102         bit_##name with index_arch_##name and bit_arch_##name.
4104 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
4106         [BZ #19792]
4107         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4108         Terminate FDE before return label.
4110 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
4112         [BZ #19790]
4113         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
4114         (rintl): Define as macro.
4115         [USE_AS_NEARBYINTL] (__rintl): Likewise.
4116         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
4117         of fesetround.  Ensure results are evaluated before end of scope.
4118         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
4119         USE_AS_NEARBYINTL and include s_rintl.c.
4120         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
4121         Disable exception traps in new environment.
4122         (libc_feholdsetround_ppc_ctx): Likewise.
4124 2016-03-08  Roland McGrath  <roland@hack.frob.com>
4126         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
4127         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
4128         (tst_audit10_aux) [__AVX512F__]: ... here.
4130 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
4132         * include/sys/auxv.h: New file.
4134 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4136         [BZ #19759]
4137         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
4139 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4141         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
4142         operand modifier.
4143         (feclearexcept): Likewise.
4145 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4147         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
4148         to reflect the entire 32-bit HWCAP.
4149         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
4150         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
4152 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
4154         [BZ #19783]
4155         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
4156         $(test-via-rtld-prefix).
4157         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
4159 2016-03-08  Florian Weimer  <fweimer@redhat.com>
4161         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
4162         union wait.  Report any non-zero exit status as error.
4164 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4166         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
4167         configured with --enable-hardcoded-path-in-tests.
4169 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
4171         [BZ #19677]
4172         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4173         (__ieee754_remainderl): Put zero low parts in canonical form.
4174         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
4175         file.  Based on
4176         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
4177         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
4178         with wrapper round test-fmodrem-ldbl-128ibm.c.
4179         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
4180         file.
4181         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
4182         Likewise.
4183         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4184         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
4186 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4188         [BZ #19610]
4189         * elf/ldconfig.c (opt_link): Update comment.
4190         (options): Update help string for option -X.
4191         (search_dir): Unlink stale symbolic link only if updating symbolic
4192         links.
4193         * elf/tst-ldconfig-X.sh: New file.
4194         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
4195         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
4197 2016-03-07  Andreas Schwab  <schwab@suse.de>
4199         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
4200         needed arguments.
4202 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
4204         [BZ #15333]
4205         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
4206         to lstat64.
4208 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4210         * libio/filedoalloc.c (isatty): Remove.
4211         (local_isatty): Add comment.  Call __isatty directly.
4212         (_IO_file_doallocate): Update comment.  Assume _LIBC.
4213         * libio/wfiledoalloc.c (isatty): Remove.
4214         (_IO_wfile_doallocate): Update comment.
4216 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4218         [BZ #19269]
4219         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
4220         tst-audit4-aux.o.
4221         (tst-audit10): Depend on tst-audit10-aux.o.
4222         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
4223         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
4224         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
4225         instead of inline AVX code.
4226         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
4227         instead of inline AVX512 code.
4228         * sysdeps/x86_64/tst-audit4-aux.c: New file
4229         * sysdeps/x86_64/tst-audit10-aux.c: New file
4231         [BZ #19648]
4232         * test-skeleton.c (main): Do not set RLIMIT_DATA.
4234 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4236         [BZ #14750]
4237         [BZ #10354]
4238         [BZ #18433]
4239         * include/sched.h (__clone): Add hidden prototype.
4240         (__clone2): Likewise.
4241         * include/unistd.h (__dup): Likewise.
4242         * posix/Makefile (tests): Add tst-spawn2.
4243         * posix/tst-spawn2.c: New file.
4244         * sysdeps/posix/dup.c (__dup): Add hidden definition.
4245         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
4246         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4247         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4248         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4249         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4250         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
4251         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4252         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
4253         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4254         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4256         Likewise.
4257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4258         Likewise.
4259         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4260         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4261         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4262         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4263         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4264         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4265         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4266         * sysdeps/unix/sysv/linux/nptl-signals.h
4267         (____nptl_is_internal_signal): New function.
4268         * sysdeps/unix/sysv/linux/spawni.c: New file.
4270         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
4271         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
4272         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
4273         * posix/tst-execvp2.c (do_test): Likewise.
4274         * posix/tst-execvp3.c (do_test): Likewise.
4275         * posix/tst-execvp4.c (do_test): Likewise.
4276         * posix/tst-execvpe1.c: New file.
4277         * posix/tst-execvpe2.c: Likewise.
4278         * posix/tst-execvpe3.c: Likewise.
4279         * posix/tst-execvpe4.c: Likewise.
4280         * posix/tst-execvpe5.c: Likewise.
4281         * posix/tst-execvpe6.c: Likewise.
4283         [BZ #19534]
4284         * posix/execl.c (execl): Remove dynamic memory allocation.
4285         * posix/execle.c (execle): Likewise.
4286         * posix/execlp.c (execlp): Likewise.
4288 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4290         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
4291         Replace .text with .text.avx512.
4292         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4293         Likewise.
4295 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
4297         * sysdeps/generic/libnsl.abilist: New file.
4298         * sysdeps/generic/libutil.abilist: New file.
4300 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4302         [BZ #19762]
4303         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
4304         HAS_ARCH_FEATURE with Fast_Rep_String.
4305         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
4306         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
4307         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
4308         Likewise.
4309         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
4310         Likewise.
4311         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
4312         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
4313         Likewise.
4314         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
4315         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
4316         Likewise.
4318 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4320         [BZ #19745]
4321         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
4322         with *%rax in call.
4324 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4326         [BZ #19745]
4327         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
4328         with *__libc_start_main@GOTPCREL(%rip) in call.
4330 2016-03-04  Roland McGrath  <roland@hack.frob.com>
4332         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
4333         inside conditional for nonempty $(CXX).
4335         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
4336         nonempty.
4338         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
4339         to test for empty $(CXX) rather than $(CXX) of "no".
4341 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4343         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
4345 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
4346             H.J. Lu  <hongjiu.lu@intel.com>
4348         [BZ #18880]
4349         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
4350         instead of Slow_BSF, and also check for Fast_Copy_Backward to
4351         enable __memcpy_ssse3_back.
4353 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4355         [BZ #19758]
4356         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4357         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
4359 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4361         [BZ #19490]
4362         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
4363         (__fentry__): Likewise.
4365 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4367         * gmon/Makefile (noprof): Add $(sysdep_noprof).
4368         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
4370 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4372         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
4373         __mcount_internal directly.
4374         (C_LABEL(__fentry__)): Likewise.
4375         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
4376         directly.
4378 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4380         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4381         (__start_context): Call __setcontext directly.
4383 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
4385         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4386         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4387         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
4388         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4389         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4390         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4391         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
4392         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4393         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4394         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
4395         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4396         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4397         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4398         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4399         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4400         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4401         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
4402         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4403         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4404         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4405         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
4406         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4407         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4408         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4409         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
4410         Remove conditional code.
4411         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4412         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
4413         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4414         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4415         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
4416         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4417         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4418         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4419         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4420         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4421         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4422         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4424 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
4426         * NEWS (2.23): Fix typo in bug 19048 text.
4428 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
4430         [BZ #14259]
4431         * Makeconfig: Rename msgcatdir to localedir.
4432         Rename inst_msgcatdir to inst_localedir.
4433         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
4434         * config.make.in: Add localedir.
4435         * elf/Makefile ($(objpfx)sotruss): Use localedir.
4436         (ldd-rewrite): Likewise.
4437         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
4438         (install-others): Use inst_localedir.
4439         (CPPFLAGS): Use localedir.
4440         * locale/Makefile (locale-CPPFLAGS): Likewise.
4441         * po/Makefile (mo-installed): Use inst_localedir.
4443         [BZ #19575]
4444         * localedata/charmaps/GB18030: Update comments regarding PAU to
4445         non-PUA mappings.
4447 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
4449         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
4450         test for header.
4451         * sysdeps/unix/sysv/linux/configure: Regenerated.
4452         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
4453         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
4454         Remove conditional code.
4455         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
4457         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4458         Define to 3.2.0.
4459         (arch_minimum_kernel): Likewise.
4460         * sysdeps/unix/sysv/linux/configure: Regenerated.
4461         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4462         Define to 2.6.32.
4463         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4464         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4465         (arch_minimum_kernel): Define to 2.6.32.
4466         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4467         * README: Document Linux 3.2 requirement.
4468         * manual/install.texi (Linux): Document Linux 3.2 headers
4469         requirement.
4470         * INSTALL: Regenerated.
4472 2016-02-24  Andreas Schwab  <schwab@suse.de>
4474         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
4475         if !NO_LONG_DOUBLE.
4477 2016-02-22  Roland McGrath  <roland@hack.frob.com>
4479         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
4480         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
4482 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
4484         [BZ #19512]
4485         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
4487 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4489         * posix/tst-dir.c: Include libc-internal.h.
4491 2016-02-20  Florian Weimer  <fweimer@redhat.com>
4493         [BZ #19056]
4494         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
4495         * manual/filesys.texi (Reading/Closing Directory): Mention
4496         deprecaion.
4497         * posix/tst-dir.c (main): Disable deprecation warning in test.
4499 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
4501         [BZ #19679]
4502         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
4503         Renamed to ...
4504         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
4505         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4506         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
4507         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4508         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4509         * sysdeps/x86_64/dl-trampoline.h
4510         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4511         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4513 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4515         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
4517 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4519         * elf/elf.h (R_386_GOT32X): New.
4520         (R_386_NUM): Update.
4521         (R_X86_64_GOTPCRELX: New.
4522         (R_X86_64_REX_GOTPCRELX): New.
4523         (R_X86_64_NUM): Update.
4525 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
4527         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
4529 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
4531         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
4532         assign attr->stackaddr to it, and adjust it down when
4533         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
4534         [_STACK_GROWS_UP]: Delete assert.
4535         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
4536         Implement stack grows up logic.
4537         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
4538         stack grows up logic.
4540 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4542         * NEWS: Update with 2.24 template.
4544 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4546         [BZ #19678]
4547         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4548         Ensure +0.0 is returned when taking the next value below the least
4549         positive value.
4551 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4553         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
4554         available.  Do not define NO_THREADS.
4555         * malloc/malloc.c: Do not check NO_THREADS.
4556         * malloc/arena.c: Likewise.
4558 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4560         * malloc/malloc.c (__libc_mallinfo): Update comment.
4561         (struct malloc_par): Remove max_total_mem member, it was always 0.
4562         (int_mallinfo): Store 0 into usmblks (no functional change).
4563         * malloc/hooks.c (struct malloc_state): Document that
4564         max_total_mem is always 0.
4565         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
4566         always 0.
4567         * manual/memory.texi (Statistics of Malloc): Likewise.
4569 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4571         * malloc/malloc.c (sysmalloc): Do not update arena_max.
4572         * malloc/arena.c (arena_max): Remove.
4573         (heap_trim, _int_new_arena): Do not update arena_max.
4575 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4577         * resolv/res_init.c (res_ninit): Update comment.
4579 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4581         [BZ #19505]
4582         * posix/spawn_int.h: Add headers and include guard.
4583         (__spawn_valid_fd): New function.
4584         * posix/spawn_faction_addopen.c
4585         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
4586         * posix/spawn_faction_addclose.c
4587         (posix_spawn_file_actions_addclose): Likewise.
4588         * posix/spawn_faction_adddup2.c
4589         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
4590         second file descriptor.
4591         * posix/spawn_valid_fd.c: New file.
4592         * posix/tst-posix_spawn-fd.c: New file.
4593         * posix/Makefile (routines): Add spawn_valid_fd.
4594         (tests): Add tst-posix_spawn-fd.
4596 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4598         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
4599         (do_test): Limit the number of arenas, so that we can use fewer
4600         outer threads.  Limit timeout to 3 seconds, in preparation for a
4601         larger TIMEOUT value.
4603 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4605         [BZ #19674]
4606         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
4607         sign in overflowing and underflowing results when overflow or
4608         underflow is detected early.  Include sign in result before rather
4609         than after scaling.
4611         [BZ #19603]
4612         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4613         (__ieee754_remainderl): Adjust sign of integer version of low part
4614         when taking absolute value of high part.
4615         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4616         * math/libm-test.inc (remainder_test_data): Add another test.
4617         (remquo_test_data): Likewise.
4619 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
4621         [BZ #19602]
4622         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
4623         equal high parts and both low parts zero specially.
4624         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
4625         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4626         Add test-fmodl-ldbl-128ibm.
4628         [BZ #19595]
4629         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
4630         common logic for all cases of shifting subnormal results.  Do not
4631         insert sign bit in shifted mantissa.  Always pass -1023 as biased
4632         exponent to ldbl_insert_mantissa in subnormal case.
4634         [BZ #19594]
4635         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
4636         on high and low parts then adjust result and use
4637         ldbl_canonicalize_int if needed.
4639         [BZ #19593]
4640         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
4641         on high part and __floor or __ceil on low part then use
4642         ldbl_canonicalize_int if needed.
4644         [BZ #19592]
4645         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
4646         high and low parts then use ldbl_canonicalize_int if needed.
4648         [BZ #17899]
4649         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4650         New function.
4651         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
4652         on high and low parts then use ldbl_canonicalize_int if needed.
4654 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4656         * configure: Regenerated.
4658         * po/libc.pot: Regenerated.
4660         * po/be.po: Updated translation.
4661         * po/bg.po: Likewise.
4662         * po/ca.po: Likewise.
4663         * po/cs.po: Likewise.
4664         * po/da.po: Likewise.
4665         * po/el.po: Likewise.
4666         * po/eo.po: Likewise.
4667         * po/es.po: Likewise.
4668         * po/fi.po: Likewise.
4669         * po/fr.po: Likewise.
4670         * po/gl.po: Likewise.
4671         * po/hr.po: Likewise.
4672         * po/hu.po: Likewise.
4673         * po/ia.po: Likewise.
4674         * po/id.po: Likewise.
4675         * po/it.po: Likewise.
4676         * po/ja.po: Likewise.
4677         * po/lt.po: Likewise.
4678         * po/nb.po: Likewise.
4679         * po/nl.po: Likewise.
4680         * po/pt_BR.po: Likewise.
4681         * po/rw.po: Likewise.
4682         * po/sk.po: Likewise.
4683         * po/sl.po: Likewise.
4684         * po/sv.po: Likewise.
4685         * po/tr.po: Likewise.
4686         * po/zh_CN.po: Likewise.
4687         * po/zh_TW.po: Likewise.
4689         * version.h (RELEAES): Set to "development".
4690         (VERSION): Set to 2.23.90.
4692         * version.h (RELEASE): Set to "stable".
4693         (VERSION): Set to 2.23.
4694         * include/feature.h (__GLIBC_MINOR__): Set to 23.
4696         * NEWS: Updated fixed bugs.
4698 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
4699             Wilco Dijkstra  <wdijkstr@arm.com>
4701         [BZ #19462]
4702         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
4703         (_STRING_INLINE_unaligned): This.
4704         * include/string.h: Include <string_private.h>.
4705         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
4706         _STRING_INLINE_unaligned.
4707         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
4708         (_STRING_INLINE_unaligned): New.
4709         * sysdeps/aarch64/string_private.h: New file.
4710         * sysdeps/generic/string_private.h: Likewise.
4711         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
4712         * sysdeps/s390/string_private.h: Likewise.
4713         * sysdeps/x86/string_private.h: Likewise.
4714         * sysdeps/m68k/m680x0/m68020/bits/string.h
4715         (_STRING_ARCH_unaligned): Renamed to ...
4716         (_STRING_INLINE_unaligned): This.
4717         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
4718         to ...
4719         (_STRING_INLINE_unaligned): This.
4720         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
4721         to ...
4722         (_STRING_INLINE_unaligned): This.
4723         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
4724         to ...
4725         (_STRING_INLINE_unaligned): This.
4727 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
4728             H.J. Lu  <hongjiu.lu@intel.com>
4730         [BZ #19590]
4731         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
4732         relocation.
4734 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
4736         [BZ #18665]
4737         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
4738         *herrno_p.
4739         (gaih_getanswer): Document functional behviour. Return tryagain
4740         if any result is tryagain.
4741         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
4742         when freed.
4743         * resolv/res_send.c: Add copyright text.
4744         (__libc_res_nsend): Document that MAXPACKET is expected.
4745         (send_vc): Document. Remove buffer reuse.
4746         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
4747         size of the buffer. Add Dprint for truncated UDP buffer.
4749 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
4751         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
4752         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
4753         * INSTALL: Regenerate.
4755 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
4756             Jonathan Wakely  <jwakely@redhat.com>
4757             Carlos O'Donell  <carlos@redhat.com>
4759         [BZ 19439]
4760         * math/Makefile (tests): Add test-math-isinff.
4761         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
4762         * math/bits/mathcalls.h [__USE_MISC]: Use
4763         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
4764         functions not in C++11 and which don't conflict e.g. isinff,
4765         isinfl etc.
4766         * math/test-math-isinff.cc: New file.
4768 2016-02-12  Florian Weimer  <fweimer@redhat.com>
4770         * misc/bug18240.c (do_test): Set RLIMIT_AS.
4772 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4774         [BZ #19529]
4775         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
4777 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4779         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4781 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
4783         [BZ #19550]
4784         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
4785         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
4786         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
4787         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
4788         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
4789         New syscall entry.
4790         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
4791         New syscall entry.
4792         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
4793         syscall entry.
4795 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
4797         [BZ #18240]
4798         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
4799         unsigned int wraparound.
4801 2016-01-27  Florian Weimer  <fweimer@redhat.com>
4803         [BZ #18240]
4804         * misc/bug18240.c: New test.
4805         * misc/Makefile (tests): Add it.
4807 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
4808             Joseph Myers  <joseph@codesourcery.com>
4810         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
4811         load in branch delay slot when less than a word of input left.
4813 2016-01-27  Andreas Schwab  <schwab@suse.de>
4815         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
4816         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
4817         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
4818         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
4820 2016-01-26  David S. Miller  <davem@davemloft.net>
4822         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
4824 2016-01-25  David S. Miller  <davem@davemloft.net>
4826         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
4827         __sqrtl_finite.
4828         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
4829         instead using versioned_symbol.
4830         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
4831         of entries.
4833         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
4834         __sqrtl_finite to GLIBC_2.23
4836 2016-01-25  Ricchard Henderson  <rth@redhat.com>
4838         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4840 2016-01-25  Andreas Schwab  <schwab@suse.de>
4842         [BZ #17514]
4843         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
4844         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
4845         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
4846         * nptl/tst-mutex-errorcheck.c: New file.
4848 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4850         [BZ #18560]
4851         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
4852         (IPCOP_semop): Likewise.
4853         (IPCOP_semget): Likewise.
4854         (IPCOP_semctl): Likewise.
4855         (IPCOP_msgsnd): Likewise.
4856         (IPCOP_msgrcv): Likewise.
4857         (IPCOP_msgget): Likewise.
4858         (IPCOP_msgctl): Likewise.
4859         (IPCOP_shmat): Likewise.
4860         (IPCOP_shmdt): Likewise.
4861         (IPCOP_shmget): Likewise.
4862         (IPCOP_shmctl): Likewise.
4864 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4866         * string/tst-endian.c: Include <libc-internal.h>.
4867         (do_test): Ignore tautological-compare warnings around
4868         "htobeXX (beXXtoh (i)) != i" and
4869         "htoleXX (leXXtoh (i)) != i" if-statements.
4871 2016-01-24  David S. Miller  <davem@davemloft.net>
4873         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
4874         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
4875         alias.
4876         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
4877         __sqrtl_finite.
4879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4881 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
4883         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
4884         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
4885         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4887 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4889         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
4890         (thread_func): Use new function to simplify barrier check.
4891         (do_test): Use new function to simplify checking barrier exit
4892         code, and actually join the child thread.
4894 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4896         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
4897         semicolon.
4898         (__libc_tend): Likewise.
4899         (__libc_tabort): Likewise.
4901 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
4903         * sysdeps/nios2/libm-test-ulps: Update.
4904         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
4905         (__gtsf2): Likewise.
4906         (__unorddf2): Likewise.
4907         (__unordsf2): Likewise.
4908         (__ledf2): Likewise.
4910 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
4912         * nis/nis_table.c (__follow_path): Disable diagnostic for
4913         uninitialized variable that is a false positive for gcc 4.7.
4914         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
4916 2016-01-20  Roland McGrath  <roland@hack.frob.com>
4918         * sysdeps/nacl/lowlevellock-futex.h
4919         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
4920         Always evaluate PRIVATE argument.
4922 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
4924         [BZ #19490]
4925         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
4926         (pthread_cond_broadcast): Use ENTRY/END
4927         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
4928         (pthread_cond_signal): Likewise.
4929         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
4930         Likewise.
4931         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
4932         Likewise.
4933         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
4934         Likewise.
4936 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
4938         * sysdeps/ieee754/dbl-64/s_finite.c
4939         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
4940         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
4941         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
4942         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
4943         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
4945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4946         (__gtsf2): Add as optional for libc.so.
4947         (__unordsf2): Likewise.
4948         (__signbit): Remove for libc.so.
4949         (__signbitl): Likewise.
4951 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4953         * iconvdata/bug-iconv11.c (test_ibm93x):
4954         Use %zu printf format specifier for size_t argument.
4956 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
4958         * math/gen-libm-test.pl (parse_ulps): Do not reduce
4959         already-recorded ulps.
4960         * sysdeps/arm/libm-test-ulps: Regenerated.
4961         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4962         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4963         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4965 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4966             Paul Pluzhnikov  <ppluzhnikov@google.com>
4968         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
4969         assembler not supporting AVX-512.
4971 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4973         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4975 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
4977         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4978         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4980         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4982         * sysdeps/arm/libm-test-ulps: Regenerated.
4984 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4986         [BZ #19451]
4987         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
4989 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4991         [BZ #19486]
4992         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
4993         * sysdeps/generic/fix-fp-int-convert-overflow.h
4994         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
4995         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
4996         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
4997         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
4998         Likewise.
4999         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
5000         Avoid conversions to long int where inexact exceptions
5001         could be raised.
5002         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
5003         Likewise.
5004         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
5005         Avoid conversions to long long int where inexact exceptions
5006         could be raised.
5007         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
5008         Likewise.
5010 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
5012         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
5013         * configure: Regenerated.
5015 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5017         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
5019 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
5021         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
5022         outside of comment.
5024 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5026         * nptl/tst-barrier1.c: Add description on first line.
5027         * nptl/tst-barrier2.c: Likewise.
5028         * nptl/tst-barrier3.c: Likewise.
5029         * nptl/tst-barrier4.c: Likewise.
5030         * nptl/tst-barrier5.c: Likewise.
5032 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5034         [BZ #18868]
5035         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
5037 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
5039         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
5040         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5041         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
5042         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
5043         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
5044         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
5045         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5046         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5047         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5048         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5049         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5051 2016-01-15  Torvald Riegel  <triegel@redhat.com>
5053         [BZ #13065]
5054         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
5055         new implementation.
5056         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
5057         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
5058         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
5059         (BARRIER_IN_THRESHOLD): New macro.
5060         * nptl/pthread_barrierattr_setpshared.c
5061         (pthread_barrierattr_setpshared): Clean up.
5062         * nptl/tst-barrier4.c: Correct comment.
5063         * nptl/tst-barrier5.c: New file.
5064         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
5065         (gen-as-const-headers): Remove lowlevelbarrier.sym.
5066         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
5067         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
5068         * nptl/lowlevelbarrier.sym: Remove.
5069         * nptl/DESIGN-barrier.txt: Remove.
5070         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
5071         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
5072         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
5073         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
5074         error.
5075         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
5076         implementation.
5078 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5080         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
5081         (do_child): Mask SIGRTMIN while thr is running.
5083 2016-01-15  Martin Sebor  <msebor@redhat.com>
5085         [BZ #19432]
5086         * iconvdata/Makefile: Add bug-iconv11.
5087         * iconvdata/bug-iconv11.c: New test.
5088         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
5089         * iconvdata/ibm933.c: Same.
5090         * iconvdata/ibm935.c: Same.
5091         * iconvdata/ibm937.c: Same.
5092         * iconvdata/ibm939.c: Same.
5094 2016-01-15  Martin Sebor  <msebor@redhat.com>
5096         [BZ #19443]
5097         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
5098         [DEBUG] (_ufc_set_bits): Declare used.
5099         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
5100         [DEBUG] (print_all): Declare used.
5101         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
5102         operands of the ternary ?: expression to target type.
5103         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
5104         calling the undeclared abort.
5105         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
5107 2016-01-15  Martin Sebor  <msebor@redhat.com>
5109         [BZ #18755]
5110         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
5111         warnings.
5112         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
5113         (__gai_create_helper_thread): Same.
5114         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
5115         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
5116         to suppress -Wmaybe-uninitialized warnings.
5118 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
5120         [BZ #19465]
5121         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
5122         inside if.
5123         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5124         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5125         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5127 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
5129         [BZ #19466]
5130         * time/tst-mktime2.c (time_t_max): Removed.
5131         (time_t_min): Likewise.
5132         (TYPE_SIGNED): New.
5133         (TYPE_MINIMUM): Likewise.
5134         (TYPE_MAXIMUM): Likewise.
5135         (TIME_T_MIN): Likewise.
5136         (TIME_T_MAX): Likewise.
5137         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
5138         and TIME_T_MIN.
5139         (do_test): Likewise.
5141 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
5143         [BZ #19467]
5144         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5145         index_Fast_Unaligned_Load flag for Excavator family CPUs.
5147 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
5149         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
5151 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
5153         * benchtests/Makefile (PYTHON): Define.
5154         (bench-func): Use $(PYTHON) to run python scripts.
5155         ($(objpfx)bench-%.c): Likewise.
5157 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
5159         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
5160         leading slash when `file_name' is "/".
5162 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
5164         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
5165         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
5166         Likewise.
5167         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
5168         Likewise.
5169         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
5170         Likewise.
5171         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
5172         enum constant and macro.
5173         (PTRACE_SETSIGMASK): Likewise.
5174         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5175         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5176         (PTRACE_GETSIGMASK): Likewise.
5177         (PTRACE_SETSIGMASK): Likewise.
5178         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5179         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
5180         Likewise.
5181         (PTRACE_SETSIGMASK): Likewise.
5182         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5183         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5184         (PTRACE_GETSIGMASK): Likewise.
5185         (PTRACE_SETSIGMASK): Likewise.
5186         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5187         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
5188         Likewise.
5189         (PTRACE_SETSIGMASK): Likewise.
5190         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5191         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
5192         Likewise.
5193         (PTRACE_SETSIGMASK): Likewise.
5194         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5195         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
5196         Likewise.
5197         (PTRACE_SETSIGMASK): Likewise.
5198         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5200 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
5201             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5203         [BZ #19439]
5204         * math/bits/mathcalls.h
5205         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
5206         prototype.
5207         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
5209 2016-01-11  Andreas Schwab  <schwab@suse.de>
5211         [BZ #19253]
5212         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
5213         cache when TZDEFRULES was used.
5214         * time/tst-tzname.c: New file.
5215         * time/Makefile (test): Add tst-tzname.
5216         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
5217         * timezone/Makefile (test-zones): Add $(posixrules-file).
5218         ($(testdata)/$(posixrules-file)): New rule.
5220 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
5222         Fix doc quoting problems with Texinfo 5
5223         Without this change, in the info file output, Texinfo 5 quotes code
5224         in text with undirected single quotes 'like this' and generates
5225         code examples that with many PDF readers cannot be cut out of PDFs
5226         and pasted into code.
5227         * manual/libc.texinfo: Configure the libc manual like the GNU
5228         Emacs manual, by using @documentencoding and setting
5229         txicodequoteundirected and txicodequotebacktick.  This way,
5230         Texinfo 5 quotes code in text with directed single quotes ‘like
5231         this’ and produces examples that can be cut out of PDFs.  This
5232         change causes Texinfo 5 to generate info files that contain UTF-8
5233         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
5234         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
5236 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5238         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
5239         __libc_tabort, __libc_tend): New wrappers that enforce compiler
5240         barriers to their respective compiler built-ins.
5241         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
5242         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
5243         * sysdeps/powerpc/sysdep.h: Likewise.
5244         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
5245         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
5246         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
5248 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
5250         * scripts/config.guess: Revert previous shebang change.
5251         * scripts/config.sub: Likewise.
5252         * scripts/mkinstalldirs: Likewise.
5254 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5256         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
5257         PPC_FEATURE2_HAS_IEEE128.
5258         * sysdeps/powerpc/dl-procinfo.c:
5259         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
5261 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
5263         [BZ #19415]
5264         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
5265         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
5266         (_dl_lookup_address): Rewrite using function resolver trampoline.
5267         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
5268         two bits in address.
5270 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5272         * longlong.h: Change !__SHMEDIA__ to
5273         (!defined (__SHMEDIA__) || !__SHMEDIA__).
5274         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
5276 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
5277             Joseph Myers  <joseph@codesourcery.com>
5278             Mark Shinwell  <shinwell@codesourcery.com>
5279             Andrew Stubbs  <ams@codesourcery.com>
5280             Rich Felker <dalias@libc.org>
5282         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
5284 2016-01-07  Richard Henderson  <rth@redhat.com>
5286         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
5288 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5290         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
5291         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
5292         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5293         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5294         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
5296 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5297             Joseph Myers  <joseph@codesourcery.com>
5299         * timezone/private.h: Update from tzcode 2015g.
5300         * timezone/tzfile.h: Likewise.
5301         * timezone/tzselect.ksh: Likewise.
5302         * timezone/zdump.c: Likewise.
5303         * timezone/zic.c: Likewise.
5304         * timezone/ialloc.c: Remove file.
5305         * timezone/scheck.c: Likewise.
5306         * timezone/Makefile (extra-objs): Remove variable.
5307         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
5308         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
5309         -Wno-maybe-uninitialized.
5310         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
5311         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
5312         (CFLAGS-ialloc.c): Remove variable.
5313         (CFLAGS-scheck.c): Likewise.
5314         * timezone/README: Update list of files from tzcode.
5316 2016-01-07  Khem Raj  <raj.khem@gmail.com>
5318         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
5319         instead of __fxprintf when _LIBC is undefined.
5321 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
5323         * catgets/test-gencat.sh: Remove space after shebang.
5324         * conform/GlibcConform.pm: Likewise.
5325         * conform/check-header-lists.sh: Likewise.
5326         * conform/conformtest.pl: Likewise.
5327         * conform/linknamespace.pl: Likewise.
5328         * conform/list-header-symbols.pl: Likewise.
5329         * debug/catchsegv.sh: Likewise.
5330         * elf/genrtldtbl.awk: Likewise.
5331         * elf/tst-pathopt.sh: Likewise.
5332         * elf/tst-rtld-load-self.sh: Likewise.
5333         * grp/tst_fgetgrent.sh: Likewise.
5334         * iconvdata/gen-8bit-gap-1.sh: Likewise.
5335         * iconvdata/gen-8bit-gap.sh: Likewise.
5336         * iconvdata/gen-8bit.sh: Likewise.
5337         * iconvdata/run-iconv-test.sh: Likewise.
5338         * intl/tst-gettext.sh: Likewise.
5339         * intl/tst-gettext2.sh: Likewise.
5340         * intl/tst-gettext4.sh: Likewise.
5341         * intl/tst-gettext6.sh: Likewise.
5342         * intl/tst-translit.sh: Likewise.
5343         * io/ftwtest-sh: Likewise.
5344         * libio/test-freopen.sh: Likewise.
5345         * locale/gen-translit.pl: Likewise.
5346         * malloc/tst-mtrace.sh: Likewise.
5347         * manual/check-safety.sh: Likewise.
5348         * manual/libc-texinfo.sh: Likewise.
5349         * manual/tsort.awk: Likewise.
5350         * manual/xtract-typefun.awk: Likewise.
5351         * nptl/tst-cancel-wrappers.sh: Likewise.
5352         * nptl/tst-tls6.sh: Likewise.
5353         * posix/globtest.sh: Likewise.
5354         * posix/tst-getconf.sh: Likewise.
5355         * posix/wordexp-tst.sh: Likewise.
5356         * scripts/check-c++-types.sh: Likewise.
5357         * scripts/check-local-headers.sh: Likewise.
5358         * scripts/config.guess: Likewise.
5359         * scripts/config.sub: Likewise.
5360         * scripts/cpp: Likewise.
5361         * scripts/cross-test-ssh.sh: Likewise.
5362         * scripts/documented.sh: Likewise.
5363         * scripts/evaluate-test.sh: Likewise.
5364         * scripts/gen-libc-abis: Likewise.
5365         * scripts/gen-sorted.awk: Likewise.
5366         * scripts/list-fixed-bugs.py: Likewise.
5367         * scripts/merge-test-results.sh: Likewise.
5368         * scripts/mkinstalldirs: Likewise.
5369         * scripts/rellns-sh: Likewise.
5370         * scripts/test-installation.pl: Likewise.
5371         * scripts/update-copyrights: Likewise.
5372         * stdio-common/tst-printf.sh: Likewise.
5373         * stdio-common/tst-unbputc.sh: Likewise.
5374         * stdlib/tst-fmtmsg.sh: Likewise.
5375         * stdlib/tst-setcontext3.sh: Likewise.
5376         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
5377         * sysdeps/unix/make-syscalls.sh: Likewise.
5379 2016-01-06  John David Anglin  <dave.anglin@bell.net>
5381         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
5382         asm stw with atomic_exchange_rel.  Add explanatory comment.
5383         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
5384         Likewise.
5386 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5388         [BZ #19122]
5389         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
5390         * sysdeps/generic/dl-unistd.h: New file.
5391         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
5393 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5395          [BZ #19122]
5396          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
5397          * sysdeps/generic/dl-mman.h: New file.
5398          * sysdeps/mach/hurd/dl-mman.h: Likewise.
5400 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
5402         * manual/texinfo.tex: Update to version 2016-01-04.21 with
5403         trailing whitespace removed.
5404         * scripts/config.guess: Update to version 2016-01-01.
5405         * scripts/config.sub: Update to version 2016-01-01.
5406         * scripts/move-if-change: Update from gnulib.
5408 2016-01-04  Anton Blanchard  <anton@samba.org>
5410         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
5411         for array indices.
5412         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
5414 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
5416         * NEWS: Update copyright dates.
5417         * catgets/gencat.c (print_version): Likewise.
5418         * csu/version.c (banner): Likewise.
5419         * debug/catchsegv.sh: Likewise.
5420         * debug/pcprofiledump.c (print_version): Likewise.
5421         * debug/xtrace.sh (do_version): Likewise.
5422         * elf/ldconfig.c (print_version): Likewise.
5423         * elf/ldd.bash.in: Likewise.
5424         * elf/pldd.c (print_version): Likewise.
5425         * elf/sotruss.sh: Likewise.
5426         * elf/sprof.c (print_version): Likewise.
5427         * iconv/iconv_prog.c (print_version): Likewise.
5428         * iconv/iconvconfig.c (print_version): Likewise.
5429         * locale/programs/locale.c (print_version): Likewise.
5430         * locale/programs/localedef.c (print_version): Likewise.
5431         * login/programs/pt_chown.c (print_version): Likewise.
5432         * malloc/memusage.sh (do_version): Likewise.
5433         * malloc/memusagestat.c (print_version): Likewise.
5434         * malloc/mtrace.pl: Likewise.
5435         * manual/libc.texinfo: Likewise.
5436         * nptl/version.c (banner): Likewise.
5437         * nscd/nscd.c (print_version): Likewise.
5438         * nss/getent.c (print_version): Likewise.
5439         * nss/makedb.c (print_version): Likewise.
5440         * posix/getconf.c (main): Likewise.
5441         * scripts/test-installation.pl: Likewise.
5442         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5444         * All files with FSF copyright notices: Update copyright dates
5445         using scripts/update-copyrights.
5446         * intl/plural.c: Regenerated.
5447         * locale/programs/charmap-kw.h: Likewise.
5448         * locale/programs/locfile-kw.h: Likewise.
5450 2016-01-02  Helge Deller  <deller@gmx.de>
5452         [BZ #19285]
5453         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
5454         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
5455         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
5456         (MADV_xxK_PAGES): Remove.
5458 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
5460         [BZ #15421]
5461         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
5462         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
5463         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
5464         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
5466 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
5468         [BZ #19408]
5469         * sysdeps/unix/sysv/linux/personality.c: New file.
5470         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
5471         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
5472         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
5473         (sysdep_routines): Add personality.
5474         (tests): Add tst-personality.
5475         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
5476         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
5477         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
5478         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
5479         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
5480         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
5481         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
5482         Likewise.
5483         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
5484         Likewise.
5485         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
5486         Likewise.
5487         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
5488         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
5489         Likewise.
5491 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
5493         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
5494         (PATH_ARM_SYSTYPE): Remove.
5495         (PATH_CPUINFO): Likewise.
5496         (IO_BASE_FOOTBRIDGE): Likewise.
5497         (IO_SHIFT_FOOTBRIDGE): Likewise.
5498         (struct platform): Likewise.
5499         (init_iosys): Remove compatibility code for 2.4 kernels.
5500         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
5502 2015-12-29  Florian Weimer  <fweimer@redhat.com>
5504         * malloc/tst-malloc-thread-fail.c: New file.
5505         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
5506         (tst-malloc-thread-fail): Link against libpthread.
5508 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
5510         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
5511         (get_parser): New function.
5512         (main): New function.
5514 2015-12-29  Rob Wu  <rob@robwu.nl>
5516         [BZ #19369]
5517         * resolv/res_init.c (__res_vinit): Reset defdname before use.
5519 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
5521         [BZ #19270]
5522         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5524 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
5526         [BZ #15421]
5527         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
5529 2015-12-23  Torvald Riegel  <triegel@redhat.com>
5531         [BZ #13690]
5532         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
5533         after releasing it.
5534         (__lll_robust_unlock): Likewise.
5535         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5536         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
5537         (lll_robust_unlock): Likewise.
5538         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
5539         Prevent warnings in callers.
5541 2015-12-23  Florian Weimer  <fweimer@redhat.com>
5543         * malloc/arena.c (list_lock): Update comment.
5545 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5547         * sysdeps/powerpc/hwcapinfo.c: Export symbol
5548         __parse_hwcap_and_convert_at_platform to libc.a.
5550 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5552         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
5553         platform and feature support for POWER9.
5554         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5555         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
5556         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
5557         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
5558         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
5559         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
5560         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
5561         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
5563 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5565         Harmonize generic stdio-lock support with nptl
5567         This fixes build when _IO_funlockfile is a macro, fixes build where
5568         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
5569         stack unwind.
5571         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
5572         _IO_release_lock ): Use cleanup attribute on new
5573         _IO_acquire_lock_file variable instead of assuming that
5574         _IO_release_lock will be called.
5575         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
5576         _IO_acquire_lock_needs_exceptions_enabled.
5577         (_IO_acquire_lock_clear_flags2): New macro.
5579 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5581         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5583 2015-12-21  Florian Weimer  <fweimer@redhat.com>
5585         [BZ #19182]
5586         * malloc/arena.c (list_lock): Document lock ordering requirements.
5587         (free_list_lock): New lock.
5588         (ptmalloc_lock_all): Comment on free_list_lock.
5589         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
5590         (detach_arena): Update comment.  free_list_lock is now needed.
5591         (_int_new_arena): Use free_list_lock around detach_arena call.
5592         Acquire arena lock after list_lock.  Add comment, including FIXME
5593         about incorrect synchronization.
5594         (get_free_list): Switch to free_list_lock.
5595         (reused_arena): Acquire free_list_lock around detach_arena call
5596         and attached threads counter update.  Add two FIXMEs about
5597         incorrect synchronization.
5598         (arena_thread_freeres): Switch to free_list_lock.
5599         * malloc/malloc.c (struct malloc_state): Update comments to
5600         mention free_list_lock.
5602 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5604         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
5605         Remove functions.
5606         (sloww, sloww1): Accept argument to offset quadrant.
5607         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
5608         quadrant.
5609         (__sin, __cos): Consolidate common code into new functions.
5610         (reduce_sincos_1, do_sincos_1): New functions.
5611         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5613         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
5614         code to new functions.
5615         (reduce_sincos_2, do_sincos_2): New functions.
5616         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5618         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
5619         common code for sincos.
5620         (__cos) [!IN_SINCOS]: Likewise.
5621         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
5622         New function.
5623         (__sincos): Use it.
5625 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
5627         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
5628         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
5629         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5631 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5633         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
5634         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
5635         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5636         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
5637         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5638         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
5639         index_Prefer_No_VZEROUPPER): New feature.
5640         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
5641         Prefer_No_VZEROUPPER for Knights Landing.
5643 015-12-18  Torvald Riegel  <triegel@redhat.com>
5645         * math/atest-exp2.c (mp_exp_m1): Remove.
5647 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5649         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
5650         syscalls.
5651         (__SYSCALL0): New macro.
5652         (__SYSCALL1): Likewise.
5653         (__SYSCALL2): Likewise.
5654         (__SYSCALL3): Likewise.
5655         (__SYSCALL4): Likewise.
5656         (__SYSCALL5): Likewise.
5657         (__SYSCALL6): Likewise.
5658         (__SYSCALL_CONCAT_X): Likewise.
5659         (__SYSCALL_CONCAT): Likewise.
5660         (__SYSCALL_DIST): Likewise.
5661         (__SYSCALL_CALL): Likewise.
5663 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
5665         [BZ #19363]
5666         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
5668 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5670         [BZ #19375]
5671         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
5672         negative subnormals.
5674 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
5676         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5677         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
5678         (INTERNAL_SYSCALL_NCS): Use it.
5679         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5681 2015-12-16  Florian Weimer  <fweimer@redhat.com>
5683         [BZ #19243]
5684         * malloc/arena.c (get_free_list): Remove assert and adjust
5685         reference count handling.  Add comment about reused_arena
5686         interaction.
5687         (reused_arena): Add comments abount get_free_list interaction.
5688         * malloc/tst-malloc-thread-exit.c: New file.
5689         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
5690         (tst-malloc-thread-exit): Link against libpthread.
5692 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5694         [BZ #19367]
5695         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
5696         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
5697         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
5698         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
5699         (index_Prefer_MAP_32BIT_EXEC): Likewise.
5701 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5703         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
5704         Silvermont optimizations for Knights Landing.
5706 2015-12-15  Andreas Schwab  <schwab@suse.de>
5708         [BZ #17197]
5709         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
5710         immediately after emitting SI.
5711         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
5712         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
5713         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
5714         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
5715         * iconvdata/bug-iconv10.c: New file.
5716         * iconvdata/Makefile (tests): Add bug-iconv10.
5717         ($(objpfx)bug-iconv10.out): New rule.
5719 2015-12-15  Florian Weimer  <fweimer@redhat.com>
5721         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
5722         aliasing violation.
5724 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
5726         [BZ #18472]
5727         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
5728         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
5729         conditionals for them.
5730         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
5731         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
5732         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5733         sys/kdaemon.h.
5734         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
5735         compat-only syscall, obsoleted in glibc 2.23.
5736         (create_module): Likewise.
5737         (get_kernel_syms): Likewise.
5738         (query_module): Likewise.
5739         (uselib): Likewise.
5740         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
5742 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
5744         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
5745         <linux/version.h>.
5746         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
5747         conditional code.
5748         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
5749         and ioshift_name initialization.
5751 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5753         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5754         Fix indentation.
5756 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5758         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
5760 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5762         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
5764 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
5765             Jakub Wilk  <jwilk@debian.org>
5767         [BZ #19347]
5768         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
5769         to change the group of the device to the tty group.
5771 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
5773         Split large string section; add truncation advice
5774         * manual/examples/strncat.c: Remove.
5775         This example was misleading, as the code would have undefined
5776         behavior if "hello" was longer than SIZE.  Anyway, the manual
5777         shouldn't encourage strncpy+strncat for this sort of thing.
5778         * manual/string.texi (Copying Strings and Arrays): Split into
5779         three sections Copying Strings and Arrays, Concatenating Strings,
5780         and Truncating Strings, as this section was way too long.  All
5781         cross-referenced changed.  Add advice about string-truncation
5782         functions.  Remove misleading strncat example.
5784 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
5786         * manual/nss.texi (NSS Modules Interface): Document
5787         NSS_STATUS_NOTFOUND and SUCCESS.
5789 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5791         [BZ 18568]
5792         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5793         201505L, for Unicode 8.
5795 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
5797         * locale/C-translit.h: Regenerate.
5799 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5801         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
5802         and U+0153.
5804 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
5806         [BZ #19351]
5807         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
5808         expanding log(1+z), compare z rather than its square with epsilon
5809         to determine when to avoid evaluating the expansion.
5811         [BZ #19350]
5812         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5813         Increase overflow threshold.
5815         [BZ #19349]
5816         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
5817         when small.
5819         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5820         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5821         New macro.
5822         [__LINUX_KERNEL_VERSION >= 0x040300]
5823         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5824         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5825         Likewise.
5826         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5827         Likewise.
5828         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5829         Likewise.
5830         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5831         Likewise.
5832         [__LINUX_KERNEL_VERSION >= 0x040300]
5833         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5834         [__LINUX_KERNEL_VERSION >= 0x040300]
5835         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5836         [__LINUX_KERNEL_VERSION >= 0x040300]
5837         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5838         [__LINUX_KERNEL_VERSION >= 0x040300]
5839         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5840         [__LINUX_KERNEL_VERSION >= 0x040300]
5841         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5842         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5843         Likewise.
5844         [__LINUX_KERNEL_VERSION >= 0x040300]
5845         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5846         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5847         Likewise.
5848         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5849         Likewise.
5850         [__LINUX_KERNEL_VERSION >= 0x040300]
5851         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5852         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5853         Likewise.
5854         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5855         Likewise.
5856         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5857         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
5858         Likewise.
5859         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
5860         Likewise.
5861         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5862         Likewise.
5863         [__LINUX_KERNEL_VERSION >= 0x040300]
5864         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5865         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5866         Likewise.
5867         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5868         Likewise.
5869         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5870         Likewise.
5871         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5872         Likewise.
5873         [__LINUX_KERNEL_VERSION >= 0x040300]
5874         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5875         [__LINUX_KERNEL_VERSION >= 0x040300]
5876         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5877         [__LINUX_KERNEL_VERSION >= 0x040300]
5878         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5879         [__LINUX_KERNEL_VERSION >= 0x040300]
5880         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5881         [__LINUX_KERNEL_VERSION >= 0x040300]
5882         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5883         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5884         Likewise.
5885         [__LINUX_KERNEL_VERSION >= 0x040300]
5886         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5887         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5888         Likewise.
5889         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5890         Likewise.
5891         [__LINUX_KERNEL_VERSION >= 0x040300]
5892         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5893         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5894         Likewise.
5895         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5896         Likewise.
5897         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5898         (__ASSUME_SOCKET_SYSCALL): Likewise.
5899         (__ASSUME_BIND_SYSCALL): Likewise.
5900         (__ASSUME_CONNECT_SYSCALL): Likewise.
5901         (__ASSUME_LISTEN_SYSCALL): Likewise.
5902         (__ASSUME_ACCEPT_SYSCALL): Likewise.
5903         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5904         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5905         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5906         (__ASSUME_SEND_SYSCALL): Likewise.
5907         (__ASSUME_SENDTO_SYSCALL): Likewise.
5908         (__ASSUME_RECV_SYSCALL): Likewise.
5909         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5910         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
5911         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5912         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5913         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5914         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5915         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5916         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
5917         Likewise.
5918         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
5919         Likewise.
5920         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
5921         Likewise.
5922         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
5923         Likewise.
5924         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
5925         Likewise.
5926         [__LINUX_KERNEL_VERSION >= 0x020625]
5927         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5928         [__LINUX_KERNEL_VERSION >= 0x020625]
5929         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5930         [__LINUX_KERNEL_VERSION >= 0x020625]
5931         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5932         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
5933         Likewise.
5934         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
5935         Likewise.
5936         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
5937         Likewise.
5938         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
5939         Likewise.
5940         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
5941         Likewise.
5942         [__LINUX_KERNEL_VERSION >= 0x020625]
5943         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5944         [__LINUX_KERNEL_VERSION >= 0x020625]
5945         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5946         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
5947         Likewise.
5948         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
5949         Likewise.
5951 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5953         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
5954         record the current if the current ABI and CPU support the FP64
5955         extension.
5956         (has-modd-spreg): Define to record the current if the current ABI and
5957         CPU support 32-bit floating point values in odd FPU registers.
5958         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5959         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
5960         $(has-modd-spreg) equals yes.
5961         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
5962         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
5963         $(has-modd-spreg) equal yes.
5965 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5967         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
5968         basename.
5970 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
5972         * benchtests/Makefile (bench-math): Move ffs and ffsll...
5973         (bench-string): ... here.
5974         (bench): Add bench-string.
5975         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
5976         to *-benchset to reflect what they are.
5977         (benchset): Adjust.
5979         * benchtests/sincos-inputs: Add inputs from sin-inputs and
5980         cos-inputs.
5982 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
5984         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
5985         __attribute__ ((__simd__)) for vector math function declarations.
5987 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5989         Fix typo in strncat, wcsncat manual entries
5990         * manual/string.texi (Copying and Concatenation): Fix typos in
5991         sample implementations of strncat and wcsncat, by having them use
5992         the old value of the destination length, not the new one.
5994 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
5996         [BZ #16961]
5997         [BZ #16962]
5998         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
5999         string on the stack for strtod.
6000         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
6001         a string on the stack for strtof.
6002         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
6003         constructing a string on the stack for strtold.
6004         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
6005         __strtold_nan to GLIBC_PRIVATE.
6006         * math/test-nan-overflow.c: New file.
6007         * math/test-nan-payload.c: Likewise.
6008         * math/Makefile (tests): Add test-nan-overflow and
6009         test-nan-payload.
6011 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6013         Consistency about byte vs character in string.texi
6014         * manual/string.texi (String and Array Utilities):
6015         Distinguish more carefully among bytes, multibyte characters,
6016         and wide characters.  Use "byte" when talking about C 'char',
6017         to distinguish it more clearly from multibyte characters.
6018         Say "wide character" or "multibyte character" instead of
6019         "character", when a wide or multibyte character is intended.
6020         Similarly for "multibyte string" versus "string".
6021         Define these terms more carefully.
6023 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
6025         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
6026         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
6027         Likewise.
6028         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6029         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6030         * sysdeps/sh/math_private.h: New file.
6031         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
6032         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
6033         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
6034         long double function name.
6035         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6036         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6037         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6038         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6039         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6041         Remove __finitel, __isinfl, and __isnanl.
6042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6043         Likewise.
6044         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6046         Remove __finitel.
6047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6048         Likewise.
6049         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6051 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
6053         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
6054         installed libmvec_nonshared.a.
6056 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6058         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
6059         (sysdep_routines): Likewise.
6060         (sysdep-rtld-routines): Likewise.
6061         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
6062         [$(subdir) = nptl](tests-static): test-get_hwcap-static
6063         * sysdeps/powerpc/Versions: Added new
6064         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
6065         * sysdeps/powerpc/hwcapinfo.c: New file.
6066         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
6067         and parse hwcap, hwcap2 and platform number information.
6068         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
6069         to store HWCAP+HWCAP2 and platform number.
6070         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
6071         for HWCAP+HWCAP2 and platform number in the TCB.
6072         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
6073         the HWCAP, HWCAP2 and platform number in the TCB.
6074         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
6075         (TLS_INIT_TP): Included calls to add the hwcap and
6076         at_platform values in the TCB in TP initialization.
6077         (TLS_DEFINE_INIT_TP): Likewise.
6078         (THREAD_GET_HWCAP): New macro.
6079         (THREAD_SET_HWCAP): Likewise.
6080         (THREAD_GET_AT_PLATFORM): Likewise.
6081         (THREAD_SET_AT_PLATFORM): Likewise.
6082         * sysdeps/powerpc/powerpc32/dl-machine.h:
6083         (dl_platform_init): New function that calls
6084         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
6085         powerpc32.
6086         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
6087         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
6088         this functionality, static linking case.
6089         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
6090         linking case.
6091         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
6092         __parse_hwcap_and_convert_at_platform for the static linking case.
6093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
6094         Included the new __parse_hwcap_and_convert_at_platform symbol in the
6095         ABI list for GLIBC 2.23.
6096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
6097         Likewise.
6098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
6099         Likewise.
6101 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
6103         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
6104         * configure: Regenerate.
6105         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
6106         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
6108 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
6110         * iconvdata/ibm930.c: Add comment explaining encoding uses.
6111         * iconvdata/ibm933.c: Likewise.
6112         * iconvdata/ibm935.c: Likewise.
6113         * iconvdata/ibm937.c: Likewise.
6114         * iconvdata/ibm939.c: Likewise.
6116 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6118         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
6119         pthread_join.
6120         * nptl/tst-cancel21.c (tf): Likewise.
6122 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
6124         [BZ #19313]
6125         * bits/typesizes.h (__CPU_MASK_TYPE): New.
6126         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6127         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6128         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
6129         Likewise.
6130         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
6131         Likewise.
6132         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
6133         Likewise.
6134         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
6135         Likewise.
6136         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
6137         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
6138         unsigned long int with __CPU_MASK_TYPE.
6140 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6142         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6144 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
6146         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
6147         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
6148         t512.x.
6149         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
6151 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
6153         [BZ #19214]
6154         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
6155         argument to return extended model.  Update family and model
6156         with extended family and model when family == 0x0f.
6157         (init_cpu_features): Updated.
6159 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6161         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
6162         signed off_t, so 32bit bigger than 2GiB values are fine actually.
6164         * sysdeps/mach/hurd/mmap64.c: New file.
6166 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
6168         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
6169         rights for its main user thread in NEWTASK.
6171 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
6173         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
6174         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
6176 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
6178         [BZ #14259]
6179         * Makeconfig: Rename localedir to complocaledir.
6180         Rename inst_localedir to inst_complocaledir.
6181         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
6182         * config.make.in: Use complocaledir and libc_cv_complocaledir.
6183         * configure.ac: Use libc_cv_complocaledir.
6184         * configure: Regenerate.
6185         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
6186         -DCOMPLOCALEDIR.
6187         * locale/findlocale.c: Use COMPLOCALEDIR.
6188         * locale/loadarchive.c: Likewise.
6189         * locale/programs/locale.c: Likewise.
6190         * locale/programs/localedef.c: Likewise.
6191         * locale/programs/locarchive.c: Likewise.
6192         * localedata/Makefile: Use inst_complocaledir.
6193         * sysdeps/gnu/configure: Regenerate.
6194         * sysdeps/hppa/configure: Regenerate.
6195         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
6196         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6198         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
6199         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
6200         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
6201         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
6203 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
6205         [BZ #19058]
6206         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
6207         AS_NEEDED.
6208         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
6209         workaround.
6210         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
6211         libmvec-static-only-routines): Added new file.
6212         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
6214 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6216         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
6217         of interrupted RPC instead of restoring it.
6219         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
6220         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
6221         libc_hidden_def.
6222         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
6223         into initialized data instead of common. Define rtld_hidden_data_def.
6224         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
6225         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
6226         libc_hidden_def.
6227         (if_freenameindex): Add libc_hidden_weak.
6228         (if_nameindex): Add libc_hidden_weak.
6229         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
6230         __open64.
6231         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
6232         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
6233         * sysdeps/mach/nanosleep.c: Include <time.h>
6234         (__nanosleep): Rename to __libc_nanosleep.
6235         (__nanosleep): Add weak_alias.
6236         (nanosleep): Update alias.
6238 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
6240         * stdlib/strtod_nan.c: New file.
6241         * stdlib/strtod_nan_double.h: Likewise.
6242         * stdlib/strtod_nan_float.h: Likewise.
6243         * stdlib/strtod_nan_main.c: Likewise.
6244         * stdlib/strtod_nan_narrow.h: Likewise.
6245         * stdlib/strtod_nan_wide.h: Likewise.
6246         * stdlib/strtof_nan.c: Likewise.
6247         * stdlib/strtold_nan.c: Likewise.
6248         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
6249         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
6250         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
6251         * wcsmbs/wcstod_nan.c: Likewise.
6252         * wcsmbs/wcstof_nan.c: Likewise.
6253         * wcsmbs/wcstold_nan.c: Likewise.
6254         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
6255         strtold_nan.
6256         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
6257         wcstof_nan.
6258         * include/stdlib.h (__strtof_nan): Declare and use
6259         libc_hidden_proto.
6260         (__strtod_nan): Likewise.
6261         (__strtold_nan): Likewise.
6262         (__wcstof_nan): Likewise.
6263         (__wcstod_nan): Likewise.
6264         (__wcstold_nan): Likewise.
6265         * include/wchar.h (____wcstoull_l_internal): Declare.
6266         * stdlib/strtod_l.c: Do not include <ieee754.h>.
6267         (____strtoull_l_internal): Remove declaration.
6268         (STRTOF_NAN): Define macro.
6269         (SET_MANTISSA): Remove macro.
6270         (STRTOULL): Likewise.
6271         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
6272         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
6273         (STRTOF_NAN): Define macro.
6274         (SET_MANTISSA): Remove macro.
6275         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
6276         (SET_MANTISSA): Remove macro.
6277         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
6278         macro.
6279         (SET_MANTISSA): Remove macro.
6280         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
6281         macro.
6282         (SET_MANTISSA): Remove macro.
6283         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
6284         (SET_MANTISSA): Remove macro.
6285         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
6286         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
6287         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
6289         [BZ #19266]
6290         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
6291         upper case and lower case letters inside NAN(), not using TOLOWER.
6292         * stdlib/tst-strtod-nan-locale-main.c: New file.
6293         * stdlib/tst-strtod-nan-locale.c: Likewise.
6294         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
6295         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
6296         Depend on $(gen-locales).
6297         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
6298         * wcsmbs/tst-wcstod-nan-locale.c: New file.
6299         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
6300         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
6301         Depend on $(gen-locales).
6302         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
6304 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
6306         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
6308         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
6310         __finitel, __isinfl, and __isnanl.
6311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6312         Likewise.
6313         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
6315         __finitel.
6316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6317         Likewise.
6318         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6320 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6322         * malloc/memusage.c (me): Remove redundant getenv call.
6324 2015-10-24  Florian Weimer  <fweimer@redhat.com>
6326         [BZ #19143]
6327         [BZ #19164]
6328         * nptl/check-cpuset.h: Remove.
6329         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6330         Remove CPU set size check.
6331         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6332         Likewise.
6333         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
6334         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6335         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
6336         (__pthread_setaffinity_new): Remove CPU set size check.
6337         * sysdeps/unix/sysv/linux/sched_setaffinity.c
6338         (__kernel_cpumask_size): Remove.
6339         (__sched_setaffinity_new): Remove CPU set size check.
6340         * manual/threads.texi (Default Thread Attributes): Remove stale
6341         reference to check_cpuset_attr, determine_cpumask_size in comment.
6342         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
6343         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
6344         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
6345         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
6346         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
6347         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
6348         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
6349         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
6350         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
6351         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
6352         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
6353         skeleton test file.
6354         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
6355         tst-affinity-pid.
6357 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6359         * scripts/update-abilist.sh: New file.
6360         * Makefile (+subdir_targets): Add subdir_update-all-abi.
6361         * Makerules (update-all-abi-%, update-all-abi)
6362         (subdir_update-all-abi): New targets.
6363         * elf/Makefile (update-all-abi): New target.
6365 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6367         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
6368         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
6369         (__libc_lock_define_initialized): Use it.
6370         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
6371         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
6372         * malloc/malloc.c (main_arena): Likewise.
6373         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6374         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6376 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
6378         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6379         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
6380         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6381         (PTRACE_O_MASK): Update value.
6382         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
6383         New value in enum __ptrace_setoptions.
6384         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6385         (PTRACE_O_MASK): Update value.
6386         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6387         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6388         (PTRACE_O_MASK): Update value.
6389         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
6390         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6391         (PTRACE_O_MASK): Update value.
6392         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
6393         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6394         (PTRACE_O_MASK): Update value.
6395         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
6396         New value in enum __ptrace_setoptions.
6397         (PTRACE_O_MASK): Update value.
6398         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
6399         New value in enum __ptrace_setoptions.
6400         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6401         (PTRACE_O_MASK): Update value.
6403         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
6404         New macro.
6405         (PACKET_AUXDATA): Likewise.
6406         (PACKET_ORIGDEV): Likewise.
6407         (PACKET_VERSION): Likewise.
6408         (PACKET_HDRLEN): Likewise.
6409         (PACKET_RESERVE): Likewise.
6410         (PACKET_TX_RING): Likewise.
6411         (PACKET_LOSS): Likewise.
6412         (PACKET_VNET_HDR): Likewise.
6413         (PACKET_TX_TIMESTAMP): Likewise.
6414         (PACKET_TIMESTAMP): Likewise.
6415         (PACKET_FANOUT): Likewise.
6416         (PACKET_TX_HAS_OFF): Likewise.
6417         (PACKET_QDISC_BYPASS): Likewise.
6418         (PACKET_ROLLOVER_STATS): Likewise.
6419         (PACKET_FANOUT_DATA): Likewise.
6420         (PACKET_MR_UNICAST): Likewise.
6422         [BZ #19242]
6423         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
6424         (TOUPPER): Likewise.
6425         * stdlib/tst-strtol-locale-main.c: New file.
6426         * stdlib/tst-strtol-locale.c: Likewise.
6427         * stdlib/Makefile (tests): Add tst-strtol-locale.
6428         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
6429         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
6430         Depend on $(gen-locales).
6431         * wcsmbs/tst-wcstol-locale.c: New file.
6432         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
6433         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
6434         tr_TR.ISO-8859-9.
6435         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
6436         Depend on $(gen-locales).
6438 2015-11-20  Roland McGrath  <roland@hack.frob.com>
6440         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
6441         __glibc_likely instead of __builtin_expect.  After falling back to
6442         dyncode_create in a non-ET_DYN case, use the allocate_code_data
6443         system interface to register the code pages as occupied.
6445 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
6447         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6448         [!ARM_MATH_PRIVATE_H].
6449         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
6450         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6451         [!HPPA_MATH_PRIVATE_H].
6452         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
6453         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
6454         to [!I386_MATH_PRIVATE_H].
6455         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
6456         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
6457         Change guard to [!M68K_MATH_PRIVATE_H].
6458         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
6459         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
6460         guard to [!MICROBLAZE_MATH_PRIVATE_H].
6461         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
6462         macro.
6463         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6464         [!MIPS_MATH_PRIVATE_H].
6465         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
6466         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6467         [!NIO2_MATH_PRIVATE_H].
6468         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
6469         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6470         [!TILE_MATH_PRIVATE_H].
6471         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
6473         [BZ #15421]
6474         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
6475         initialize with 0 and define as weak alias of __signgam.
6476         * include/math.h [!_ISOMAC] (__signgam): Declare.
6477         * math/Makefile (libm-calls): Add w_lgamma_compat.
6478         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
6479         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
6480         test-signgam-ullong-init.
6481         (tests-static): Add test-signgam-uchar-static,
6482         test-signgam-uchar-init-static, test-signgam-uint-static,
6483         test-signgam-uint-init-static, test-signgam-ullong-static and
6484         test-signgam-ullong-init-static.
6485         (CFLAGS-test-signgam-uchar.c): New variable.
6486         (CFLAGS-test-signgam-uchar-init.c): Likewise.
6487         (CFLAGS-test-signgam-uchar-static.c): Likewise.
6488         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
6489         (CFLAGS-test-signgam-uint.c): Likewise.
6490         (CFLAGS-test-signgam-uint-init.c): Likewise.
6491         (CFLAGS-test-signgam-uint-static.c): Likewise.
6492         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
6493         (CFLAGS-test-signgam-ullong.c): Likewise.
6494         (CFLAGS-test-signgam-ullong-init.c): Likewise.
6495         (CFLAGS-test-signgam-ullong-static.c): Likewise.
6496         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
6497         * math/Versions (libm): Add GLIBC_2.23.
6498         * math/lgamma-compat.h: New file.
6499         * math/test-signgam-main.c: Likewise.
6500         * math/test-signgam-uchar-init-static.c: Likewise.
6501         * math/test-signgam-uchar-init.c: Likewise.
6502         * math/test-signgam-uchar-static.c: Likewise.
6503         * math/test-signgam-uchar.c: Likewise.
6504         * math/test-signgam-uint-init-static.c: Likewise.
6505         * math/test-signgam-uint-init.c: Likewise.
6506         * math/test-signgam-uint-static.c: Likewise.
6507         * math/test-signgam-uint.c: Likewise.
6508         * math/test-signgam-ullong-init-static.c: Likewise.
6509         * math/test-signgam-ullong-init.c: Likewise.
6510         * math/test-signgam-ullong-static.c: Likewise.
6511         * math/test-signgam-ullong.c: Likewise.
6512         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
6513         wrapper of w_lgamma_main.c.
6514         * math/w_lgamma_compat.c: New file.
6515         * math/w_lgamma_compatf.c: Likewise.
6516         * math/w_lgamma_compatl.c: Likewise.
6517         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
6518         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6519         defining compatibility symbols.
6520         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
6521         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
6522         wrapper of w_lgammaf_main.c.
6523         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
6524         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6525         defining compatibility symbols.
6526         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
6527         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
6528         wrapper of w_lgammal_main.c.
6529         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
6530         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6531         defining compatibility symbols.
6532         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
6533         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
6534         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
6535         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
6536         <lgamma-compat.h>.
6537         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
6538         (__ieee754_gamma): Define as alias.
6539         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
6540         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
6541         <lgamma-compat.h>.
6542         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
6543         (__ieee754_gammaf): Define as alias.
6544         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
6545         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
6546         <lgamma-compat.h>.
6547         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
6548         (__ieee754_gammal): Define as alias.
6549         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
6550         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
6551         <math/w_lgamma_compat.c>.
6552         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
6553         Define as alias of __lgamma_compat and use in defining lgammal.
6554         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
6555         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
6556         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
6557         (USE_AS_COMPAT): New macro.
6558         (LGAMMA_OLD_VER): Undefine and redefine.
6559         (lgammal): Do not define here.
6560         (gammal): Only define here if [GAMMA_ALIAS].
6561         * conform/linknamespace.pl (@whitelist): Remove signgam.
6562         * sysdeps/nacl/libm.abilist: Update.
6563         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6564         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6565         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6566         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6567         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6568         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6569         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6570         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6571         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6572         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6573         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6574         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6576         Likewise.
6577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6578         Likewise.
6579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6580         Likewise.
6581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6582         Likewise.
6583         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6584         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6585         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6586         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6587         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6589         Likewise.
6590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6591         Likewise.
6592         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6593         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6594         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6596 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6598         [BZ #16364]
6599         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
6600         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
6602 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6604         * sysdeps/s390/fpu/bits/mathinline.h:
6605         Use __asm__ [__volatile__] instead of asm [volatile].
6606         * sysdeps/s390/abort-instr.h: Likewise.
6607         * sysdeps/s390/atomic-machine.h: Likewise.
6608         * sysdeps/s390/bits/string.h: Likewise.
6609         * sysdeps/s390/dl-tls.h: Likewise.
6610         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6611         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6612         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6613         * sysdeps/s390/fpu/fesetround.c: Likewise.
6614         * sysdeps/s390/fpu/fpu_control.h: Likewise.
6615         * sysdeps/s390/fpu/s_fma.c: Likewise.
6616         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
6617         * sysdeps/s390/memusage.h: Likewise.
6618         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
6619         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
6620         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
6621         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
6622         * sysdeps/s390/nptl/tls.h: Likewise.
6623         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
6624         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6625         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6626         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
6627         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6628         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6629         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
6630         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6631         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6632         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
6633         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
6634         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6635         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6636         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
6637         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6638         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6639         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
6640         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6641         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
6642         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6643         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
6644         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6645         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
6647 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6648             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6650         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6651         Add lwarx hint, and use macro for acquire instruction.
6652         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6653         Likewise.
6654         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
6655         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
6656         update to use new atomic macros.
6658 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6660         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6661         (__lll_trylock_elision): Fix setting of adapt_count.
6662         * sysdeps/unix/sysv/linux/powerpc/htm.h
6663         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
6664         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
6665         (_ABORT_SYSCALL): Renumber, and clarify definition.
6666         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
6668 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6670         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
6671         after system headers to prevent MIN/MAX redefinition.  Define
6672         HAVE_ALLOCA to preserve builtin alloca usage.
6674 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6676         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
6677         static and don't set or restore rounding.
6678         (__cos)[IN_SINCOS]: Likewise.
6679         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
6680         (__sincos): Set and restore rounding mode.  Remove check for infinite
6681         or NaN input.
6683         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
6685         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
6686         as used.
6688 2015-11-16  Florian Weimer  <fweimer@redhat.com>
6690         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
6692 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
6694         * config.make.in (have-glob-dat-reloc): New.
6695         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
6696         target supports GLOB_DAT relocaton. AC_SUBST.
6697         * configure: Regenerated.
6698         * elf/Makefile (tests): Add tst-prelink.
6699         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6700         (tst-prelink-ENV): New.
6701         ($(objpfx)tst-prelink-conflict.out): Likewise.
6702         ($(objpfx)tst-prelink-cmp.out): Likewise.
6703         * sysdeps/x86/tst-prelink.c: Moved to ...
6704         * elf/tst-prelink.c: Here.
6705         * sysdeps/x86/tst-prelink.exp: Moved to ...
6706         * elf/tst-prelink.exp: Here.
6707         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
6708         (tst-prelink-ENV): Removed.
6709         ($(objpfx)tst-prelink-conflict.out): Likewise.
6710         ($(objpfx)tst-prelink-cmp.out): Likewise.
6711         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
6713 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
6715         [BZ #14551]
6716         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
6717         (__mpn_construct_long_double): If high part overflows to infinity,
6718         set errno and recompute overflowed result of the correct sign.
6719         * sysdeps/ieee754/ldbl-128ibm/Makefile
6720         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
6721         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
6722         $(libm).
6723         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
6725 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
6727         [BZ #15479]
6728         [BZ #19238]
6729         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
6730         floating-point state after first operation on input.  Restore full
6731         state rather than just rounding mode.
6732         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6733         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6734         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6736         [BZ #19235]
6737         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
6738         add 0.5 to integer arguments.
6739         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
6740         Likewise.
6741         (.LC2): New object.
6743 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
6745         * scripts/pylintrc (reports): Set to no.
6747 2015-11-10  Roland McGrath  <roland@hack.frob.com>
6749         * elf/dl-load.c (open_verify): Take new argument FD.
6750         Skip __open call if passed FD is not -1.
6751         (_dl_map_object, open_path): Update callers.
6752         * elf/dl-sysdep-open.h: New file.
6753         * elf/dl-load.c: Include it.
6754         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
6755         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
6756         * sysdeps/nacl/dl-sysdep-open.h: New file.
6757         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
6758         from libc to rtld.
6760 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6762         [BZ #19228]
6763         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
6764         and restore full floating-point state.
6765         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6766         Likewise.
6767         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6768         Likewise.
6769         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6770         Likewise.
6771         * math/test-nearbyint-except-2.c: New file.
6772         * math/Makefile (tests): Add test-nearbyint-except-2.
6774 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
6776         [BZ #19178]
6777         * sysdeps/x86/Makefile (tests): Add tst-prelink.
6778         (tst-prelink-ENV): New.
6779         ($(objpfx)tst-prelink-conflict.out): Likewise.
6780         ($(objpfx)tst-prelink-cmp.out): Likewise.
6781         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6782         * sysdeps/x86/tst-prelink.c: New file.
6783         * sysdeps/x86/tst-prelink.exp: Likewise.
6785 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6787         * math/auto-libm-test-in: Add another test of pow.
6788         * math/auto-libm-test-out: Regenerated.
6789         * math/libm-test.inc (pow_test_data): Add another test.
6791 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6793         [BZ #19219]
6794         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
6795         weak_alias to nearbyintl.
6797 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6799         * sysdeps/aarch64/bits/string.h: New file.
6800         (_STRING_ARCH_unaligned): Define.
6802 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6804         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
6805         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6806         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6807         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
6808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
6810 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
6812         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
6813         for original name of the DSO.  Add it to the name list of the DSO
6814         if it is actually given.
6815         (_dl_map_object): Keep track of whether an audit module rewrote
6816         the file name.  If yes, pass the original name to
6817         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
6818         debugging is enabled, log the change of the file name.
6819         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
6820         _dl_map_object_from_fd.
6821         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
6822         * elf/tst-audit11.c: New file
6823         * elf/tst-auditmod11.c: New file.
6824         * elf/tst-audit11mod1.c: New file.
6825         * elf/tst-audit11mod2.c: New file.
6826         * elf/tst-audit11mod2.map: New file.
6827         * elf/tst-audit12.c: New file
6828         * elf/tst-auditmod12.c: New file.
6829         * elf/tst-audit12mod1.c: New file.
6830         * elf/tst-audit12mod2.c: New file.
6831         * elf/tst-audit12mod2.map: New file.
6832         * elf/tst-audit12mod3.c: New file.
6834 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6836         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
6837         Don't create weak aliases,
6838         because versioned symbols are created later.
6839         * sysdeps/s390/s390-32/setjmp.S
6840         (setjmp, _setjmp): Remove weak and rename to an unique name
6841         in SHARED case due to existing versioned symbols.
6842         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6843         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
6844         (getcontext): Create weak alias only in non SHARED case.
6845         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6847 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6849         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
6850         (__ASSUME_*_SYSCALL) Define new macros.
6851         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
6852         Remove socketcall syscalls.
6853         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
6854         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
6855         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
6856         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
6857         * sysdeps/unix/sysv/linux/send.c (__libc_send):
6858         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
6860 2015-11-09  Florian Weimer  <fweimer@redhat.com>
6862         [BZ #12926]
6863         Terminate process on invalid netlink response.
6864         * sysdeps/unix/sysv/linux/netlinkaccess.h
6865         (__netlink_assert_response): Declare.
6866         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
6867         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
6868         (sysdep_routines): Add netlink_assert_response.
6869         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
6870         __netlink_assert_response.
6871         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6872         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6873         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
6874         __netlink_assert_response.
6876 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
6878         [BZ #19178]
6879         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
6880         (RTYPE_CLASS_PLT): Likewise.
6881         (RTYPE_CLASS_COPY): Likewise.
6882         (RTYPE_CLASS_TLS): Likewise.
6883         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
6884         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
6885         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
6886         DL_DEBUG_PRELINK.
6888 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
6890         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
6891         calls with argument -0.5.
6892         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
6894         * configure.ac (libc_cv_z_nodelete): Remove configure test.
6895         (libc_cv_z_nodlopen): Likewise.
6896         (libc_cv_z_initfirst): Likewise.
6897         * configure: Regenerated.
6899 2015-11-06  Florian Weimer  <fweimer@redhat.com>
6901         Simplify abilist format to be line-based.
6902         * scripts/abilist.awk: Collect descriptors in the descs variable.
6903         (emit): Write descs variable and sort it
6904         externally, with sort.
6905         * sysdeps/**/*.abilist: Convert to new format.
6907 2015-11-06  Mark Wielaard  <mjw@redhat.com>
6909         [BZ #11460]
6910         * io/Makefile (routines): Add fts64.
6911         (tests): Add tst-fts and tst-fts-lfs.
6912         (CFLAGS-fts64.c): New.
6913         * io/Versions (GLIBC_2.23): New.
6914         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
6915         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
6916         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
6917         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
6918         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
6919         (FTSENT64): Likewise.
6920         (fts64_children): Likewise.
6921         (fts64_close): Likewise.
6922         (fts64_open): Likewise.
6923         (fts64_read): Likewise.
6924         (fts64_set): Likewise.
6925         * io/fts64.c: New file.
6926         * io/tst-fts.c: New test.
6927         * io/tst-fts-lfs.c: Likewise.
6928         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
6929         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
6930         fts64_set.
6931         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6932         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6933         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6934         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6935         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6936         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6937         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6938         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6939         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6940         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6941         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6942         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6943         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6945         Likewise.
6946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6947         Likewise.
6948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6950         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6951         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6952         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6953         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6954         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6957         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6958         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6959         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6960         * sysdeps/wordsize-64/fts.c: New file.
6961         * sysdeps/wordsize-64/fts64.c: Likewise.
6962         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
6963         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
6964         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
6965         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
6967 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6969         * math/libm-test.inc (NON_FINITE): New macro.
6970         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
6971         * math/gen-libm-test.pl (show_exceptions): Add argument
6972         $non_finite.
6973         (parse_args): Update call to show_exceptions.
6974         * math/test-math-finite.h: New file.
6975         * math/test-math-no-finite.h: Likewise.
6976         * math/test-double-finite.c: Likewise.
6977         * math/test-float-finite.c: Likewise.
6978         * math/test-ldouble-finite.c: Likewise.
6979         * math/test-double.c: Include "test-math-no-finite.h".
6980         * math/test-float.c: Include "test-math-no-finite.h".
6981         * math/test-ldouble.c: Include "test-math-no-finite.h".
6982         * math/test-math-inline.h (TEST_FINITE): New macro.
6983         * math/test-math-vector.h (TEST_FINITE): Likewise.
6984         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
6985         (libm-tests): Add test-float-finite and test-double-finite.
6986         ($(objpfx)test-float-finite.o): New dependency on
6987         $(objpfx)libm-test.stmp.
6988         ($(objpfx)test-double-finite.o): Likewise.
6989         ($(objpfx)test-ldouble-finite.o): Likewise.
6990         (libm-test-no-inline-cflags): New variable.
6991         (libm-test-finite-cflags): Likewise.
6992         (CFLAGS-test-float-finite.c): Likewise.
6993         (CFLAGS-test-double-finite.c): Likewise.
6994         (CFLAGS-test-ldouble-finite.c): Likewise.
6995         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
6996         (CFLAGS-test-double.c): Likewise.
6997         (CFLAGS-test-ldouble.c): Likewise.
6999 2015-11-05  Roland McGrath  <roland@hack.frob.com>
7001         * io/fcntl.c (__fcntl): Add ... to prototype.
7002         * misc/ioctl.c (__ioctl): Likewise.
7003         * misc/syscall.c (syscall): Likewise.
7005 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
7007         * scripts/list-fixed-bugs.py: New file.
7009         [BZ #19213]
7010         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
7011         returned for argument 1.
7012         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
7013         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
7014         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
7015         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
7016         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
7017         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
7019         [BZ #19211]
7020         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
7021         __USE_XOPEN], not if [!__USE_ISOC99].
7022         (lgammaf): Likewise.
7023         (lgammal): Likewise.
7024         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
7025         (gammaf): Likewise.
7026         (gammal): Likewise.
7027         * math/test-signgam-finite-c11.c: New file.
7028         * math/test-signgam-finite-c99.c: Likewise.
7029         * math/test-signgam-finite.c: Likewise.
7030         * math/Makefile (tests): Add test-signgam-finite,
7031         test-signgam-finite-c99 and test-signgam-finite-c11.
7032         (CFLAGS-test-signgam-finite.c): New variable.
7033         (CFLAGS-test-signgam-finite-c99.c): Likewise.
7034         (CFLAGS-test-signgam-finite-c11.c): Likewise.
7036         [BZ #19212]
7037         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
7038         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
7039         500].
7040         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
7041         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
7042         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
7043         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
7044         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
7045         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
7046         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
7047         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
7048         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
7049         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
7051         [BZ #19209]
7052         * math/bits/math-finite.h (ldexp): Remove declaration.
7053         (ldexpf): Likewise.
7054         (ldexpl): Likewise.
7056         [BZ #19205]
7057         * math/bits/math-finite.h (acosf): Condition declaration on
7058         [__USE_ISOC99].
7059         (acosl): Likewise.
7060         (acoshf): Likewise.
7061         (acoshl): Likewise.
7062         (asinf): Likewise.
7063         (asinl): Likewise.
7064         (atan2f): Likewise.
7065         (atan2l): Likewise.
7066         (atanhf): Likewise.
7067         (atanhl): Likewise.
7068         (coshf): Likewise.
7069         (coshl): Likewise.
7070         (expf): Likewise.
7071         (expl): Likewise.
7072         (fmodf): Likewise.
7073         (fmodl): Likewise.
7074         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
7075         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
7076         (j0l): Likewise.
7077         (y0f): Likewise.
7078         (y0l): Likewise.
7079         (j1f): Likewise.
7080         (j1l): Likewise.
7081         (y1f): Likewise.
7082         (y1l): Likewise.
7083         (jnf): Likewise.
7084         (jnl): Likewise.
7085         (ynf): Likewise.
7086         (ynl): Likewise.
7087         (lgammaf_r): Condition declaration on [__USE_ISOC99].
7088         (lgammal_r): Likewise.
7089         (__lgamma_r_finite): New declaration.
7090         (__lgammaf_r_finite): Likewise.
7091         (__lgammal_r_finite): Likewise.
7092         (lgamma): Use __lgamma_r_finite.
7093         (lgammaf): Condition definition on [__USE_ISOC99].  Use
7094         __lgammaf_r_finite.
7095         (lgammal): Condition definition on [__USE_ISOC99].  Use
7096         __lgammal_r_finite.
7097         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
7098         __lgamma_r_finite.
7099         (gammaf): Condition definition on [__USE_ISOC99].  Use
7100         __lgammaf_r_finite.
7101         (gammal): Condition definition on [__USE_ISOC99].  Use
7102         __lgammal_r_finite.
7103         (logf): Condition declaration on [__USE_ISOC99].
7104         (logl): Likewise.
7105         (log10f): Likewise.
7106         (log10l): Likewise.
7107         (ldexpf): Likewise.
7108         (ldexpl): Likewise.
7109         (powf): Likewise.
7110         (powl): Likewise.
7111         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
7112         __USE_ISOC99].
7113         (remainderf): Condition declaration on [__USE_ISOC99].
7114         (remainderl): Likewise.
7115         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
7116         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
7117         (scalbl): Likewise.
7118         (sinhf): Condition declaration on [__USE_ISOC99].
7119         (sinhl): Likewise.
7120         (sqrtf): Likewise.
7121         (sqrtl): Likewise.
7123 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7125         * sysdeps/arm/atomic-machine.h
7126         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7127         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7128         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
7129         Remove conditional code.
7130         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7131         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7132         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
7133         Change conditional to [__ASSEMBLER__].
7134         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7135         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
7136         [!__ASSEMBLER__].
7137         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
7138         code.
7139         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
7140         conditional macro definitions.
7141         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
7142         (__arch_compare_and_exchange_val_16_acq): Likewise.
7143         (__arch_compare_and_exchange_val_32_acq): Likewise.
7144         (atomic_exchange_and_add): Likewise.
7145         (atomic_add): Likewise.
7146         (atomic_add_negative): Likewise.
7147         (atomic_add_zero): Likewise.
7148         (atomic_bit_set): Likewise.
7149         (atomic_bit_test_set): Likewise.
7150         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
7151         code unconditional.
7152         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7154         * math/test-math-errno.h: New file.
7155         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
7156         empty.
7157         (TEST_ERRNO): New macro.
7158         (TEST_EXCEPTIONS): Likewise.
7159         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
7160         (TEST_EXCEPTIONS): Likewise.
7161         * math/test-math-vector.h (TEST_ERRNO): Likewise.
7162         * math/test-double.c: Include "test-math-errno.h".
7163         * math/test-float.c: Likewise.
7164         * math/test-ldouble.c: Likewise.
7165         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
7166         code unconditional.
7167         (test_exceptions): Only run code if TEST_EXCEPTIONS.
7168         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
7169         unconditional.
7170         (test_errno): Only run code if TEST_ERRNO.
7171         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
7173 2015-11-04  Florian Weimer  <fweimer@redhat.com>
7175         * nptl/tst-once5.cc: Remove attribution.
7177 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
7179         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
7180         sqrt, tan, tanh, y0, y1 and yn.
7181         * math/auto-libm-test-out: Regenerated.
7182         * math/libm-test.inc (scalb_test_data): Add more tests.
7183         (scalbn_test_data): Likewise.
7184         (scalbln_test_data): Likewise.
7185         (signbit_test_data): Likewise.
7186         (sin_test_data): Likewise.
7187         (sincos_test_data): Likewise.
7188         (sinh_test_data): Likewise.
7189         (sqrt_test_data): Likewise.
7190         (tan_test_data): Likewise.
7191         (tanh_test_data): Likewise.
7192         (tgamma_test_data): Likewise.
7193         (y0_test_data): Likewise.
7194         (y1_test_data): Likewise.
7195         (yn_test_data): Likewise.
7196         (significand_test_data): Likewise.
7197         * sysdeps/i386/fpu/libm-test-ulps: Update.
7199 2015-11-03  David Kastrup  <dak@gnu.org>
7201         [BZ #18604]
7202         * assert/assert.h (assert): Don't macro-expand failed assertion
7203         expression in error message.
7204         * malloc/malloc.c (assert): Likewise.
7206 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
7208         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
7209         test.
7210         * configure: Regenerated.
7212 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
7214         * math/libm-test.inc (modf_test_data): Add more tests.
7215         (nearbyint_test_data): Likewise.
7216         (nextafter_test_data): Likewise.
7217         (nexttoward_test_data): Likewise.
7218         (pow_test_data): Likewise.
7219         (remainder_test_data): Likewise.
7220         (remquo_test_data): Likewise.
7221         (rint_test_data): Likewise.
7223         [BZ #19201]
7224         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7225         Check for zero remainder in case of large exponents and ensure
7226         correct sign of result in that case.
7227         * math/libm-test.inc (remainder_test_data): Add more tests.
7229         [BZ #6799]
7230         * math/s_nextafter.c: Include <errno.h>.
7231         (__nextafter): Set errno on overflow and underflow.
7232         * math/s_nexttowardf.c: Include <errno.h>.
7233         (__nexttowardf): Set errno on overflow and underflow.
7234         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
7235         (__nextafterl): Set errno on overflow and underflow.
7236         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
7237         (__nexttoward): Set errno on overflow and underflow.
7238         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
7239         (__nexttowardf): Set errno on overflow and underflow.
7240         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
7241         (__nextafterf): Set errno on overflow and underflow.
7242         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
7243         (__nextafterl): Set errno on overflow and underflow.
7244         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
7245         (__nexttoward): Set errno on overflow and underflow.
7246         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
7247         (__nexttowardf): Set errno on overflow and underflow.
7248         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
7249         (__nextafterl): Set errno on overflow and underflow.
7250         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
7251         (__nexttoward): Set errno on overflow and underflow.
7252         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
7253         (__nexttowardf): Set errno on overflow and underflow.
7254         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
7255         (__nexttoward): Set errno on overflow and underflow.
7256         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
7257         (__nexttowardf): Set errno on overflow and underflow.
7258         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
7259         (__nldbl_nexttowardf): Set errno on overflow and underflow.
7260         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
7261         (__nextafterl): Set errno on overflow and underflow.
7262         * math/libm-test.inc (nextafter_test_data): Do not allow errno
7263         setting to be missing on overflow.  Add more tests.
7264         (nexttoward_test_data): Likewise.
7266         * configure.ac (libc_cv_initfini_array): Remove configure test.
7267         * configure: Regenerated.
7269 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
7271         [BZ #19189]
7272         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
7273         non-finite argument handle arguments with negative sign.
7275         * math/libm-test.inc (j0_test_data): Do not test sign of zero
7276         result from infinite argument.
7277         (j1_test_data): Likewise.
7278         (jn_test_data): Likewise.
7279         (y0_test_data): Likewise.
7280         (y1_test_data): Likewise.
7281         (yn_test_data): Likewise.
7283         [BZ #16171]
7284         * math/w_remainder.c (drem): Define as weak alias of __remainder.
7285         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
7286         * math/w_remainderf.c (dremf): Define as weak alias of
7287         __remainderf.
7288         * math/w_remainderl.c (dreml): Define as weak alias of
7289         __remainderl.
7290         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
7291         __remainder.
7292         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
7293         __remainderf.
7294         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
7295         __remainderl.
7296         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
7297         weak alias of remainderl.
7298         * sysdeps/ieee754/ldbl-opt/w_remainder.c
7299         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
7300         alias of __remainder.
7301         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
7302         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
7303         strong alias of __remainderl.
7304         (dreml): Use long_double_symbol.
7305         * math/Makefile (libm-calls): Remove w_drem.
7306         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
7307         (CFLAGS-nldbl-drem.c): Remove variable.
7308         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
7309         * math/w_drem.c: Remove file.
7310         * math/w_dremf.c: Likewise.
7311         * math/w_dreml.c: Likewise.
7312         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
7313         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
7314         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
7316         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
7317         * sysdeps/i386/configure: Regenerated.
7318         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
7319         * sysdeps/x86_64/configure: Regenerated.
7321         * configure.ac (libc_cv_asm_protected_directive): Remove configure
7322         test.
7323         (libc_cv_visibility_attribute): Likewise.
7324         (libc_cv_protected_data): Test unconditionally.
7325         (libc_cv_broken_visibility_attribute): Remove configure test.
7326         (libc_cv_have_sdata_section): Test unconditionally.
7327         * configure: Regenerated.
7329         * include/libc-internal.h (libc_max_align_t): Remove typedef.
7330         * include/scratch_buffer.h: Include <stddef.h> instead of
7331         <libc-internal.h>.
7332         (struct scratch_buffer): Use max_align_t instead of
7333         libc_max_align_t.
7335 2015-10-29  Florian Weimer  <fweimer@redhat.com>
7337         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
7338         instead of extend_alloca.  Change control flow to avoid a goto.
7339         Remove assert which is trivially always true.
7341 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7343         [BZ #16068]
7344         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
7345         (FE_ALL_EXCEPT_X86): New macro.
7346         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7347         FE_ALL_EXCEPT.  Ensure precision control is included in
7348         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7349         handle "denormal operand exception" and clear FZ and DAZ bits.
7350         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
7351         (FE_ALL_EXCEPT_X86): New macro.
7352         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7353         FE_ALL_EXCEPT.  Ensure precision control is included in
7354         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7355         handle "denormal operand exception" and clear FZ and DAZ bits.
7356         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
7357         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
7358         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7359         test-fenv-x87 and test-fenv-sse-2.
7360         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
7362         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
7363         * math/test-double.h (BUILD_COMPLEX): New macro.
7364         * math/test-float.h (BUILD_COMPLEX): Likewise.
7365         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
7367         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
7368         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
7369         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
7370         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
7371         instead of DBL_DENORM_MIN in comment.
7372         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
7373         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7374         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
7375         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
7376         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
7377         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7379 2015-10-28  Florian Weimer  <fweimer@redhat.com>
7381         [BZ# 19048]
7382         * malloc/malloc.c (struct malloc_state): Update comment.  Add
7383         attached_threads member.
7384         (main_arena): Initialize attached_threads.
7385         * malloc/arena.c (list_lock): Update comment.
7386         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
7387         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
7388         (deattach_arena): New function.
7389         (_int_new_arena): Initialize arena reference count and deattach
7390         replaced arena.
7391         (get_free_list, reused_arena): Update reference count and deattach
7392         replaced arena.
7393         (arena_thread_freeres): Update arena reference count and only put
7394         unreferenced arenas on the free list.
7396 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7398         [BZ #19181]
7399         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
7400         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
7401         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
7402         * math/test-fenv-clear-main.c: New file.
7403         * math/test-fenv-clear.c: Likewise.
7404         * math/Makefile (tests): Add test-fenv-clear.
7405         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
7406         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7407         test-fenv-clear-sse.
7408         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
7410         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
7411         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
7412         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
7414 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7416         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
7417         static libc.
7419 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7421         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
7422         test.
7423         * sysdeps/i386/configure: Regenerated.
7424         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
7425         test.
7426         * sysdeps/x86_64/configure: Regenerated.
7427         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
7428         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7429         memset-avx2 unconditionally instead of conditionally on
7430         [$(config-cflags-avx2) = yes].
7431         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7432         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
7433         unconditional.
7434         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
7435         * sysdeps/x86_64/multiarch/memset_chk.S
7436         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
7437         to [IS_IN (libc) && SHARED].
7439 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7441         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
7442         configure test.
7443         * sysdeps/arm/configure: Regenerated.
7444         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
7445         Define variable if not already defined.
7447         [BZ #17404]
7448         * sysdeps/mips/atomic-machine.h
7449         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
7450         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
7451         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7453         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
7454         unconditional.
7455         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
7456         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7457         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
7458         unconditional.
7459         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7460         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
7461         unconditional.
7462         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7463         * stdlib/setenv.c
7464         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
7465         code unconditional.
7466         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
7467         Remove conditional code.
7468         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7469         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
7470         unconditional.
7471         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7472         code.
7473         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7474         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
7475         unconditional.
7476         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7477         code.
7478         * sysdeps/ieee754/ldbl-128/k_tanl.c
7479         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7480         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7481         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7482         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7483         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7484         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7485         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
7486         unconditional.
7487         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7488         code.
7489         * sysdeps/ieee754/ldbl-96/k_tanl.c
7490         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7491         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7493         * nptl/tst-initializers1-c11.c: New file.
7494         * nptl/tst-initializers1-gnu11.c: Likewise.
7495         * nptl/Makefile (tests): Add these new tests.
7496         (CFLAGS-tst-initializers1-c11.c): New variable.
7497         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
7499         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
7500         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
7501         instead of -std=gnu99.
7502         * configure.ac (systemtap): Test with -std=gnu11 instead of
7503         -std=gnu99.
7504         * configure: Regenerated.
7505         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
7506         in compilation command in comment.
7508         * sysdeps/nptl/configure.ac: Remove file.
7509         * sysdeps/nptl/configure: Remove generated file.
7510         * configure.ac (libc_cv_forced_unwind): Do not substitute.
7511         * configure: Regenerated.
7512         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
7513         * config.make.in (have-forced-unwind): Remove variable.
7514         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7515         unconditional.
7516         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
7517         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
7518         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
7519         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
7520         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7521         unconditional.
7523 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7525         [BZ #19174]
7526         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
7527         .skip_lock_out_of_tbegin_retries.
7528         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7529         (__lll_lock_elision): Likewise, and respect a value of
7530         try_tbegin <= 0.
7532 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7534         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
7535         statement.
7537 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7539         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
7540         variable.
7541         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7542         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7544         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
7545         of -std=c1x -D_ISOC11_SOURCE.
7547         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
7548         * configure: Regenerated.
7549         * manual/install.texi (Tools for Compilation): Document
7550         requirement for GCC 4.7 or later.
7551         * INSTALL: Regenerated.
7553 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
7555         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
7556         on CNT to a conditional jump to 'puntdata'.
7558 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7560         * configure.ac (libc_cv_gcc___thread): Remove configure test.
7561         (libc_cv_gcc_tls_model_attr): Likewise.
7562         * configure: Regenerated.
7564         * configure.ac (libc_cv_need_minus_P): Remove configure test.
7565         * configure: Regenerated.
7566         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
7568 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
7570         * configure.ac (old_glibc_headers): Remove configure test.
7571         * configure: Regenerated.
7572         * config.make.in (old-glibc-headers): Remove variable.
7573         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
7574         (install): Remove dependency on remove-old-headers.
7575         (headers2_0): Remove variable.
7576         (remove-old-headers): Remove rule.
7578         * configure.ac (libc_cv_dot_text): Remove configure test.
7579         (libc_cv_asm_set_directive): Use .text instead of
7580         ${libc_cv_dot_text} in configure test.
7581         * configure: Regenerated.
7583 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7585         [BZ #19168]
7586         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7588 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7590         * configure.ac (CXX): Clear the variable if the C++ toolchain does
7591         not support static linking.
7592         * configure: Regenerate.
7594 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
7596         * math/libm-test.inc (check_float_internal): Do not special-case
7597         errors up to 0.5 ulp.
7599         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7600         log2.
7601         * math/auto-libm-test-out: Regenerated.
7602         * math/libm-test.inc (MAX_EXP): New macro.
7603         (ilogb_test_data): Add more tests.
7604         (isfinite_test_data): Likewise.
7605         (isgreater_test_data): Likewise.
7606         (isgreaterequal_test_data): Likewise.
7607         (isinf_test_data): Likewise.
7608         (isless_test_data): Likewise.
7609         (islessequal_test_data): Likewise.
7610         (islessgreater_test_data): Likewise.
7611         (isnan_test_data): Likewise.
7612         (isnormal_test_data): Likewise.
7613         (issignaling_test_data): Likewise.
7614         (isunordered_test_data): Likewise.
7615         (j0_test_data): Likewise.
7616         (j1_test_data): Likewise.
7617         (jn_test_data): Likewise.
7618         (lgamma_test_data): Likewise.
7619         (log_test_data): Likewise.
7620         (log10_test_data): Likewise.
7621         (log1p_test_data): Likewise.
7622         (log2_test_data): Likewise.
7623         (logb_test_data): Likewise.
7624         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7626         [BZ #18611]
7627         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
7628         avoid excess range and precision on underflow.
7629         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7630         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
7631         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7632         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
7633         underflow.
7634         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7635         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7636         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7637         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7638         * math/auto-libm-test-in: Do not allow missing errno setting for
7639         tests of j1 and jn.
7640         * math/auto-libm-test-out: Regenerated.
7642 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
7644         [BZ #15491]
7645         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
7646         floating-point environment instead of clearing all exceptions.
7647         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7648         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
7649         merging in "invalid" exceptions from frndint.
7650         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7651         * math/test-nearbyint-except.c: New file.
7652         * math/Makefile (tests): Add test-nearbyint-except.
7654 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
7656         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
7658         * sysdeps/tile/libm-test-ulps: Regenerated.
7660 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
7663         (__NR_sync_file_range2): Assume it is always defined.
7664         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
7665         (__NR_sync_file_range): Assume it is always defined.
7667 2015-10-22  Andreas Schwab  <schwab@suse.de>
7669         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7670         INTERNAL_SYSCALL_ERRNO.
7671         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7672         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7673         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7674         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7675         Likewise.
7676         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7678 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7680         * io/tst-fcntl.c (fd): New static variable.
7681         (do_prepare): Open temporary file here....
7682         (do_test): ...not here.
7684         * io/ftwtest-sh: Also trap on exit to remove temporary files.
7686 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7688         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
7689         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7690         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7691         Moved before "#ifdef __ASSEMBLER__".
7693 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7695         [BZ #19156]
7696         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
7697         arguments very close to 0.
7699 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
7701         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
7702         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
7704 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7706         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7707         New.  Defined for GCC 5 and above when not compiling for
7708         profiling.
7709         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7711         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7712         Renamed to ...
7713         (CFLAGS-epoll_pwait.o): This.
7714         (CFLAGS-mmap.c): Renamed to ...
7715         (CFLAGS-mmap.o): This.
7716         (CFLAGS-mmap64.c): Renamed to ...
7717         (CFLAGS-mmap64.o): This.
7718         (CFLAGS-epoll_pwait.os): New.
7719         (CFLAGS-mmap.os): Likewise.
7720         (CFLAGS-mmap64.os): Likewise.
7721         (CFLAGS-semtimedop.os): Likewise.
7722         (CFLAGS-semtimedop.c): Renamed to ...
7723         (CFLAGS-semtimedop.o): This.
7725 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7727         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
7728         warning message.
7730 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7732         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
7733         * Makefile ($(objpfx)c++-types-check.out): Filter out
7734         $(+gccwarn-c) instead of -Wstrict-prototypes.
7736         * io/fts.c (fts_open): Convert to prototype-style function
7737         definition.
7738         * malloc/mcheck.c (mcheck): Likewise.
7739         (mcheck_pedantic): Likewise.
7740         * posix/regexec.c (re_search_2_stub): Likewise.  Use
7741         internal_function.
7742         (re_search_internal): Likewise.
7743         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
7744         prototype-style function definition.
7745         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7746         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7747         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
7748         (xdr_utmpptr): Likewise.
7749         (xdr_utmparr): Likewise.
7750         (xdr_utmpidle): Likewise.
7751         (xdr_utmpidleptr): Likewise.
7752         (xdr_utmpidlearr): Likewise.
7754         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
7755         log, log10 and log2.
7756         * math/auto-libm-test-out: Regenerated.
7757         * math/libm-test.inc (fmod_test_data): Add more tests.
7758         (fpclassify_test_data): Likewise.
7759         (frexp_test_data): Likewise.
7760         (hypot_test_data): Likewise.
7761         (ilogb_test_data): Likewise.
7763 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
7765         * debug/fortify_fail.c (__fortify_fail): Convert to
7766         prototype-style function definition.  Use internal_function.
7767         * libio/genops.c (save_for_backup): Convert to prototype-style
7768         function definition.
7769         * libio/wgenops.c (save_for_wbackup): Likewise.
7770         * login/grantpt.c (grantpt): Likewise.
7771         * login/ptsname.c (ptsname): Likewise.
7772         (__ptsname_r): Likewise.
7773         * login/unlockpt.c (unlockpt): Likewise.
7774         * mach/msgserver.c (__mach_msg_server): Likewise.
7775         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
7776         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
7777         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
7778         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
7779         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
7780         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
7781         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
7782         Likewise.
7783         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
7784         internal_function.
7785         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
7786         prototype-style function definition.
7787         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
7788         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
7789         (__pthread_create_2_0): Likewise.
7790         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
7791         * nptl/register-atfork.c (__register_atfork): Likewise.
7792         * posix/glob.c (glob): Likewise.
7793         * posix/regcomp.c (re_comp): Likewise.
7794         * posix/regexec.c (re_exec): Likewise.
7795         * stdlib/add_n.c [__STDC__]: Make code unconditional.
7796         [!__STDC__]: Remove conditional code.
7797         * stdlib/cmp.c [__STDC__]: Make code unconditional.
7798         [!__STDC__]: Remove conditional code.
7799         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
7800         [!__STDC__]: Remove conditional code.
7801         * stdlib/divrem.c [__STDC__]: Make code unconditional.
7802         [!__STDC__]: Remove conditional code.
7803         * stdlib/lshift.c [__STDC__]: Make code unconditional.
7804         [!__STDC__]: Remove conditional code.
7805         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
7806         [!__STDC__]: Remove conditional code.
7807         * stdlib/mul.c [__STDC__]: Make code unconditional.
7808         [!__STDC__]: Remove conditional code.
7809         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
7810         [!__STDC__]: Remove conditional code.
7811         * stdlib/rshift.c [__STDC__]: Make code unconditional.
7812         [!__STDC__]: Remove conditional code.
7813         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
7814         function definition.
7815         (STRTOF): Likewise.
7816         * stdlib/strtod_l.c (__STRTOF): Likewise.
7817         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
7818         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
7819         (__strtol_l): Likewise.
7820         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
7821         [!__STDC__]: Remove conditional code.
7822         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
7823         definition.
7824         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7825         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7826         type.
7827         (__strcasecmp): Convert to prototype-style function definition.
7828         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
7829         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7830         type.
7831         (__strncasecmp): Convert to prototype-style function definition.
7832         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
7833         * sunrpc/xdr.c (xdr_union): Likewise.
7834         * sunrpc/xdr_array.c (xdr_array): Likewise.
7835         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
7836         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
7837         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
7838         Likewise.
7839         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
7840         Likewise.
7841         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
7842         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7843         Likewise.
7844         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
7845         (LOCALE_PARAM_PROTO): Likewise.
7846         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
7847         argument type.
7848         (ut_argument_spec): Remove macro.
7849         (ut_argument_spec_iso): Rename to ut_argument_spec.
7850         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
7851         prototype-style function definition.
7852         (memcpy_uppcase): Likewise.
7853         (__strftime_internal): Likewise.
7854         (my_strftime): Likewise.
7855         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
7856         (LOCALE_PARAM_DECL): Likewise.
7857         [_LIBC] (LOCALE_PARAM): Include argument type.
7858         (__strptime_internal): Convert to prototype-style function
7859         definition.
7860         (strptime): Likewise.
7861         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7862         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7863         type.
7864         (__wcscasecmp): Convert to prototype-style function definition.
7865         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
7866         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7867         type.
7868         (__wcsncasecmp): Convert to prototype-style function definition.
7870         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
7871         function definition.
7872         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7873         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7874         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
7875         * elf/dl-minimal.c (_itoa): Likewise.
7876         * hurd/hurdmalloc.c (malloc): Likewise.
7877         (free): Likewise.
7878         (realloc): Likewise.
7879         * inet/inet6_option.c (inet6_option_space): Likewise.
7880         (inet6_option_init): Likewise.
7881         (inet6_option_append): Likewise.
7882         (inet6_option_alloc): Likewise.
7883         (inet6_option_next): Likewise.
7884         (inet6_option_find): Likewise.
7885         * io/ftw.c (FTW_NAME): Likewise.
7886         (NFTW_NAME): Likewise.
7887         (NFTW_NEW_NAME): Likewise.
7888         (NFTW_OLD_NAME): Likewise.
7889         * libio/iofwide.c (_IO_fwide): Likewise.
7890         * libio/strops.c (_IO_str_init_static_internal): Likewise.
7891         (_IO_str_init_static): Likewise.
7892         (_IO_str_init_readonly): Likewise.
7893         (_IO_str_overflow): Likewise.
7894         (_IO_str_underflow): Likewise.
7895         (_IO_str_count): Likewise.
7896         (_IO_str_seekoff): Likewise.
7897         (_IO_str_pbackfail): Likewise.
7898         (_IO_str_finish): Likewise.
7899         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
7900         (_IO_wstr_overflow): Likewise.
7901         (_IO_wstr_underflow): Likewise.
7902         (_IO_wstr_count): Likewise.
7903         (_IO_wstr_seekoff): Likewise.
7904         (_IO_wstr_pbackfail): Likewise.
7905         (_IO_wstr_finish): Likewise.
7906         * locale/programs/localedef.c (normalize_codeset): Likewise.
7907         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7908         (add_locales_to_archive): Likewise.
7909         (delete_locales_from_archive): Likewise.
7910         * malloc/malloc.c (__libc_mallinfo): Likewise.
7911         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
7912         * misc/tsearch.c (__tfind): Likewise.
7913         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
7914         * nptl/pthread_attr_getdetachstate.c
7915         (__pthread_attr_getdetachstate): Likewise.
7916         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
7917         Likewise.
7918         * nptl/pthread_attr_getinheritsched.c
7919         (__pthread_attr_getinheritsched): Likewise.
7920         * nptl/pthread_attr_getschedparam.c
7921         (__pthread_attr_getschedparam): Likewise.
7922         * nptl/pthread_attr_getschedpolicy.c
7923         (__pthread_attr_getschedpolicy): Likewise.
7924         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
7925         Likewise.
7926         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
7927         Likewise.
7928         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
7929         Likewise.
7930         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
7931         Likewise.
7932         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
7933         (__pthread_attr_init_2_0): Likewise.
7934         * nptl/pthread_attr_setdetachstate.c
7935         (__pthread_attr_setdetachstate): Likewise.
7936         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
7937         Likewise.
7938         * nptl/pthread_attr_setinheritsched.c
7939         (__pthread_attr_setinheritsched): Likewise.
7940         * nptl/pthread_attr_setschedparam.c
7941         (__pthread_attr_setschedparam): Likewise.
7942         * nptl/pthread_attr_setschedpolicy.c
7943         (__pthread_attr_setschedpolicy): Likewise.
7944         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
7945         Likewise.
7946         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
7947         Likewise.
7948         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
7949         Likewise.
7950         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
7951         Likewise.
7952         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
7953         Likewise.
7954         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
7955         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
7956         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
7957         use internal_function.
7958         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
7959         prototype-style function definition.
7960         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
7961         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
7962         internal_function.
7963         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
7964         Convert to prototype-style function definition.
7965         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7966         Likewise.
7967         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
7968         Likewise.
7969         (__pthread_mutex_unlock): Likewise.
7970         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
7971         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
7972         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
7973         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
7974         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
7975         * nss/makedb.c (process_input): Likewise.
7976         * posix/fnmatch.c (__strchrnul): Likewise.
7977         (__wcschrnul): Likewise.
7978         (fnmatch): Likewise.
7979         * posix/fnmatch_loop.c (FCT): Likewise.
7980         * posix/glob.c (globfree): Likewise.
7981         (__glob_pattern_type): Likewise.
7982         (__glob_pattern_p): Likewise.
7983         * posix/regcomp.c (re_compile_pattern): Likewise.
7984         (re_set_syntax): Likewise.
7985         (re_compile_fastmap): Likewise.
7986         (regcomp): Likewise.
7987         (regerror): Likewise.
7988         (regfree): Likewise.
7989         * posix/regexec.c (regexec): Likewise.
7990         (re_match): Likewise.
7991         (re_search): Likewise.
7992         (re_match_2): Likewise.
7993         (re_search_2): Likewise.
7994         (re_search_stub): Likewise.  Use internal_function
7995         (re_copy_regs): Likewise.
7996         (re_set_registers): Convert to prototype-style function
7997         definition.
7998         (prune_impossible_nodes): Likewise.  Use internal_function.
7999         * resolv/inet_net_pton.c (inet_net_pton): Convert to
8000         prototype-style function definition.
8001         (inet_net_pton_ipv4): Likewise.
8002         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8003         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
8004         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8005         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
8006         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8007         Make variadic.
8008         * time/strptime_l.c (localtime_r): Convert to prototype-style
8009         function definition.
8010         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8011         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8012         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8013         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8015         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
8016         definition.
8017         (_ufc_doit_r): Likewise.
8018         * crypt/crypt_util.c (_ufc_copymem): Likewise.
8019         (_ufc_output_conversion_r): Likewise.
8020         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
8021         * inet/rcmd.c (rcmd_af): Likewise.
8022         (rcmd): Likewise.
8023         (ruserok_af): Likewise.
8024         (ruserok): Likewise.
8025         (ruserok2_sa): Likewise.
8026         (ruserok_sa): Likewise.
8027         (iruserok_af): Likewise.
8028         (iruserok): Likewise.
8029         (__ivaliduser): Likewise.
8030         (__validuser2_sa): Likewise.
8031         * inet/rexec.c (rexec_af): Likewise.
8032         (rexec): Likewise.
8033         * inet/ruserpass.c (ruserpass): Likewise.
8034         * locale/programs/xmalloc.c (xcalloc): Likewise.
8035         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
8036         * math/w_drem.c (__drem): Likewise.
8037         * math/w_dremf.c (__dremf): Likewise.
8038         * math/w_dreml.c (__dreml): Likewise.
8039         * misc/daemon.c (daemon): Likewise.
8040         * resolv/res_debug.c (p_fqnname): Likewise.
8041         * stdlib/div.c (div): Likewise.
8042         * string/memcmp.c (memcmp_bytes): Likewise.
8043         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
8044         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
8046         * crypt/cert.c (main): Convert to prototype-style function
8047         definition.
8048         * io/pipe.c (__pipe): Likewise.
8049         * io/pipe2.c (__pipe2): Likewise.
8050         * misc/futimesat.c (futimesat): Likewise.
8051         * misc/utimes.c (__utimes): Likewise.
8052         * posix/execve.c (__execve): Likewise.
8053         * posix/execvp.c (execvp): Likewise.
8054         * posix/execvpe.c (__execvpe): Likewise.
8055         * posix/fexecve.c (fexecve): Likewise.
8056         * socket/socketpair.c (socketpair): Likewise.
8057         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8058         * stdlib/erand48.c (erand48): Likewise.
8059         * stdlib/erand48_r.c (__erand48_r): Likewise.
8060         * stdlib/jrand48.c (jrand48): Likewise.
8061         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
8062         * stdlib/lcong48.c (lcong48): Likewise.
8063         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
8064         * stdlib/nrand48.c (nrand48): Likewise.
8065         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
8066         * stdlib/seed48.c (seed48): Likewise.
8067         * stdlib/seed48_r.c (__seed48_r): Likewise.
8068         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
8069         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
8070         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
8072 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8074         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
8075         * configure: Regenerated.
8076         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
8077         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
8078         unconditional.
8079         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8080         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8081         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8082         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
8083         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
8084         unconditional.
8085         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8087         * posix/Makefile (CFLAGS-regex.c): Remove variable.
8088         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
8090         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
8091         function definition.
8092         * crypt/crypt_util.c (__encrypt_r): Likewise.
8093         * libio/genops.c (_IO_no_init): Likewise.
8094         * libio/iofopncook.c (_IO_fopencookie): Likewise.
8095         (_IO_old_fopencookie): Likewise.
8096         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8097         * libio/iogetline.c (_IO_getline): Likewise.
8098         (_IO_getline_info): Likewise.
8099         * libio/iogetwline.c (_IO_getwline): Likewise.
8100         (_IO_getwline_info): Likewise.
8101         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
8102         * libio/vswprintf.c (_IO_vswprintf): Likewise.
8103         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
8104         (find_entry): Likewise.
8105         (iterate_table): Likewise.
8106         (lookup): Likewise.
8107         * login/forkpty.c (forkpty): Likewise.
8108         * misc/hsearch_r.c (__hsearch_r): Likewise.
8109         * misc/select.c (__select): Likewise.
8110         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
8111         Likewise.
8112         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
8113         Likewise.
8114         * nptl/old_pthread_cond_timedwait.c
8115         (__pthread_cond_timedwait_2_0): Likewise.
8116         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
8117         * nptl/pthread_barrierattr_getpshared.c
8118         (pthread_barrierattr_getpshared): Likewise.
8119         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8120         Likewise.
8121         * nptl/pthread_mutex_setprioceiling.c
8122         (pthread_mutex_setprioceiling): Likewise.
8123         * nptl/pthread_mutexattr_getprioceiling.c
8124         (pthread_mutexattr_getprioceiling): Likewise.
8125         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
8126         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8127         Likewise.
8128         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8129         Likewise.
8130         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
8131         Likewise.
8132         * socket/recvfrom.c (__recvfrom): Likewise.
8133         * socket/sendto.c (__sendto): Likewise.
8134         * socket/setsockopt.c (__setsockopt): Likewise.
8135         * stdio-common/_itoa.c (_itoa): Likewise.
8136         * stdio-common/_itowa.c (_itowa): Likewise.
8137         * stdio-common/reg-printf.c (__register_printf_specifier):
8138         Likewise.
8139         (__register_printf_function): Likewise.
8140         * stdio-common/tempname.c (__path_search): Likewise.
8141         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
8142         * stdlib/mul_1.c (mpn_mul_1): Likewise.
8143         * stdlib/random_r.c (__initstate_r): Likewise.
8144         * stdlib/setenv.c (__add_to_environ): Likewise.
8145         * stdlib/submul_1.c (mpn_submul_1): Likewise.
8146         * streams/getpmsg.c (getpmsg): Likewise.
8147         * streams/putmsg.c (putmsg): Likewise.
8148         * streams/putpmsg.c (putpmsg): Likewise.
8149         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
8150         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8151         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
8152         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
8153         * sunrpc/pm_getport.c (pmap_getport): Likewise.
8154         * sunrpc/svc_udp.c (cache_get): Likewise.
8155         * sunrpc/xdr_array.c (xdr_vector): Likewise.
8156         * sysdeps/mach/hurd/getcwd.c
8157         (__canonicalize_directory_name_internal): Likewise.
8158         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
8159         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
8160         * sysdeps/mach/hurd/select.c (__select): Likewise.
8161         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
8162         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
8163         * sysdeps/sparc/nptl/pthread_barrier_init.c
8164         (__pthread_barrier_init): Likewise.
8165         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
8166         (__pthread_cond_timedwait): Likewise.
8167         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
8168         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
8169         Likewise.
8170         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
8171         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
8172         Likewise.
8173         * sysvipc/semtimedop.c (semtimedop): Likewise.
8174         * time/setitimer.c (__setitimer): Likewise.
8175         * time/strftime_l.c (emacs_strftime): Likewise.
8177 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8179         * config.make.in (have-ssp): Delete.
8180         (stack-protector): New variable.
8181         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
8182         cache test for -fstack-protector-strong.  Export stack_protector to
8183         the best ssp flag.
8184         * configure: Regenerated.
8185         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
8186         * nscd/Makefile (CFLAGS-nscd): Likewise.
8187         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8189 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
8191         [BZ #19122]
8192         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
8193         attribute_hidden.
8195 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8197         [BZ #18743]
8198         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
8199         code to...
8200         (ELIDE_LOCK): ...here.
8201         (__get_new_count): New function with part of the code from
8202         __elide_lock that updates the value of adapt_count after a
8203         transaction abort.
8204         (__elided_trylock): Moved this code to...
8205         (ELIDE_TRYLOCK): ...here.
8207 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8209         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
8210         * configure: Regenerate.
8211         * INSTALL: Regenerate.
8212         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
8213         and tweak grammar.
8215 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
8217         * login/programs/pt_chown.c: Include signal.h
8218         (main): Clear any signal mask from the parent process.
8220 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8222         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
8223         * configure: Regenerated.
8224         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
8225         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
8226         $(gnu89-inline-CFLAGS).
8228         * configure.ac (libc_cv_asm_weak_directive): Remove configure
8229         test.
8230         (libc_cv_asm_weakext_directive): Likewise.
8231         * configure: Regenerated.
8232         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
8233         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
8234         * include/libc-symbols.h
8235         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
8236         #error.
8237         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
8238         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
8240         * sysdeps/arm/backtrace.c (__backtrace): Convert to
8241         prototype-style function definition.
8242         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8243         * sysdeps/i386/ffs.c (__ffs): Likewise.
8244         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8245         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
8246         Likewise.
8247         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8248         Likewise.
8249         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8250         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8251         Likewise.
8252         * sysdeps/m68k/ffs.c (__ffs): Likewise.
8253         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
8254         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
8255         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
8256         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
8257         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
8258         * sysdeps/mach/hurd/access.c (__access): Likewise.
8259         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
8260         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
8261         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
8262         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
8263         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
8264         (cthread_getspecific): Likewise.
8265         (cthread_setspecific): Likewise.
8266         (__libc_getspecific): Likewise.
8267         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
8268         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
8269         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
8270         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
8271         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
8272         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
8273         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
8274         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
8275         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
8276         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
8277         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
8278         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8279         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
8280         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
8281         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
8282         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
8283         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
8284         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
8285         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
8286         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
8287         * sysdeps/mach/hurd/link.c (__link): Likewise.
8288         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
8289         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
8290         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
8291         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
8292         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8293         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
8294         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
8295         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
8296         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8297         * sysdeps/mach/hurd/rename.c (rename): Likewise.
8298         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
8299         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8300         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
8301         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
8302         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
8303         * sysdeps/mach/hurd/send.c (__send): Likewise.
8304         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
8305         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
8306         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
8307         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
8308         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
8309         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
8310         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
8311         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
8312         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
8313         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
8314         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
8315         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
8316         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
8317         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
8318         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
8319         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
8320         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
8321         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
8322         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
8323         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8324         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
8325         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
8326         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
8327         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
8328         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
8329         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
8330         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
8331         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8332         * sysdeps/posix/alarm.c (alarm): Likewise.
8333         * sysdeps/posix/cuserid.c (cuserid): Likewise.
8334         * sysdeps/posix/dirfd.c (dirfd): Likewise.
8335         * sysdeps/posix/dup.c (__dup): Likewise.
8336         * sysdeps/posix/dup2.c (__dup2): Likewise.
8337         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
8338         (main): Likewise.
8339         * sysdeps/posix/flock.c (__flock): Likewise.
8340         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
8341         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8342         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
8343         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
8344         * sysdeps/posix/isatty.c (__isatty): Likewise.
8345         * sysdeps/posix/killpg.c (killpg): Likewise.
8346         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8347         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
8348         * sysdeps/posix/raise.c (raise): Likewise.
8349         * sysdeps/posix/remove.c (remove): Likewise.
8350         * sysdeps/posix/rename.c (rename): Likewise.
8351         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
8352         * sysdeps/posix/seekdir.c (seekdir): Likewise.
8353         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
8354         * sysdeps/posix/sigignore.c (sigignore): Likewise.
8355         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
8356         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
8357         * sysdeps/posix/sigset.c (sigset): Likewise.
8358         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
8359         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8360         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
8361         * sysdeps/posix/time.c (time): Likewise.
8362         * sysdeps/posix/ttyname.c (getttyname): Likewise.
8363         (ttyname): Likewise.
8364         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
8365         * sysdeps/posix/utime.c (utime): Likewise.
8366         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
8367         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8368         Likewise.
8369         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
8370         (pthread_spin_trylock): Likewise.
8371         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
8372         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
8373         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
8374         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
8375         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
8376         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
8377         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
8378         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
8379         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
8380         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
8381         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
8382         * sysdeps/s390/ffs.c (__ffs): Likewise.
8383         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
8384         Likewise.
8385         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8386         Likewise.
8387         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
8388         Likewise.
8389         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
8390         (pthread_barrier_destroy): Likewise.
8391         * sysdeps/sparc/nptl/pthread_barrier_wait.c
8392         (__pthread_barrier_wait): Likewise.
8393         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
8394         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8395         (__pthread_barrier_wait): Likewise.
8396         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
8397         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
8398         (memcmp_not_common_alignment): Likewise.
8399         (MEMCMP): Likewise.
8400         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
8401         (_wordcopy_fwd_dest_aligned): Likewise.
8402         (_wordcopy_bwd_aligned): Likewise.
8403         (_wordcopy_bwd_dest_aligned): Likewise.
8404         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
8405         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
8406         * sysdeps/unix/bsd/stty.c (stty): Likewise.
8407         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
8408         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
8409         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
8410         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
8411         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
8412         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
8413         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
8414         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
8415         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8416         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
8417         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
8418         * sysdeps/unix/stime.c (stime): Likewise.
8419         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
8420         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
8421         Likewise.  Use internal_function.
8422         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
8423         Convert to prototype-style function definition.
8424         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8425         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8426         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
8427         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8428         Likewise.  Use internal_function.
8429         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
8430         prototype-style function definition
8431         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8432         Likewise.
8433         (__getlogin_r): Likewise.
8434         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
8435         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
8436         (__pthread_cond_broadcast): Likewise.
8437         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
8438         (__pthread_cond_destroy): Likewise.
8439         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
8440         (__pthread_cond_init): Likewise.
8441         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
8442         (__pthread_cond_signal): Likewise.
8443         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8444         (__pthread_cond_wait): Likewise.
8445         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
8446         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8447         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
8448         Likewise.
8449         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
8450         Likewise.
8451         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
8452         Likewise.
8453         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
8454         Likewise.
8455         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
8456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
8457         (__ftruncate64): Likewise.
8458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
8459         (truncate64): Likewise.
8460         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
8461         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
8462         (pthread_getcpuclockid): Likewise.
8463         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8464         Likewise.
8465         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8466         Likewise.
8467         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
8468         Likewise.
8469         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8470         Likewise.
8471         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
8472         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
8473         (__libc_sigaction): Likewise.
8474         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
8475         Likewise.
8476         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
8477         (__sigprocmask): Likewise.
8478         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
8479         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
8480         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
8481         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8482         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8483         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
8484         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8485         Likewise.
8486         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
8487         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
8488         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8489         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
8490         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
8491         Likewise.
8492         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
8493         (__sigprocmask): Likewise.
8494         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
8495         (cfgetispeed): Likewise.
8496         (cfsetospeed): Likewise.
8497         (cfsetispeed): Likewise.
8498         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
8499         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
8500         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8501         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8502         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
8503         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
8504         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
8505         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
8506         Likewise.
8507         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
8508         Likewise.
8509         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
8510         Likewise.
8511         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
8512         Likewise.
8513         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8515 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8517         sunrpc: Rewrite with explicit TLS access using __thread.
8518         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
8519         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
8520         directly.
8521         (__rpc_thread_variables): Access thread_rpc_vars directly.
8522         Eliminate redundant assignment of the tvp variable.
8524 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8526         malloc: Rewrite with explicit TLS access using __thread.
8527         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
8528         (tsd_setspecific, tsd_getspecific): Remove.
8529         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
8530         (tsd_setspecific, tsd_getspecific): Likewise.
8531         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
8532         (tsd_setspecific, tsd_getspecific): Likewise.
8533         * malloc/arena.c (thread_arena): New TLS variable.
8534         (arena_key): Remove variable.
8535         (arena_get): Use thread_arena.
8536         (arena_lookup): Remove macro.
8537         (malloc_atfork, free_atfork, ptmalloc_lock_all)
8538         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
8539         (_int_new_arena, get_free_list, reused_arena)
8540         (arena_thread_freeres): Use thread_arena.
8541         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
8542         tsd_getspecific, tsd_setspecific from safety annotations.
8543         (Allocating Cleared Space): Remove arena_lookup from safety
8544         annotations.
8546 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8548         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
8549         struct scratch_buffer instead of extend_alloca.
8551 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8553         * sysdeps/unix/sysv/linux/kernel-features.h
8554         (__ASSUME_SOCK_CLOEXEC): Remove.
8555         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
8556         (__have_paccept): Remove unused macro.
8557         * include/unistd.h (__have_sock_cloexec): Remove declaration.
8558         * misc/syslog.c (openlog_internal): Remove fallback code for
8559         !__ASSUME_SOCK_CLOEXEC.
8560         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
8561         missing SOCK_CLOEXEC.
8562         * nscd/connections.c (have_sock_cloexec): Remove definition.
8563         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8564         * nscd/nscd_helper.c (open_socket): Remove fallback code for
8565         !__ASSUME_SOCK_CLOEXEC.
8566         * resolv/res_send.c (__have_o_nonblock): Remove definition.
8567         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8568         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
8569         definition.
8570         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
8571         code for !__ASSUME_SOCK_CLOEXEC.
8573 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8575         [BZ #18982]
8576         * manual/stdio.texi (Variable Arguments Output): Add portability
8577         note, explaining that vfprintf clobbers the va_list pointer.
8579 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8581         * math/libm-test.inc (fabs_test_data): Add more tests.
8582         (fdim_test_data): Likewise.
8583         (fma_test_data): Likewise.
8584         (fmax_test_data): Likewise.
8585         (fmin_test_data): Likewise.
8586         (fmod_test_data): Likewise.
8588 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
8590         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
8591         data.
8593 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8595         * math/libm-test.inc (ceil_test_data): Add more tests and more
8596         expectations for "inexact".
8597         (floor_test_data): Add more tests.
8598         (round_test_data): Likewise.
8599         (trunc_test_data): Likewise.
8601         * crypt/cert.c (good_bye): Convert to prototype-style function
8602         definition.
8603         (get8): Likewise.
8604         (put8): Likewise.
8605         * crypt/crypt-entry.c (crypt): Likewise.
8606         (__fcrypt): Likewise.
8607         * crypt/crypt_util.c (_ufc_prbits): Likewise.
8608         (_ufc_set_bits): Likewise.
8609         (_ufc_clearmem): Likewise.
8610         (__init_des_r): Likewise.
8611         (shuffle_sb): Likewise.
8612         (shuffle_sb): Likewise.
8613         (_ufc_setup_salt_r): Likewise.
8614         (_ufc_mk_keytab_r): Likewise.
8615         (_ufc_dofinalperm_r): Likewise.
8616         (encrypt): Likewise.
8617         (__setkey_r): Likewise.
8618         (setkey): Likewise.
8619         * crypt/md5.c (md5_init_ctx): Likewise.
8620         (md5_read_ctx): Likewise.
8621         (md5_finish_ctx): Likewise.
8622         (md5_stream): Likewise.
8623         (md5_buffer): Likewise.
8624         (md5_process_bytes): Likewise.
8625         * crypt/sha256.c (__sha256_init_ctx): Likewise.
8626         (__sha256_finish_ctx): Likewise.
8627         (__sha256_process_bytes): Likewise.
8628         * crypt/sha512.c (__sha512_init_ctx): Likewise.
8629         (__sha512_finish_ctx): Likewise.
8630         (__sha512_process_bytes): Likewise.
8631         * ctype/isctype.c (__isctype): Likewise.
8632         * debug/backtrace.c (__backtrace): Likewise.
8633         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
8634         * debug/fgets_chk.c (__fgets_chk): Likewise.
8635         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
8636         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
8637         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8638         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8639         * debug/memset_chk.c (__memset_chk): Likewise.
8640         * debug/strcat_chk.c (__strcat_chk): Likewise.
8641         * debug/strncat_chk.c (__strncat_chk): Likewise.
8642         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
8643         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
8644         * dirent/dirfd.c (dirfd): Likewise.
8645         * dirent/getdents.c (__getdirentries): Likewise.
8646         * dirent/getdents64.c (getdirentries64): Likewise.
8647         * dirent/rewinddir.c (__rewinddir): Likewise.
8648         * dirent/seekdir.c (seekdir): Likewise.
8649         * dirent/telldir.c (telldir): Likewise.
8650         * elf/sln.c (makesymlinks): Likewise.
8651         (makesymlink): Likewise.
8652         * gmon/gmon.c (__moncontrol): Likewise.
8653         (__monstartup): Likewise.
8654         (write_hist): Likewise.
8655         (write_call_graph): Likewise.
8656         (write_bb_counts): Likewise.
8657         * grp/setgroups.c (setgroups): Likewise.
8658         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8659         * inet/inet_net.c (inet_network): Likewise.
8660         * inet/inet_netof.c (inet_netof): Likewise.
8661         * inet/rcmd.c (rresvport_af): Likewise.
8662         (rresvport): Likewise.
8663         * io/access.c (__access): Likewise.
8664         * io/chdir.c (__chdir): Likewise.
8665         * io/chmod.c (__chmod): Likewise.
8666         * io/chown.c (__chown): Likewise.
8667         * io/close.c (__close): Likewise.
8668         * io/creat.c (creat): Likewise.
8669         * io/creat64.c (creat64): Likewise.
8670         * io/dup.c (__dup): Likewise.
8671         * io/dup2.c (__dup2): Likewise.
8672         * io/dup3.c (__dup3): Likewise.
8673         * io/euidaccess.c (__euidaccess): Likewise.
8674         * io/faccessat.c (faccessat): Likewise.
8675         * io/fchmod.c (__fchmod): Likewise.
8676         * io/fchmodat.c (fchmodat): Likewise.
8677         * io/fchown.c (__fchown): Likewise.
8678         * io/fchownat.c (fchownat): Likewise.
8679         * io/fcntl.c (__fcntl): Likewise.
8680         * io/flock.c (__flock): Likewise.
8681         * io/fts.c (fts_load): Likewise.
8682         (fts_close): Likewise.
8683         (fts_read): Likewise.
8684         (fts_set): Likewise.
8685         (fts_children): Likewise.
8686         (fts_build): Likewise.
8687         (fts_stat): Likewise.
8688         (fts_sort): Likewise.
8689         (fts_alloc): Likewise.
8690         (fts_lfree): Likewise.
8691         (fts_palloc): Likewise.
8692         (fts_padjust): Likewise.
8693         (fts_maxarglen): Likewise.
8694         (fts_safe_changedir): Likewise.
8695         * io/getwd.c (getwd): Likewise.
8696         * io/isatty.c (__isatty): Likewise.
8697         * io/lchown.c (__lchown): Likewise.
8698         * io/link.c (__link): Likewise.
8699         * io/linkat.c (linkat): Likewise.
8700         * io/lseek.c (__libc_lseek): Likewise.
8701         * io/mkdir.c (__mkdir): Likewise.
8702         * io/mkdirat.c (mkdirat): Likewise.
8703         * io/mkfifo.c (mkfifo): Likewise.
8704         * io/mkfifoat.c (mkfifoat): Likewise.
8705         * io/open.c (__libc_open): Likewise.
8706         * io/open64.c (__libc_open64): Likewise.
8707         * io/readlink.c (__readlink): Likewise.
8708         * io/readlinkat.c (readlinkat): Likewise.
8709         * io/rmdir.c (__rmdir): Likewise.
8710         * io/symlink.c (__symlink): Likewise.
8711         * io/symlinkat.c (symlinkat): Likewise.
8712         * io/ttyname.c (ttyname): Likewise.
8713         * io/ttyname_r.c (__ttyname_r): Likewise.
8714         * io/umask.c (__umask): Likewise.
8715         * io/unlink.c (__unlink): Likewise.
8716         * io/unlinkat.c (unlinkat): Likewise.
8717         * io/utime.c (utime): Likewise.
8718         * libio/clearerr.c (clearerr): Likewise.
8719         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
8720         * libio/feof.c (_IO_feof): Likewise.
8721         * libio/feof_u.c (feof_unlocked): Likewise.
8722         * libio/ferror.c (_IO_ferror): Likewise.
8723         * libio/ferror_u.c (ferror_unlocked): Likewise.
8724         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8725         * libio/fileno.c (__fileno): Likewise.
8726         * libio/fputc.c (fputc): Likewise.
8727         * libio/fputc_u.c (fputc_unlocked): Likewise.
8728         * libio/fputwc.c (fputwc): Likewise.
8729         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
8730         * libio/freopen.c (freopen): Likewise.
8731         * libio/freopen64.c (freopen64): Likewise.
8732         * libio/fseek.c (fseek): Likewise.
8733         * libio/fseeko.c (fseeko): Likewise.
8734         * libio/fseeko64.c (fseeko64): Likewise.
8735         * libio/ftello.c (__ftello): Likewise.
8736         * libio/ftello64.c (ftello64): Likewise.
8737         * libio/fwide.c (fwide): Likewise.
8738         * libio/genops.c (_IO_un_link): Likewise.
8739         (_IO_link_in): Likewise.
8740         (_IO_least_marker): Likewise.
8741         (_IO_switch_to_main_get_area): Likewise.
8742         (_IO_switch_to_backup_area): Likewise.
8743         (_IO_switch_to_get_mode): Likewise.
8744         (_IO_free_backup_area): Likewise.
8745         (_IO_switch_to_put_mode): Likewise.
8746         (__overflow): Likewise.
8747         (__underflow): Likewise.
8748         (__uflow): Likewise.
8749         (_IO_setb): Likewise.
8750         (_IO_doallocbuf): Likewise.
8751         (_IO_default_underflow): Likewise.
8752         (_IO_default_uflow): Likewise.
8753         (_IO_default_xsputn): Likewise.
8754         (_IO_sgetn): Likewise.
8755         (_IO_default_xsgetn): Likewise.
8756         (_IO_sync): Likewise.
8757         (_IO_default_setbuf): Likewise.
8758         (_IO_default_seekpos): Likewise.
8759         (_IO_default_doallocate): Likewise.
8760         (_IO_init): Likewise.
8761         (_IO_old_init): Likewise.
8762         (_IO_default_sync): Likewise.
8763         (_IO_default_finish): Likewise.
8764         (_IO_default_seekoff): Likewise.
8765         (_IO_sputbackc): Likewise.
8766         (_IO_sungetc): Likewise.
8767         (_IO_set_column): Likewise.
8768         (_IO_set_column): Likewise.
8769         (_IO_adjust_column): Likewise.
8770         (_IO_get_column): Likewise.
8771         (_IO_init_marker): Likewise.
8772         (_IO_remove_marker): Likewise.
8773         (_IO_marker_difference): Likewise.
8774         (_IO_marker_delta): Likewise.
8775         (_IO_seekmark): Likewise.
8776         (_IO_unsave_markers): Likewise.
8777         (_IO_nobackup_pbackfail): Likewise.
8778         (_IO_default_pbackfail): Likewise.
8779         (_IO_default_seek): Likewise.
8780         (_IO_default_stat): Likewise.
8781         (_IO_default_read): Likewise.
8782         (_IO_default_write): Likewise.
8783         (_IO_default_showmanyc): Likewise.
8784         (_IO_default_imbue): Likewise.
8785         (_IO_iter_next): Likewise.
8786         (_IO_iter_file): Likewise.
8787         * libio/getc.c (_IO_getc): Likewise.
8788         * libio/getwc.c (_IO_getwc): Likewise.
8789         * libio/iofclose.c (_IO_new_fclose): Likewise.
8790         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8791         * libio/iofflush.c (_IO_fflush): Likewise.
8792         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
8793         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
8794         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
8795         * libio/iofgets.c (_IO_fgets): Likewise.
8796         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
8797         * libio/iofgetws.c (fgetws): Likewise.
8798         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8799         * libio/iofopen64.c (_IO_fopen64): Likewise.
8800         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8801         (_IO_cookie_write): Likewise.
8802         (_IO_cookie_seek): Likewise.
8803         (_IO_cookie_close): Likewise.
8804         (_IO_cookie_seekoff): Likewise.
8805         (_IO_old_cookie_seek): Likewise.
8806         * libio/iofputs.c (_IO_fputs): Likewise.
8807         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
8808         * libio/iofputws.c (fputws): Likewise.
8809         * libio/iofputws_u.c (fputws_unlocked): Likewise.
8810         * libio/iofread.c (_IO_fread): Likewise.
8811         * libio/iofread_u.c (__fread_unlocked): Likewise.
8812         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
8813         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
8814         * libio/ioftell.c (_IO_ftell): Likewise.
8815         * libio/iofwrite.c (_IO_fwrite): Likewise.
8816         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8817         * libio/iogets.c (_IO_gets): Likewise.
8818         * libio/iopadn.c (_IO_padn): Likewise.
8819         * libio/iopopen.c (_IO_new_proc_open): Likewise.
8820         (_IO_new_popen): Likewise.
8821         (_IO_new_proc_close): Likewise.
8822         * libio/ioputs.c (_IO_puts): Likewise.
8823         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
8824         (_IO_seekoff): Likewise.
8825         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
8826         (_IO_seekpos): Likewise.
8827         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
8828         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
8829         * libio/ioungetc.c (_IO_ungetc): Likewise.
8830         * libio/ioungetwc.c (ungetwc): Likewise.
8831         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8832         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
8833         * libio/iowpadn.c (_IO_wpadn): Likewise.
8834         * libio/libc_fatal.c (__libc_fatal): Likewise.
8835         * libio/memstream.c (__open_memstream): Likewise.
8836         (_IO_mem_sync): Likewise.
8837         (_IO_mem_finish): Likewise.
8838         * libio/oldfileops.c (_IO_old_file_init): Likewise.
8839         (_IO_old_file_close_it): Likewise.
8840         (_IO_old_file_finish): Likewise.
8841         (_IO_old_file_fopen): Likewise.
8842         (_IO_old_file_attach): Likewise.
8843         (_IO_old_file_setbuf): Likewise.
8844         (_IO_old_do_write): Likewise.
8845         (old_do_write): Likewise.
8846         (_IO_old_file_underflow): Likewise.
8847         (_IO_old_file_overflow): Likewise.
8848         (_IO_old_file_sync): Likewise.
8849         (_IO_old_file_seekoff): Likewise.
8850         (_IO_old_file_write): Likewise.
8851         (_IO_old_file_xsputn): Likewise.
8852         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
8853         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8854         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
8855         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
8856         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8857         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
8858         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
8859         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
8860         (_IO_old_popen): Likewise.
8861         (_IO_old_proc_close): Likewise.
8862         * libio/oldpclose.c (__old_pclose): Likewise.
8863         * libio/pclose.c (__new_pclose): Likewise.
8864         * libio/peekc.c (_IO_peekc_locked): Likewise.
8865         * libio/putc.c (_IO_putc): Likewise.
8866         * libio/putc_u.c (putc_unlocked): Likewise.
8867         * libio/putchar.c (putchar): Likewise.
8868         * libio/putchar_u.c (putchar_unlocked): Likewise.
8869         * libio/putwc.c (putwc): Likewise.
8870         * libio/putwc_u.c (putwc_unlocked): Likewise.
8871         * libio/putwchar.c (putwchar): Likewise.
8872         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
8873         * libio/rewind.c (rewind): Likewise.
8874         * libio/setbuf.c (setbuf): Likewise.
8875         * libio/setlinebuf.c (setlinebuf): Likewise.
8876         * libio/vasprintf.c (_IO_vasprintf): Likewise.
8877         * libio/vscanf.c (_IO_vscanf): Likewise.
8878         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
8879         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
8880         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8881         * libio/wgenops.c (_IO_least_wmarker): Likewise.
8882         (_IO_switch_to_main_wget_area): Likewise.
8883         (_IO_switch_to_wbackup_area): Likewise.
8884         (_IO_wsetb): Likewise.
8885         (_IO_wdefault_pbackfail): Likewise.
8886         (_IO_wdefault_finish): Likewise.
8887         (_IO_wdefault_uflow): Likewise.
8888         (__woverflow): Likewise.
8889         (__wuflow): Likewise.
8890         (__wunderflow): Likewise.
8891         (_IO_wdefault_xsputn): Likewise.
8892         (_IO_wdefault_xsgetn): Likewise.
8893         (_IO_wdoallocbuf): Likewise.
8894         (_IO_wdefault_doallocate): Likewise.
8895         (_IO_switch_to_wget_mode): Likewise.
8896         (_IO_free_wbackup_area): Likewise.
8897         (_IO_switch_to_wput_mode): Likewise.
8898         (_IO_sputbackwc): Likewise.
8899         (_IO_sungetwc): Likewise.
8900         (_IO_adjust_wcolumn): Likewise.
8901         (_IO_init_wmarker): Likewise.
8902         (_IO_wmarker_delta): Likewise.
8903         (_IO_seekwmark): Likewise.
8904         (_IO_unsave_wmarkers): Likewise.
8905         * libio/wmemstream.c (open_wmemstream): Likewise.
8906         (_IO_wmem_sync): Likewise.
8907         (_IO_wmem_finish): Likewise.
8908         * locale/nl_langinfo.c (nl_langinfo): Likewise.
8909         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
8910         * locale/programs/simple-hash.c (init_hash): Likewise.
8911         (delete_hash): Likewise.
8912         (insert_entry): Likewise.
8913         (set_entry): Likewise.
8914         (next_prime): Likewise.
8915         (is_prime): Likewise.
8916         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
8917         (xmalloc): Likewise.
8918         (xrealloc): Likewise.
8919         * locale/programs/xstrdup.c (xstrdup): Likewise.
8920         * localedata/collate-test.c (xstrcoll): Likewise.
8921         * localedata/xfrm-test.c (xstrcmp): Likewise.
8922         * login/getlogin_r.c (__getlogin_r): Likewise.
8923         * login/getpt.c (__posix_openpt): Likewise.
8924         * login/login_tty.c (login_tty): Likewise.
8925         * login/setlogin.c (setlogin): Likewise.
8926         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
8927         (mach_msg_destroy_port): Likewise.
8928         (mach_msg_destroy_memory): Likewise.
8929         * malloc/mcheck.c (flood): Likewise.
8930         * misc/acct.c (acct): Likewise.
8931         * misc/brk.c (__brk): Likewise.
8932         * misc/chflags.c (chflags): Likewise.
8933         * misc/chroot.c (chroot): Likewise.
8934         * misc/fchflags.c (fchflags): Likewise.
8935         * misc/fstab.c (getfsspec): Likewise.
8936         (getfsfile): Likewise.
8937         * misc/fsync.c (fsync): Likewise.
8938         * misc/ftruncate.c (__ftruncate): Likewise.
8939         * misc/ftruncate64.c (__ftruncate64): Likewise.
8940         * misc/getdomain.c (getdomainname): Likewise.
8941         (getdomainname): Likewise.
8942         * misc/gethostname.c (__gethostname): Likewise.
8943         * misc/getpass.c (getpass): Likewise.
8944         * misc/getttyent.c (skip): Likewise.
8945         (value): Likewise.
8946         * misc/gtty.c (gtty): Likewise.
8947         * misc/hsearch.c (hsearch): Likewise.
8948         (hcreate): Likewise.
8949         * misc/hsearch_r.c (__hcreate_r): Likewise.
8950         (__hdestroy_r): Likewise.
8951         * misc/ioctl.c (__ioctl): Likewise.
8952         * misc/mkdtemp.c (mkdtemp): Likewise.
8953         * misc/mkostemp.c (mkostemp): Likewise.
8954         * misc/mkostemp64.c (mkostemp64): Likewise.
8955         * misc/mkostemps.c (mkostemps): Likewise.
8956         * misc/mkostemps64.c (mkostemps64): Likewise.
8957         * misc/mkstemp.c (mkstemp): Likewise.
8958         * misc/mkstemp64.c (mkstemp64): Likewise.
8959         * misc/mkstemps.c (mkstemps): Likewise.
8960         * misc/mkstemps64.c (mkstemps64): Likewise.
8961         * misc/mktemp.c (__mktemp): Likewise.
8962         * misc/preadv.c (preadv): Likewise.
8963         * misc/preadv64.c (preadv64): Likewise.
8964         * misc/pwritev.c (pwritev): Likewise.
8965         * misc/pwritev64.c (pwritev64): Likewise.
8966         * misc/readv.c (__readv): Likewise.
8967         * misc/revoke.c (revoke): Likewise.
8968         * misc/setdomain.c (setdomainname): Likewise.
8969         * misc/setegid.c (setegid): Likewise.
8970         * misc/seteuid.c (seteuid): Likewise.
8971         * misc/sethostid.c (sethostid): Likewise.
8972         * misc/sethostname.c (sethostname): Likewise.
8973         * misc/setregid.c (__setregid): Likewise.
8974         * misc/setreuid.c (__setreuid): Likewise.
8975         * misc/sstk.c (sstk): Likewise.
8976         * misc/stty.c (stty): Likewise.
8977         * misc/syscall.c (syscall): Likewise.
8978         * misc/syslog.c (setlogmask): Likewise.
8979         * misc/truncate.c (__truncate): Likewise.
8980         * misc/truncate64.c (truncate64): Likewise.
8981         * misc/ualarm.c (ualarm): Likewise.
8982         * misc/usleep.c (usleep): Likewise.
8983         * misc/ustat.c (ustat): Likewise.
8984         * misc/writev.c (__writev): Likewise.
8985         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
8986         * nptl/old_pthread_cond_broadcast.c
8987         (__pthread_cond_broadcast_2_0): Likewise.
8988         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
8989         Likewise.
8990         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
8991         Likewise.
8992         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
8993         Likewise.
8994         * nptl/pt-raise.c (raise): Likewise.
8995         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
8996         Likewise.
8997         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
8998         * nptl/pthread_barrierattr_destroy.c
8999         (pthread_barrierattr_destroy): Likewise.
9000         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9001         Likewise.
9002         * nptl/pthread_barrierattr_setpshared.c
9003         (pthread_barrierattr_setpshared): Likewise.
9004         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9005         Likewise.
9006         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9007         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9008         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9009         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
9010         Likewise.
9011         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
9012         Likewise.
9013         * nptl/pthread_condattr_getpshared.c
9014         (pthread_condattr_getpshared): Likewise.
9015         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
9016         Likewise.
9017         * nptl/pthread_condattr_setpshared.c
9018         (pthread_condattr_setpshared): Likewise.
9019         * nptl/pthread_detach.c (pthread_detach): Likewise.
9020         * nptl/pthread_equal.c (__pthread_equal): Likewise.
9021         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
9022         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
9023         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
9024         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
9025         Likewise.
9026         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9027         Likewise.
9028         * nptl/pthread_mutex_getprioceiling.c
9029         (pthread_mutex_getprioceiling): Likewise.
9030         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
9031         Likewise.
9032         * nptl/pthread_mutexattr_getprotocol.c
9033         (pthread_mutexattr_getprotocol): Likewise.
9034         * nptl/pthread_mutexattr_getpshared.c
9035         (pthread_mutexattr_getpshared): Likewise.
9036         * nptl/pthread_mutexattr_getrobust.c
9037         (pthread_mutexattr_getrobust): Likewise.
9038         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9039         Likewise.
9040         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
9041         Likewise.
9042         * nptl/pthread_mutexattr_setprioceiling.c
9043         (pthread_mutexattr_setprioceiling): Likewise.
9044         * nptl/pthread_mutexattr_setprotocol.c
9045         (pthread_mutexattr_setprotocol): Likewise.
9046         * nptl/pthread_mutexattr_setpshared.c
9047         (pthread_mutexattr_setpshared): Likewise.
9048         * nptl/pthread_mutexattr_setrobust.c
9049         (pthread_mutexattr_setrobust): Likewise.
9050         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
9051         Likewise.
9052         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
9053         Likewise.
9054         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
9055         Likewise.
9056         * nptl/pthread_rwlockattr_getkind_np.c
9057         (pthread_rwlockattr_getkind_np): Likewise.
9058         * nptl/pthread_rwlockattr_getpshared.c
9059         (pthread_rwlockattr_getpshared): Likewise.
9060         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
9061         Likewise.
9062         * nptl/pthread_rwlockattr_setkind_np.c
9063         (pthread_rwlockattr_setkind_np): Likewise.
9064         * nptl/pthread_rwlockattr_setpshared.c
9065         (pthread_rwlockattr_setpshared): Likewise.
9066         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
9067         Likewise.
9068         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
9069         Likewise.
9070         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
9071         Likewise.
9072         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9073         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
9074         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
9075         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
9076         * nptl/sem_close.c (sem_close): Likewise.
9077         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
9078         * nptl/sem_init.c (__old_sem_init): Likewise.
9079         * nptl/sigaction.c (__sigaction): Likewise.
9080         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9081         * posix/_exit.c (_exit): Likewise.
9082         * posix/alarm.c (alarm): Likewise.
9083         * posix/confstr.c (confstr): Likewise.
9084         * posix/fpathconf.c (__fpathconf): Likewise.
9085         * posix/getgroups.c (__getgroups): Likewise.
9086         * posix/getpgid.c (__getpgid): Likewise.
9087         * posix/group_member.c (__group_member): Likewise.
9088         * posix/pathconf.c (__pathconf): Likewise.
9089         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
9090         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
9091         * posix/setgid.c (__setgid): Likewise.
9092         * posix/setpgid.c (__setpgid): Likewise.
9093         * posix/setuid.c (__setuid): Likewise.
9094         * posix/sleep.c (__sleep): Likewise.
9095         * posix/sysconf.c (__sysconf): Likewise.
9096         * posix/times.c (__times): Likewise.
9097         * posix/uname.c (__uname): Likewise.
9098         * posix/waitid.c (__waitid): Likewise.
9099         * pwd/getpw.c (__getpw): Likewise.
9100         * resolv/base64.c (b64_pton): Likewise.
9101         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
9102         * resolv/gethnamaddr.c (Dprintf): Likewise.
9103         (gethostbyname): Likewise.
9104         (gethostbyname2): Likewise.
9105         (gethostbyaddr): Likewise.
9106         (_sethtent): Likewise.
9107         (_gethtbyname): Likewise.
9108         (_gethtbyname2): Likewise.
9109         (_gethtbyaddr): Likewise.
9110         (map_v4v6_address): Likewise.
9111         (map_v4v6_hostent): Likewise.
9112         (addrsort): Likewise.
9113         (ht_sethostent): Likewise.
9114         (ht_gethostbyname): Likewise.
9115         (ht_gethostbyaddr): Likewise.
9116         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
9117         (inet_net_ntop_ipv4): Likewise.
9118         * resolv/inet_neta.c (inet_neta): Likewise.
9119         * resolv/inet_ntop.c (inet_ntop): Likewise.
9120         (inet_ntop4): Likewise.
9121         (inet_ntop6): Likewise.
9122         * resolv/inet_pton.c (__inet_pton): Likewise.
9123         (inet_pton4): Likewise.
9124         (inet_pton6): Likewise.
9125         * resolv/res_debug.c (loc_aton): Likewise.
9126         (loc_ntoa): Likewise.
9127         * resource/getpriority.c (__getpriority): Likewise.
9128         * resource/getrusage.c (__getrusage): Likewise.
9129         * resource/nice.c (nice): Likewise.
9130         * resource/setpriority.c (__setpriority): Likewise.
9131         * resource/setrlimit64.c (setrlimit64): Likewise.
9132         * resource/vlimit.c (vlimit): Likewise.
9133         * resource/vtimes.c (vtimes): Likewise.
9134         * rt/aio_error.c (aio_error): Likewise.
9135         * rt/aio_return.c (aio_return): Likewise.
9136         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
9137         * signal/kill.c (__kill): Likewise.
9138         * signal/killpg.c (killpg): Likewise.
9139         * signal/raise.c (raise): Likewise.
9140         * signal/sigaction.c (__sigaction): Likewise.
9141         * signal/sigaddset.c (sigaddset): Likewise.
9142         * signal/sigaltstack.c (sigaltstack): Likewise.
9143         * signal/sigandset.c (sigandset): Likewise.
9144         * signal/sigblock.c (__sigblock): Likewise.
9145         * signal/sigdelset.c (sigdelset): Likewise.
9146         * signal/sigempty.c (sigemptyset): Likewise.
9147         * signal/sigfillset.c (sigfillset): Likewise.
9148         * signal/sighold.c (sighold): Likewise.
9149         * signal/sigignore.c (sigignore): Likewise.
9150         * signal/sigintr.c (siginterrupt): Likewise.
9151         * signal/sigisempty.c (sigisemptyset): Likewise.
9152         * signal/sigismem.c (sigismember): Likewise.
9153         * signal/signal.c (signal): Likewise.
9154         * signal/sigorset.c (sigorset): Likewise.
9155         * signal/sigpause.c (__sigpause): Likewise.
9156         * signal/sigpending.c (sigpending): Likewise.
9157         * signal/sigprocmask.c (__sigprocmask): Likewise.
9158         * signal/sigrelse.c (sigrelse): Likewise.
9159         * signal/sigreturn.c (__sigreturn): Likewise.
9160         * signal/sigset.c (sigset): Likewise.
9161         * signal/sigsetmask.c (__sigsetmask): Likewise.
9162         * signal/sigstack.c (sigstack): Likewise.
9163         * signal/sigsuspend.c (__sigsuspend): Likewise.
9164         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
9165         * signal/sysv_signal.c (__sysv_signal): Likewise.
9166         * socket/accept.c (accept): Likewise.
9167         * socket/accept4.c (__libc_accept4): Likewise.
9168         * socket/bind.c (__bind): Likewise.
9169         * socket/connect.c (__connect): Likewise.
9170         * socket/getpeername.c (getpeername): Likewise.
9171         * socket/getsockname.c (__getsockname): Likewise.
9172         * socket/getsockopt.c (getsockopt): Likewise.
9173         * socket/listen.c (__listen): Likewise.
9174         * socket/recv.c (__recv): Likewise.
9175         * socket/recvmsg.c (__recvmsg): Likewise.
9176         * socket/send.c (__send): Likewise.
9177         * socket/sendmsg.c (__sendmsg): Likewise.
9178         * socket/shutdown.c (shutdown): Likewise.
9179         * socket/sockatmark.c (sockatmark): Likewise.
9180         * socket/socket.c (__socket): Likewise.
9181         * stdio-common/ctermid.c (ctermid): Likewise.
9182         * stdio-common/cuserid.c (cuserid): Likewise.
9183         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
9184         * stdio-common/remove.c (remove): Likewise.
9185         * stdio-common/rename.c (rename): Likewise.
9186         * stdio-common/renameat.c (renameat): Likewise.
9187         * stdio-common/tempname.c (__gen_tempname): Likewise.
9188         * stdio-common/xbug.c (InitBuffer): Likewise.
9189         (AppendToBuffer): Likewise.
9190         (ReadFile): Likewise.
9191         * stdlib/a64l.c (a64l): Likewise.
9192         * stdlib/drand48_r.c (drand48_r): Likewise.
9193         * stdlib/getcontext.c (getcontext): Likewise.
9194         * stdlib/getenv.c (getenv): Likewise.
9195         * stdlib/l64a.c (l64a): Likewise.
9196         * stdlib/llabs.c (llabs): Likewise.
9197         * stdlib/lldiv.c (lldiv): Likewise.
9198         * stdlib/lrand48_r.c (lrand48_r): Likewise.
9199         * stdlib/mrand48_r.c (mrand48_r): Likewise.
9200         * stdlib/putenv.c (putenv): Likewise.
9201         * stdlib/random.c (__srandom): Likewise.
9202         (__initstate): Likewise.
9203         (__setstate): Likewise.
9204         * stdlib/random_r.c (__srandom_r): Likewise.
9205         (__setstate_r): Likewise.
9206         (__random_r): Likewise.
9207         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
9208         * stdlib/setcontext.c (setcontext): Likewise.
9209         * stdlib/setenv.c (setenv): Likewise.
9210         (unsetenv): Likewise.
9211         * stdlib/srand48.c (srand48): Likewise.
9212         * stdlib/srand48_r.c (__srand48_r): Likewise.
9213         * stdlib/swapcontext.c (swapcontext): Likewise.
9214         * stdlib/system.c (__libc_system): Likewise.
9215         * stdlib/tst-strtod.c (expand): Likewise.
9216         * stdlib/tst-strtol.c (expand): Likewise.
9217         * stdlib/tst-strtoll.c (expand): Likewise.
9218         * streams/fattach.c (fattach): Likewise.
9219         * streams/fdetach.c (fdetach): Likewise.
9220         * streams/getmsg.c (getmsg): Likewise.
9221         * streams/isastream.c (isastream): Likewise.
9222         * string/ffs.c (__ffs): Likewise.
9223         * string/ffsll.c (ffsll): Likewise.
9224         * string/memcmp.c (memcmp_common_alignment): Likewise.
9225         (memcmp_not_common_alignment): Likewise.
9226         (MEMCMP): Likewise.
9227         * string/memcpy.c (memcpy): Likewise.
9228         * string/memmove.c (MEMMOVE): Likewise.
9229         * string/memset.c (memset): Likewise.
9230         * string/rawmemchr.c (RAWMEMCHR): Likewise.
9231         * string/strchrnul.c (STRCHRNUL): Likewise.
9232         * string/strerror.c (strerror): Likewise.
9233         * string/strndup.c (__strndup): Likewise.
9234         * string/strverscmp.c (__strverscmp): Likewise.
9235         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
9236         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
9237         (clnttcp_freeres): Likewise.
9238         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
9239         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
9240         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
9241         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
9242         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
9243         (xdr_callhdr): Likewise.
9244         * sunrpc/rpcinfo.c (udpping): Likewise.
9245         (tcpping): Likewise.
9246         (pstatus): Likewise.
9247         (pmapdump): Likewise.
9248         (brdcst): Likewise.
9249         (deletereg): Likewise.
9250         (getprognum): Likewise.
9251         (getvers): Likewise.
9252         (get_inet_address): Likewise.
9253         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
9254         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9255         (svcudp_stat): Likewise.
9256         (svcudp_recv): Likewise.
9257         (svcudp_reply): Likewise.
9258         (svcudp_getargs): Likewise.
9259         (svcudp_freeargs): Likewise.
9260         (svcudp_destroy): Likewise.
9261         * sunrpc/xdr.c (xdr_bytes): Likewise.
9262         (xdr_netobj): Likewise.
9263         (xdr_string): Likewise.
9264         (xdr_wrapstring): Likewise.
9265         * sunrpc/xdr_float.c (xdr_float): Likewise.
9266         (xdr_double): Likewise.
9267         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
9268         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
9269         * sysvipc/ftok.c (ftok): Likewise.
9270         * sysvipc/msgctl.c (msgctl): Likewise.
9271         * sysvipc/msgget.c (msgget): Likewise.
9272         * sysvipc/msgrcv.c (msgrcv): Likewise.
9273         * sysvipc/msgsnd.c (msgsnd): Likewise.
9274         * sysvipc/semget.c (semget): Likewise.
9275         * sysvipc/semop.c (semop): Likewise.
9276         * sysvipc/shmat.c (shmat): Likewise.
9277         * sysvipc/shmctl.c (shmctl): Likewise.
9278         * sysvipc/shmdt.c (shmdt): Likewise.
9279         * sysvipc/shmget.c (shmget): Likewise.
9280         * termios/cfmakeraw.c (cfmakeraw): Likewise.
9281         * termios/speed.c (cfgetospeed): Likewise.
9282         (cfgetispeed): Likewise.
9283         (cfsetospeed): Likewise.
9284         (cfsetispeed): Likewise.
9285         * termios/tcflow.c (tcflow): Likewise.
9286         * termios/tcflush.c (tcflush): Likewise.
9287         * termios/tcgetattr.c (__tcgetattr): Likewise.
9288         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
9289         * termios/tcgetsid.c (tcgetsid): Likewise.
9290         * termios/tcsendbrk.c (tcsendbreak): Likewise.
9291         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
9292         * time/adjtime.c (__adjtime): Likewise.
9293         * time/dysize.c (dysize): Likewise.
9294         * time/ftime.c (ftime): Likewise.
9295         * time/getitimer.c (__getitimer): Likewise.
9296         * time/gettimeofday.c (__gettimeofday): Likewise.
9297         * time/gmtime.c (__gmtime_r): Likewise.
9298         (gmtime): Likewise.
9299         * time/localtime.c (__localtime_r): Likewise.
9300         (localtime): Likewise.
9301         * time/offtime.c (__offtime): Likewise.
9302         * time/settimeofday.c (__settimeofday): Likewise.
9303         * time/stime.c (stime): Likewise.
9304         * time/strftime_l.c (tm_diff): Likewise.
9305         (iso_week_days): Likewise.
9306         * time/strptime.c (strptime): Likewise.
9307         * time/time.c (time): Likewise.
9308         * time/timespec_get.c (timespec_get): Likewise.
9309         * time/tzset.c (tzset_internal): Likewise.
9310         (compute_change): Likewise.
9311         (__tz_compute): Likewise.
9312         * wcsmbs/btowc.c (__btowc): Likewise.
9313         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
9314         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
9315         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
9316         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
9317         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
9318         * wcsmbs/wcscat.c (__wcscat): Likewise.
9319         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9320         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
9321         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
9322         * wcsmbs/wcscspn.c (wcscspn): Likewise.
9323         * wcsmbs/wcsdup.c (wcsdup): Likewise.
9324         * wcsmbs/wcslen.c (__wcslen): Likewise.
9325         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
9326         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
9327         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
9328         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
9329         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9330         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
9331         * wcsmbs/wcsspn.c (wcsspn): Likewise.
9332         * wcsmbs/wcsstr.c (wcsstr): Likewise.
9333         * wcsmbs/wcstok.c (wcstok): Likewise.
9334         * wcsmbs/wctob.c (wctob): Likewise.
9335         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
9336         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9337         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
9338         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
9339         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
9340         * wcsmbs/wmemset.c (__wmemset): Likewise.
9341         * wctype/wcfuncs.c (__towlower): Likewise.
9342         (__towupper): Likewise.
9344         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
9345         (lll_unlock_elision): Add adapt_count parameter.
9347 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9349         * sysdeps/nptl/configure.ac: Do not give errors based on the
9350         results of top-level configure tests.
9351         * sysdeps/nptl/configure: Regenerated.
9353         * configure.ac (libc_cv_Bgroup): Remove configure test.
9354         * configure: Regenerated.
9355         * config.make.in (have-Bgroup): Remove variable.
9357         * configure.ac (sizeof_long_double): Remove configure test.
9358         * configure: Regenerated.
9359         * config.make.in (sizeof-long-double): Remove variable.
9361         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
9362         * configure: Regenerated.
9363         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
9364         variable.
9365         (exceptions): Likewise.
9366         * sysdeps/arm/configure: Regenerated.
9367         * config.make.in (exceptions): Remove variable.
9368         * Makeconfig (uses-callbacks): Use -fexceptions instead of
9369         $(exceptions).
9370         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
9371         (CFLAGS-vdprintf_chk.c): Likewise.
9372         (CFLAGS-printf_chk.c): Likewise.
9373         (CFLAGS-fprintf_chk.c): Likewise.
9374         (CFLAGS-vprintf_chk.c): Likewise.
9375         (CFLAGS-vfprintf_chk.c): Likewise.
9376         (CFLAGS-gets_chk.c): Likewise.
9377         (CFLAGS-fgets_chk.c): Likewise.
9378         (CFLAGS-fgets_u_chk.c): Likewise.
9379         (CFLAGS-fread_chk.c): Likewise.
9380         (CFLAGS-fread_u_chk.c): Likewise.
9381         (CFLAGS-wprintf_chk.c): Likewise.
9382         (CFLAGS-fwprintf_chk.c): Likewise.
9383         (CFLAGS-vwprintf_chk.c): Likewise.
9384         (CFLAGS-vfwprintf_chk.c): Likewise.
9385         (CFLAGS-fgetws_chk.c): Likewise.
9386         (CFLAGS-fgetws_u_chk.c): Likewise.
9387         * libio/Makefile (CFLAGS-fileops.c): Likewise.
9388         (CFLAGS-fputc.c): Likewise.
9389         (CFLAGS-fputwc.c): Likewise.
9390         (CFLAGS-freopen64.c): Likewise.
9391         (CFLAGS-freopen.c): Likewise.
9392         (CFLAGS-fseek.c): Likewise.
9393         (CFLAGS-fseeko64.c): Likewise.
9394         (CFLAGS-fseeko.c): Likewise.
9395         (CFLAGS-ftello64.c): Likewise.
9396         (CFLAGS-ftello.c): Likewise.
9397         (CFLAGS-fwide.c): Likewise.
9398         (CFLAGS-genops.c): Likewise.
9399         (CFLAGS-getc.c): Likewise.
9400         (CFLAGS-getchar.c): Likewise.
9401         (CFLAGS-getwc.c): Likewise.
9402         (CFLAGS-getwchar.c): Likewise.
9403         (CFLAGS-iofclose.c): Likewise.
9404         (CFLAGS-iofflush.c): Likewise.
9405         (CFLAGS-iofgetpos64.c): Likewise.
9406         (CFLAGS-iofgetpos.c): Likewise.
9407         (CFLAGS-iofgets.c): Likewise.
9408         (CFLAGS-iofgetws.c): Likewise.
9409         (CFLAGS-iofputs.c): Likewise.
9410         (CFLAGS-iofputws.c): Likewise.
9411         (CFLAGS-iofread.c): Likewise.
9412         (CFLAGS-iofsetpos64.c): Likewise.
9413         (CFLAGS-iofsetpos.c): Likewise.
9414         (CFLAGS-ioftell.c): Likewise.
9415         (CFLAGS-iofwrite.c): Likewise.
9416         (CFLAGS-iogetdelim.c): Likewise.
9417         (CFLAGS-iogetline.c): Likewise.
9418         (CFLAGS-iogets.c): Likewise.
9419         (CFLAGS-iogetwline.c): Likewise.
9420         (CFLAGS-ioputs.c): Likewise.
9421         (CFLAGS-ioseekoff.c): Likewise.
9422         (CFLAGS-ioseekpos.c): Likewise.
9423         (CFLAGS-iosetbuffer.c): Likewise.
9424         (CFLAGS-iosetvbuf.c): Likewise.
9425         (CFLAGS-ioungetc.c): Likewise.
9426         (CFLAGS-ioungetwc.c): Likewise.
9427         (CFLAGS-oldfileops.c): Likewise.
9428         (CFLAGS-oldiofclose.c): Likewise.
9429         (CFLAGS-oldiofgetpos64.c): Likewise.
9430         (CFLAGS-oldiofgetpos.c): Likewise.
9431         (CFLAGS-oldiofsetpos64.c): Likewise.
9432         (CFLAGS-oldiofsetpos.c): Likewise.
9433         (CFLAGS-peekc.c): Likewise.
9434         (CFLAGS-putc.c): Likewise.
9435         (CFLAGS-putchar.c): Likewise.
9436         (CFLAGS-putwc.c): Likewise.
9437         (CFLAGS-putwchar.c): Likewise.
9438         (CFLAGS-rewind.c): Likewise.
9439         (CFLAGS-wfileops.c): Likewise.
9440         (CFLAGS-wgenops.c): Likewise.
9441         (CFLAGS-oldiofopen.c): Likewise.
9442         (CFLAGS-iofopen.c): Likewise.
9443         (CFLAGS-iofopen64.c): Likewise.
9444         (CFLAGS-oldtmpfile.c): Likewise.
9445         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
9446         (CFLAGS-fprintf.c): Likewise.
9447         (CFLAGS-printf.c): Likewise.
9448         (CFLAGS-vfwprintf.c): Likewise.
9449         (CFLAGS-vfscanf.c): Likewise.
9450         (CFLAGS-vfwscanf.c): Likewise.
9451         (CFLAGS-fscanf.c): Likewise.
9452         (CFLAGS-scanf.c): Likewise.
9453         (CFLAGS-isoc99_vfscanf.c): Likewise.
9454         (CFLAGS-isoc99_vscanf.c): Likewise.
9455         (CFLAGS-isoc99_fscanf.c): Likewise.
9456         (CFLAGS-isoc99_scanf.c): Likewise.
9457         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
9458         (CFLAGS-isoc99_fwscanf.c): Likewise.
9459         (CFLAGS-isoc99_vwscanf.c): Likewise.
9460         (CFLAGS-isoc99_vfwscanf.c): Likewise.
9462         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
9463         after mkstemp64.
9464         * login/tst-utmp.c (do_prepare): Likewise.
9465         * rt/tst-aio.c (do_prepare): Likewise.
9466         * rt/tst-aio64.c (do_prepare): Likewise.
9468 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9470         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9471         (__lll_lock_elision): Remove adapt_count decrement...
9472         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9473         (__lll_trylock_elision): Likewise.
9474         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9475         (__lll_unlock_elision): ... to here. And utilize
9476         new adapt_count parameter.
9477         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9478         (__lll_unlock_elision): Update to include adapt_count
9479         parameter.
9480         (lll_unlock_elision): Pass pointer to adapt_count
9481         variable.
9483 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9485         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
9486         Add elision adapt_count parameter to list of arguments.
9487         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9488         (lll_unlock_elision): Update with new parameter list
9489         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9490         (lll_unlock_elision): Likewise.
9491         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
9492         (lll_unlock_elision): Likewise.
9494 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9496         [BZ #19122]
9497         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
9498         attribute_hidden.
9500         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
9501         attribute_hidden.
9502         [IS_IN (rtld)] (__strdup): Likewise.
9503         [IS_IN (rtld)] (__strerror_r): Likewise.
9504         [IS_IN (rtld)] (__strsep_g): Likewise.
9505         [IS_IN (rtld)] (memchr): Likewise.
9506         [IS_IN (rtld)] (memcmp): Likewise.
9507         [IS_IN (rtld)] (memcpy): Likewise.
9508         [IS_IN (rtld)] (memmove): Likewise.
9509         [IS_IN (rtld)] (memset): Likewise.
9510         [IS_IN (rtld)] (rawmemchr): Likewise.
9511         [IS_IN (rtld)] (stpcpy): Likewise.
9512         [IS_IN (rtld)] (strchr): Likewise.
9513         [IS_IN (rtld)] (strcmp): Likewise.
9514         [IS_IN (rtld)] (strlen): Likewise.
9515         [IS_IN (rtld)] (strnlen): Likewise.
9516         [IS_IN (rtld)] (strsep): Likewise.
9518         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
9519         attribute_hidden.
9520         [IS_IN (rtld)] (__strtoul_internal): Likewise.
9522         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
9523         attribute_hidden.
9524         [IS_IN (rtld)] (__libc_sigaction): Likewise.
9526         * include/setjmp.h (__longjmp): Add attribute_hidden.
9527         [IS_IN (rtld)] (__sigsetjmp): Likewise.
9529         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
9530         Add attribute_hidden.
9532         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
9533         [IS_IN (rtld)] (__open): Likewise.
9534         [IS_IN (rtld)] (__fcntl): Likewise.
9536         * include/dirent.h (__opendirat): Add attribute_hidden.
9537         (__getdents): Likewise.
9538         (__getdents64): Likewise.
9539         (__alloc_dir): Likewise.
9540         [IS_IN (rtld)] (__closedir): Likewise.
9541         [IS_IN (rtld)] (__fdopendir): Likewise.
9542         [IS_IN (rtld)] (__readdir): Likewise.
9543         [IS_IN (rtld)] (__readdir64): Likewise.
9544         [IS_IN (rtld)] (__rewinddir): Likewise.
9546         * include/dlfcn.h (_dl_catch_error): Moved to ...
9547         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
9548         attribute_hidden.
9550         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
9551         (_itoa_word): Likewise.
9553         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
9554         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
9555         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
9556         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
9557         (_dl_higher_prime_number): Likewise.
9558         (_dl_debug_printf_c): Likewise.
9559         (_dl_signal_cerror): Likewise.
9560         (_dl_receive_error): Likewise.
9561         (_dl_reloc_bad_type): Likewise.
9562         (_dl_resolve_conflicts): Likewise.
9563         (_dl_check_all_versions): Likewise.
9564         (_dl_check_map_versions): Likewise.
9565         (_dl_sort_fini): Likewise.
9566         (_dl_debug_initialize): Likewise.
9567         (_dl_init_paths): Likewise.
9568         (_dl_show_auxv): Likewise.
9569         (_dl_next_ld_env_entry): Likewise.
9570         (_dl_important_hwcaps): Likewise.
9571         (_dl_load_cache_lookup): Likewise.
9572         (_dl_update_slotinfo): Likewise.
9573         (_dl_show_scope): Likewise.
9575         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
9576         attribute_hidden.
9577         (_wordcopy_fwd_dest_aligned): Likewise.
9578         (_wordcopy_bwd_aligned): Likewise.
9579         (_wordcopy_bwd_dest_aligned): Likewise.
9581         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9582         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9583         Likewise.
9584         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9585         Likewise.
9586         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
9588 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9590         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
9591         GCC 5 requirement.
9593 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9595         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
9596         test.
9597         * sysdeps/i386/configure: Regenerated.
9598         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
9599         code unconditional.
9601         * configure.ac (libc_cv_asm_previous_directive): Remove configure
9602         test.
9603         (libc_cv_asm_popsection_directive): Likewise.
9604         * configure: Regenerated.
9605         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
9606         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
9607         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
9608         (__make_section_unallocated): Make definition unconditional.
9609         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
9610         Remove conditional definition.
9611         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
9612         (__make_section_unallocated): Likewise.
9614         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
9615         * configure: Regenerated.
9616         * config.make.in (static-libgcc): Remove variable.
9617         * Makerules (build-shlib-helper): Use -static-libgcc instead of
9618         $(static-libgcc).
9619         (build-module-helper): Likewise.
9621         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
9622         * configure: Regenerated.
9624 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9626         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
9627         (struct char_buffer): New type.
9628         (char_buffer_start, char_buffer_size, char_buffer_error)
9629         (char_buffer_rewind, char_buffer_add): New functions.
9630         (ADDW): Remove macro, replaced by the char_buffer_add function.
9631         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
9632         of extend_alloca.  Make control flow more explicit.
9634 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9636         [BZ #19137]
9637         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9638         Add -fomit-frame-pointer.
9639         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
9641 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9643         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
9644         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
9645         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
9646         only if !__GNUC_PREREQ (5,0).
9647         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
9648         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
9649         (INTERNAL_SYSCALL_NCS): Likewise.
9650         (LOADREGS_0): New macro for GCC 5.
9651         (ASMARGS_0): Likewise.
9652         (LOADREGS_1): Likewise.
9653         (ASMARGS_1): Likewise.
9654         (LOADREGS_2): Likewise.
9655         (ASMARGS_2): Likewise.
9656         (LOADREGS_3): Likewise.
9657         (ASMARGS_3): Likewise.
9658         (LOADREGS_4): Likewise.
9659         (ASMARGS_4): Likewise.
9660         (LOADREGS_5): Likewise.
9661         (ASMARGS_5): Likewise.
9662         (LOADREGS_6): Likewise.
9663         (ASMARGS_6): Likewise.
9665 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9667         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
9668         -fomit-frame-pointer.
9669         (CFLAGS-mmap64.c): Likewise.
9670         (CFLAGS-semtimedop.c): Likewise.
9671         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
9672         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
9673         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9674         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9676 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9678         [BZ #18928]
9679         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
9680         _dl_pointer_guard member.
9681         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
9682         initializer.
9683         (security_init): Always set up pointer guard.
9684         (process_envvars): Do not process LD_POINTER_GUARD.
9686 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
9688         [BZ #19134]
9689         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
9690         (.LC2): Likewise.
9691         (.LC3): Likewise.
9692         (__lround): Do not add 0.5 to integer or out-of-range arguments.
9694 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9696         [BZ #19129]
9697         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
9698         r0 and r1.
9700 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
9702         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
9704 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
9706         * include/stap-probe.h: Fix macro definition formatting.
9708 2015-10-14  Florian Weimer  <fweimer@redhat.com>
9710         [BZ #19074]
9711         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
9712         load and store num_ifs.
9714 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9716         [BZ #18822]
9717         * sysdeps/unix/sysv/linux/sched_getaffinity.c
9718         (__sched_getaffinity_new): Add libc_hidden_proto and
9719         libc_hidden_def.
9721 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9723         [BZ #19007]
9724         * scripts/localplt.awk: Also allow GOT references.
9725         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
9726         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
9727         with "+ REL R_386_GLOB_DAT".
9728         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
9729         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
9731 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9733         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
9734         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9735         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
9736         Likewise.
9737         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9738         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
9739         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9740         INTERNAL_SYSCALLINTERNAL_SYSCALL and
9741         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9742         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9743         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9744         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9745         Likewise.
9746         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9748 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9750         [BZ #19125]
9751         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
9752         <math_private.h> and <stdint.h>.
9753         (__llround): Avoid conversions to and from long long int, and
9754         subtractions, where those might raise spurious exceptions.
9755         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
9756         <math_private.h> and <stdint.h>.
9757         (__llroundf): Avoid conversions to and from long long int, and
9758         subtractions, where those might raise spurious exceptions.
9760 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9762         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
9763         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9764         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9765         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
9766         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9767         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9768         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
9769         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
9770         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
9771         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9772         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9773         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9774         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
9775         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9776         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9777         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
9778         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
9779         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9780         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
9781         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
9782         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9783         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
9784         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
9785         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9786         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
9787         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9788         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
9789         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9790         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9791         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
9792         (__xstat64_conv): Likewise.
9793         (__xstat32_conv): Likewise.
9795 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9797         * sysdeps/unix/sysv/linux/sysdep.h: New file.
9798         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
9799         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
9800         <sysdeps/unix/sysv/linux/sysdep.h>.
9801         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9802         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
9803         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
9804         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9805         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9806         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
9807         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
9808         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9809         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9812         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9813         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9814         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9815         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9816         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9817         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
9818         (sysdep-dl-routines): Add sysdep.
9819         [$(subdir) == nptl] (libpthread-routines): Likewise.
9820         [$(subdir) == rt] (librt-routines): Likewise.
9821         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
9822         PIC when branching to SYSCALL_ERROR_LABEL.
9823         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
9824         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
9825         <sysdeps/unix/sysv/linux/sysdep.h>.
9826         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
9827         (SYSCALL_ERROR_ERRNO): Removed.
9828         (SYSCALL_ERROR_HANDLER): Changed to empty.
9829         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
9830         (__syscall_error): New prototype.
9831         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
9832         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
9834 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9836         [BZ #19124]
9837         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
9838         (_dl_runtime_resolve_avx512): Make it a hidden alias of
9839         _dl_runtime_resolve_avx.
9840         (_dl_runtime_profile_avx512): Make it a hidden alias of
9841         _dl_runtime_profile_avx.
9843 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9845         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
9846         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
9847         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
9848         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
9850         [BZ #16422]
9851         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
9852         New configure test.
9853         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
9854         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
9855         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
9856         <math_private.h> and <stdint.h>.
9857         (__llrint): Avoid conversions to long long int where those might
9858         raise spurious exceptions.
9859         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
9860         <math_private.h> and <stdint.h>.
9861         (__llrintf): Avoid conversions to long long int where those might
9862         raise spurious exceptions.
9864 2015-10-12  Andreas Schwab  <schwab@suse.de>
9866         [BZ #18969]
9867         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
9868         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
9869         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
9870         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
9871         $(gen-locales).
9872         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
9873         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
9874         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
9875         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
9876         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
9877         $(gen-locales).
9878         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
9879         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
9880         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
9881         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
9882         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
9883         ($(objpfx)tst-ftell-active-handler.out)
9884         ($(objpfx)tst-ftell-append.out)
9885         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
9886         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
9887         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
9888         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
9889         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
9890         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
9891         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
9892         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
9893         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
9894         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
9895         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
9896         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
9897         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
9898         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
9899         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
9900         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
9901         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
9902         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
9903         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
9904         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
9905         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
9906         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
9907         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
9908         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
9909         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
9910         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
9911         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
9912         $(gen-locales).
9913         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
9914         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
9915         $(gen-locales).
9916         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
9917         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
9918         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
9919         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
9920         $(gen-locales).
9921         * libio/tst_wprintf2.c (main): Use explicit locale.
9922         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
9924 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9926         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
9927         __msg_sig_post.
9928         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
9930 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9932         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9933         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9935         * sysdeps/arm/libm-test-ulps: Regenerated.
9937         [BZ #15470]
9938         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
9940         [BZ #16399]
9941         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
9942         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
9943         and <fix-fp-int-convert-overflow.h>.
9944         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9945         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9946         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
9947         and <fix-fp-int-convert-overflow.h>.
9948         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
9949         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9950         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
9951         <fix-fp-int-convert-overflow.h>.
9952         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9953         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9954         * sysdeps/ieee754/dbl-64/s_lround.c: Include
9955         <fix-fp-int-convert-overflow.h>.
9956         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
9957         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9958         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
9959         and <fix-fp-int-convert-overflow.h>.
9960         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9961         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9962         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
9963         <limits.h> and <fix-fp-int-convert-overflow.h>.
9964         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9965         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9966         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
9967         and <fix-fp-int-convert-overflow.h>.
9968         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9969         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9970         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
9971         and <fix-fp-int-convert-overflow.h>.
9972         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9973         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9974         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
9976 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
9978         [BZ #18589]
9979         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
9980         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
9981         $(gen-locales).
9983 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9984             Phil Blundell <pb@pbcl.net>
9986         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
9987         * nptl/tst-cancel26.c: New file.
9988         * nptl/tst-cancel27.c: Likewise.
9990 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
9992         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
9993         __ILP32__ isn't defined.
9994         (lrint): Likewise.
9995         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
9996         (lrintf): Likewise.
9997         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
9998         (lrintl): Likewise.
9999         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
10000         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
10001         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
10003 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10005         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10006         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10008         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
10009         file.
10010         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
10011         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10013 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
10015         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
10016         configure test.
10017         * sysdeps/i386/configure: Regenerated.
10018         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
10019         configure test.
10020         * sysdeps/x86_64/configure: Regenerated.
10021         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
10022         Make code unconditional.
10024         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
10025         test.
10026         * sysdeps/i386/configure: Regenerated.
10027         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
10028         test.
10029         * sysdeps/x86_64/configure: Regenerated.
10030         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
10031         Make code unconditional.
10032         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10033         Likewise.
10034         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
10035         Likewise.
10036         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10037         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
10038         code unconditional.
10039         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10040         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
10041         code unconditional.
10042         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10043         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
10044         code unconditional.
10045         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
10046         code unconditional.
10047         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10048         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
10049         code unconditional.
10050         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10051         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
10052         code unconditional.
10053         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10054         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
10055         code unconditional.
10056         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10057         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
10058         code unconditional.
10059         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10060         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
10062         [BZ #19095]
10063         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
10064         mantissa to long int before shifting left.
10066 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10068         [BZ #19094]
10069         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
10070         <limits.h>.
10071         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10072         when result overflows but exception would not result from cast.
10073         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
10074         <limits.h>.
10075         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10076         when result overflows but exception would not result from cast.
10077         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
10078         <limits.h>.
10079         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10080         when result overflows but exception would not result from cast.
10081         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
10082         <limits.h>.
10083         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10084         when result overflows but exception would not result from cast.
10085         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
10086         <limits.h>.
10087         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10088         when result overflows but exception would not result from cast.
10089         * math/libm-test.inc (lrint_test_data): Add more tests.
10090         (llrint_test_data): Likewise.
10092 2015-10-08  Roland McGrath  <roland@hack.frob.com>
10094         [BZ #18872]
10095         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
10096         Move out from under [$(run-built-tests) = yes] conditional.
10097         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
10098         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
10100 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
10102         [BZ #18589]
10103         * string/Makefile (tests): Add bug-strcoll2.
10104         (LOCALES): Add cs_CZ.UTF-8.
10105         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
10107         [BZ #18589]
10108         * string/bug-strcoll2.c: New file.
10109         * locale/categories.def: Revert commit
10110         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
10111         * locale/langinfo.h: Likewise.
10112         * locale/localeinfo.h: Likewise.
10113         * locale/C-collate.c: Likewise.
10114         * locale/programs/ld-collate.c (collate_output): Likewise.
10115         * string/strcoll_l.c (STRDIFF): Likewise.
10116         (STRCOLL): Likewise.
10117         * wcsmbs/wcscoll_l.c: Likewise.
10119 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
10121         * math/libm-test.inc (lround_test_data): Do not expect the absence
10122         of "inexact" for some tests with non-integer arguments.
10123         (llround_test_data): Likewise.
10125         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
10126         test.
10127         (libc_cv_cc_sse2avx): Likewise.
10128         * sysdeps/i386/configure: Regenerated.
10129         * sysdeps/i386/i686/multiarch/Makefile
10130         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
10131         [$(subdir) = math].
10132         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
10133         code unconditional.
10134         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10135         Likewise.
10136         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
10137         Likewise.
10138         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10139         Likewise.
10140         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
10141         test.
10142         (libc_cv_cc_sse2avx): Likewise.
10143         * sysdeps/x86_64/configure: Regenerated.
10144         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
10145         unconditional.
10146         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
10147         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
10148         unconditional.
10149         (_dl_runtime_profile)
10150         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
10151         conditional code.
10152         * sysdeps/x86_64/fpu/multiarch/Makefile
10153         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
10154         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
10155         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10156         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10157         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10158         * sysdeps/x86_64/fpu/multiarch/e_log.c
10159         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10160         * sysdeps/x86_64/fpu/multiarch/s_atan.c
10161         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10162         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10163         Likewise.
10164         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10165         Likewise.
10166         * sysdeps/x86_64/fpu/multiarch/s_sin.c
10167         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10168         * sysdeps/x86_64/fpu/multiarch/s_tan.c
10169         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10170         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
10171         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
10172         (HAVE_SSE2AVX_SUPPORT): Likewise.
10174 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
10176         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
10177         instead of #pragma optimize.
10179 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10181         [BZ #17195]
10182         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
10183         as is similarly done in systrim and _int_free already.
10185 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10187         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
10189 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10191         [BZ #19088]
10192         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
10193         <limits.h>.
10194         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10195         overflows but exception would not result from cast.
10196         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
10197         and <limits.h>.
10198         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10199         overflows but exception would not result from cast.
10200         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
10201         <limits.h>.
10202         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10203         overflows but exception would not result from cast.
10204         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
10205         <limits.h>.
10206         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10207         overflows but exception would not result from cast.
10208         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
10209         <limits.h>.
10210         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10211         overflows but exception would not result from cast.
10212         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
10213         <limits.h>.
10214         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10215         overflows but exception would not result from cast.
10216         * math/libm-test.inc (lround_test_data): Add more tests.
10217         (llround_test_data): Likewise.
10219 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
10221         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
10222         (CFLAGS-ialloc.c): Ditto.
10223         (CFLAGS-scheck.c): Ditto.
10225 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10227         [BZ #19086]
10228         * manual/filesys.texi (Storage Allocation): Fix argument order for
10229         posix_fallocate64.
10231 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10233         [BZ #19085]
10234         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
10235         exponent below 48 inside case for non-overflowing exponent.
10236         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10238 2015-10-07  Florian Weimer  <fweimer@redhat.com>
10240         * iconvdata/cp737.h (from_idx): Add const.
10241         * iconvdata/cp775.h (from_idx): Likewise.
10243 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10245         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
10246         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10247         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
10249         [BZ #19079]
10250         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
10251         file, conditioned on [!_LP64].
10252         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
10253         [!_LP64] (__lround): Do not define as function or alias.
10254         [!_LP64] (lround): Likewise.
10255         [!_LP64] (__lroundl): Likewise.
10256         [!_LP64] (lroundl): Likewise.
10257         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
10258         macro.
10259         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10260         Likewise.
10262 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10264         * math/libm-test.inc (lrint_test_data): Add more tests.
10265         (llrint_test_data): Likewise.
10266         (lround_test_data): Likewise.
10267         (llround_test_data): Likewise.
10269         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
10270         (llrint_test_data): Add tests used for lrint.
10272         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
10273         test.
10274         * sysdeps/i386/configure: Regenerated.
10275         * sysdeps/i386/i686/multiarch/Makefile
10276         [$(config-cflags-sse4) = yes]: Make code unconditional.
10277         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10278         Likewise.
10279         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
10280         Likewise.
10281         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
10282         test.
10283         * sysdeps/x86_64/configure: Regenerated.
10284         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
10285         Make code unconditional.
10286         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10287         Likewise.
10288         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
10289         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
10291         * scripts/rpm2dynsym.sh: Remove file.
10293 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10295         * configure.ac (libc_cv_cxx_thread_local): Define.
10296         * configure: Regenerate.
10297         * config.make.in (have-cxx-thread_local): Define.
10298         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
10299         (LDLIBS-tst-thread_local1): Define.
10300         (tests): Add tst-thread_local1.
10301         [have-cxx-thread_local != yes] (tests-unsupported): Add
10302         tst-thread_local1.
10303         * nptl/tst-thread_local1.cc: New file.
10305 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10307         [BZ #19078]
10308         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
10309         (u_thres): Likewise.
10310         (__expl): Determine whether to call __kernel_standard_l based on
10311         value of result, not argument.
10313         * math/libm-test.inc (scalb_test_data): Add more expectations for
10314         the "inexact" exception.
10316         [BZ #19077]
10317         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
10318         0.0L for argument 1.0L.
10320         [BZ #19076]
10321         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
10322         constant 0.0L when computing infinite result.
10324 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10326         [BZ #10432]
10327         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
10328         malloc_usable_size.
10330 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10332         [BZ #19018]
10333         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10334         Mangle function pointer before storing it.
10335         (__call_tls_dtors): Demangle function pointer before calling it.
10337 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10339         [BZ #19012]
10340         * iconv/gconv_db.c (gen_steps): Check for additional errors.
10341         Clean up on failure.
10343 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
10345         [BZ #19071]
10346         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
10347         long int variable to store possibly incremented high part of
10348         mantissa.
10349         * math/libm-test.inc (lround_test_data): Add tests used for
10350         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
10351         for tests requiring 64-bit long.  Do not condition tests on
10352         [TEST_FLOAT] unnecessarily.
10353         (llround_test_data): Add tests used for lround.  Add another
10354         expectation for the "inexact" exception.  Do not condition tests
10355         on [TEST_FLOAT] unnecessarily.
10357         [BZ #887]
10358         [BZ #19049]
10359         [BZ #19050]
10360         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
10361         * sysdeps/ieee754/dbl-64/e_log10.c: Include
10362         <fix-int-fp-convert-zero.h>.
10363         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10364         * sysdeps/ieee754/dbl-64/e_log2.c: Include
10365         <fix-int-fp-convert-zero.h>.
10366         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10367         * sysdeps/ieee754/dbl-64/s_erf.c: Include
10368         <fix-int-fp-convert-zero.h>.
10369         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10370         * sysdeps/ieee754/dbl-64/s_logb.c: Include
10371         <fix-int-fp-convert-zero.h>.
10372         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10373         * sysdeps/ieee754/flt-32/e_log10f.c: Include
10374         <fix-int-fp-convert-zero.h>.
10375         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10376         * sysdeps/ieee754/flt-32/e_log2f.c: Include
10377         <fix-int-fp-convert-zero.h>.
10378         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10379         * sysdeps/ieee754/flt-32/s_erff.c: Include
10380         <fix-int-fp-convert-zero.h>.
10381         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10382         * sysdeps/ieee754/flt-32/s_logbf.c: Include
10383         <fix-int-fp-convert-zero.h>.
10384         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10385         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
10386         <fix-int-fp-convert-zero.h>.
10387         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10388         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
10389         <fix-int-fp-convert-zero.h>.
10390         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10391         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
10392         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
10393         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
10394         file.
10395         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
10397 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10399         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10401 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
10403         [BZ #19059]
10404         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
10405         overflowing computation.
10406         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10407         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10408         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10409         Likewise.
10410         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10411         Likewise.
10412         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10413         Likewise.
10414         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10415         Likewise.
10416         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10417         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10418         Likewise.
10419         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10420         Likewise.
10421         * math/libm-test.inc (nexttoward_test_data): Add more tests.
10423         * nss/rewrite_field.c (__nss_rewrite_field): Use
10424         internal_function.
10425         * nss/valid_field.c (__nss_valid_field): Likewise.
10426         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
10428 2015-10-02  Florian Weimer  <fweimer@redhat.com>
10430         [BZ #18724]
10431         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
10432         (__nss_invalid_field_characters, __nss_valid_field)
10433         (__nss_valid_list_field, __nss_rewrite_field): Declare.
10434         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
10435         tst-field.c: New file.
10436         * nss/Makefile (routines): Add valid_field, rewrite_field.
10437         (tests-static): Define unconditionally.
10438         (tests): Include tests-static.
10439         [build-static-nss] (tests-static): Use append.
10440         [build-static-nss] (tests): Remove modification.
10441         * nss/getent.c (print_group): Call putgrent.  Report error.
10442         (print_gshadow): Call putsgent.  Report error.
10443         (print_passwd): Call putpwent.  Report error.
10444         (print_shadow): Call putspent.  Report error.
10445         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
10446         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
10447         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
10448         name, password, directory, shell fields for valid syntax.  Rewrite
10449         GECOS field to match syntax.
10450         * pwd/Makefile (tests): Add tst-putpwent.
10451         * pwd/tst-putpwent.c: New file.
10452         * grp/putgrent.c (putgrent): Convert to ISO function definition.
10453         Check grName, grpasswd, gr_mem fields for valid syntax.
10454         Change loop variable i to size_t.
10455         * grp/Makefile (tests): Add tst-putgrent.
10456         * grp/tst-putgrent.c: New file.
10457         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
10458         valid syntax.
10459         * shadow/Makefile (tests): Add tst-putspent.
10460         * shadow/tst-putspent.c: New file.
10461         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
10462         sg_mem fields for valid syntax.
10463         * gshadow/Makefile (tests): Add tst-putsgent.
10464         * gshadow/tst-putsgent.c: New file.
10466 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10468         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
10469         assembly instructions.
10471 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10473         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
10474         prefix from operands.
10476 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
10478         [BZ #16347]
10479         [BZ #19046]
10480         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
10481         <libc-internal.h>.
10482         (MAXLGM): Do not use diagnostic control macros.
10483         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
10484         threshold for ldbl-128ibm.
10485         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
10486         instead of multiplying by log then subtracting.
10487         * math/auto-libm-test-in: Add more tests of lgamma.
10488         * math/auto-libm-test-out: Regenerated.
10490         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
10491         (TYPE_HEX_DIG): Likewise.
10492         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
10493         precisions when printing floating-point numbers.
10494         (check_float_internal): Likewise.
10496 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10498         [BZ #16620]
10499         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
10500         of log (10) rounded downward to 48 bits.
10501         (log10_low): Use corresponding low part of log (10).
10503         [BZ #19032]
10504         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
10505         compute result as (x - x) / (x - x) not as 0 / 0.
10506         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10507         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
10509         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10510         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
10511         and expm1.
10512         * math/auto-libm-test-out: Regenerated.
10513         * math/libm-test.inc (acos_test_data): Add more tests.
10514         (asin_test_data): Likewise.
10515         (asinh_test_data): Likewise.
10516         (atan_test_data): Likewise.
10517         (atanh_test_data): Likewise.
10518         (atan2_test_data): Likewise.
10519         (cbrt_test_data): Likewise.
10520         (ceil_test_data): Likewise.
10521         (copysign_test_data): Likewise.
10522         (cos_test_data): Likewise.
10523         (cosh_test_data): Likewise.
10524         (erf_test_data): Likewise.
10525         (erfc_test_data): Likewise.
10526         (exp_test_data): Likewise.
10527         (exp10_test_data): Likewise.
10528         (exp2_test_data): Likewise.
10529         (expm1_test_data): Likewise.
10530         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10532 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
10534         [BZ #19006]
10535         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
10536         to ...
10537         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
10538         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
10539         to ...
10540         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
10541         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
10542         to ...
10543         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
10544         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
10545         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
10546         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
10547         to ...
10548         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
10549         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10550         Moved to ...
10551         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
10552         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10553         Moved to ...
10554         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
10555         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
10556         to ...
10557         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
10558         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10559         Moved to ...
10560         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
10561         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
10562         to ...
10563         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
10564         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
10565         Removed.
10566         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
10567         Likewise.
10568         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
10569         Likewise.
10570         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
10571         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
10572         Likewise.
10573         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10574         Likewise.
10575         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10576         Likewise.
10577         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10578         Likewise.
10579         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10580         Likewise.
10581         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
10582         Likewise.
10583         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
10584         Likewise.
10585         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
10586         Likewise.
10587         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
10588         Likewise.
10589         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
10590         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
10591         Likewise.
10592         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10593         Likewise.
10594         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10595         Likewise.
10596         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10597         Likewise.
10598         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
10599         Likewise.
10600         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10601         Replace ../i486/pthread_cond_timedwait.S with
10602         ../pthread_cond_timedwait.S.
10604 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10606         * math/libm-test.inc (acos_test_data): Refine expectations for
10607         errno and "inexact" exceptions.
10608         (acosh_test_data): Likewise.
10609         (asin_test_data): Likewise.
10610         (asinh_test_data): Likewise.
10611         (atan_test_data): Likewise.
10612         (atanh_test_data): Likewise.
10613         (atan2_test_data): Likewise.
10614         (cbrt_test_data): Likewise.
10615         (ceil_test_data): Likewise.
10616         (copysign_test_data): Likewise.
10617         (cosh_test_data): Likewise.
10618         (erf_test_data): Likewise.
10619         (erfc_test_data): Likewise.
10620         (exp_test_data): Likewise.
10621         (exp10_test_data): Likewise.
10622         (exp2_test_data): Likewise.
10623         (expm1_test_data): Likewise.
10624         (fabs_test_data): Likewise.
10625         (floor_test_data): Likewise.
10626         (fma_test_data): Likewise.
10627         (fmax_test_data): Likewise.
10628         (fmin_test_data): Likewise.
10629         (fmod_test_data): Likewise.
10630         (fpclassify_test_data): Likewise.
10631         (frexp_test_data): Likewise.
10632         (hypot_test_data): Likewise.
10633         (ilogb_test_data): Likewise.
10634         (isgreater_test_data): Likewise.
10635         (isgreaterequal_test_data): Likewise.
10636         (isinf_test_data): Likewise.
10637         (isless_test_data): Likewise.
10638         (islessequal_test_data): Likewise.
10639         (islessgreater_test_data): Likewise.
10640         (isnan_test_data): Likewise.
10641         (isnormal_test_data): Likewise.
10642         (issignaling_test_data): Likewise.
10643         (isunordered_test_data): Likewise.
10644         (j0_test_data): Likewise.
10645         (j1_test_data): Likewise.
10646         (jn_test_data): Likewise.
10647         (lgamma_test_data): Likewise.
10648         (lrint_test_data): Likewise.
10649         (llrint_test_data): Likewise.
10650         (log_test_data): Likewise.
10651         (log10_test_data): Likewise.
10652         (log1p_test_data): Likewise.
10653         (log2_test_data): Likewise.
10654         (logb_test_data): Likewise.
10655         (lround_test_data): Likewise.
10656         (llround_test_data): Likewise.
10657         (modf_test_data): Likewise.
10658         (nearbyint_test_data): Likewise.
10659         (nextafter_test_data): Likewise.
10660         (nexttoward_test_data): Likewise.
10661         (pow_test_data): Likewise.
10662         (remainder_test_data): Likewise.
10663         (remquo_test_data): Likewise.
10664         (rint_test_data): Likewise.
10665         (round_test_data): Likewise.
10666         (signbit_test_data): Likewise.
10667         (sinh_test_data): Likewise.
10668         (sqrt_test_data): Likewise.
10669         (tanh_test_data): Likewise.
10670         (tgamma_test_data): Likewise.
10671         (trunc_test_data): Likewise.
10672         (y0_test_data): Likewise.
10673         (y1_test_data): Likewise.
10674         (yn_test_data): Likewise.
10675         (significand_test_data): Likewise.
10677 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
10679         * manual/filesys.texi (Storage Allocation): Document that
10680         posix_fallocate emulation fails when fd is open with O_WRONLY.
10682 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
10684         [BZ #19016]
10685         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
10686         allow more cases with X^2 + Y^2 >= 0.5.
10687         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
10688         normal element in sum instead of special-casing based on values of
10689         arguments.
10690         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
10691         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
10692         -1 as normal element in sum instead of special-casing based on
10693         values of arguments.
10694         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
10695         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
10696         (__x2y2m1): Update comment.
10697         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
10698         as normal element in sum instead of special-casing based on values
10699         of arguments.
10700         * math/s_clog.c (__clog): Handle more cases using log1p without
10701         hypot.
10702         * math/s_clog10.c (__clog10): Likewise.
10703         * math/s_clog10f.c (__clog10f): Likewise.
10704         * math/s_clog10l.c (__clog10l): Likewise.
10705         * math/s_clogf.c (__clogf): Likewise.
10706         * math/s_clogl.c (__clogl): Likewise.
10707         * math/auto-libm-test-in: Add more tests of clog and clog10.
10708         * math/auto-libm-test-out: Regenerated.
10709         * sysdeps/i386/fpu/libm-test-ulps: Update.
10710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10712 2015-09-28  Martin Sebor  <msebor@redhat.com>
10714         [BZ #18969]
10715         * string/Makefile (LOCALES): Define.
10716         (gen-locales.mk): Include.
10717         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
10718         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
10719         * string/tst-strxfrm2.c (do_test): Print the name of the locale
10720         on setlocale failure.
10722 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10724         [BZ #18985]
10725         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
10726         (__strftime_internal): Likewise.
10727         * time/tst-strftime.c (do_bz18985): New test.
10728         (do_test): Call it.
10730 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
10732         [BZ #18956]
10733         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
10734         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
10735         extracting high part.
10736         * math/auto-libm-test-in: Add another test of pow.
10737         * math/auto-libm-test-out: Regenerated.
10738         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10740 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10742         [BZ #18825]
10743         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
10744         New macro.
10745         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
10746         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10747         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
10748         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
10749         DBL_NARROW_EVAL, reloading the PIC register as needed.
10750         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
10751         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
10752         FLT_NARROW_EVAL.  Use separate return path for case when first
10753         argument is NaN.
10754         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
10755         DEFINE_LDBL_MIN.
10756         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
10757         PIC register.
10758         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
10759         math_check_force_underflow_nonneg.
10760         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
10761         underflow for subnormal result.
10762         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10763         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
10764         math_check_force_underflow_nonneg.
10765         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
10766         math_check_force_underflow.
10767         * sysdeps/x86_64/fpu/x86_64-math-asm.h
10768         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
10769         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
10770         DEFINE_LDBL_MIN.
10771         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
10772         * math/auto-libm-test-in: Add more tests of pow.
10773         * math/auto-libm-test-out: Regenerated.
10775 2015-09-25  Florian Weimer  <fweimer@redhat.com>
10777         * nss/bug17079.c (init_test_items): Add diagnostic for
10778         inconsistent entries.
10779         (test_buffer_size): Skip inconsistent entries.
10781 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10783         [BZ #13304]
10784         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
10785         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
10786         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
10788         [BZ #13304]
10789         * sysdeps/microblaze/s_fma.c: New file.
10790         * sysdeps/microblaze/s_fmaf.c: Likewise.
10791         * sysdeps/microblaze/sfp-machine.h: Likewise.
10793 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
10795         [BZ #17250]
10796         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
10797         member.
10799 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10801         [BZ #18803]
10802         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
10803         (MO): New macro.
10804         (__ieee754_hypot) [PIC]: Load PIC register.
10805         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
10806         DBL_NARROW_EVAL.
10807         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
10808         math_check_force_underflow_nonneg in case where result might be
10809         tiny.
10810         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10811         Likewise.
10812         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10813         Likewise.
10814         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10815         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
10816         * math/auto-libm-test-in: Add more tests of hypot.
10817         * math/auto-libm-test-out: Regenerated.
10819 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
10821         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
10823 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10825         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
10826         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
10827         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10828         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10829         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
10830         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10831         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10833         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
10834         LOAD_PIC_REG.
10836         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
10837         (FLT_CHECK_FORCE_UFLOW): Likewise.
10838         (DBL_CHECK_FORCE_UFLOW): Likewise.
10839         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
10840         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
10841         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
10842         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10843         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10844         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10845         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10846         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10847         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
10848         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10849         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
10850         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
10851         (flt_min): Replace with use of DEFINE_FLT_MIN.
10852         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
10853         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
10854         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10855         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
10856         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
10857         (flt_min): Replace with use of DEFINE_FLT_MIN.
10858         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
10859         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
10860         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10861         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
10862         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
10863         (flt_min): Replace with use of DEFINE_FLT_MIN.
10864         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
10865         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
10866         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10867         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10868         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
10869         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10870         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10871         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
10872         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10873         (__atan): Use DBL_CHECK_FORCE_UFLOW.
10874         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
10875         (flt_min): Replace with use of DEFINE_FLT_MIN.
10876         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
10877         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
10878         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10879         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
10880         main computation.
10881         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
10882         (flt_min): Replace with use of DEFINE_FLT_MIN.
10883         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
10884         main computation.
10885         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
10886         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10887         (MO): New macro.
10888         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
10889         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
10890         (flt_min): Replace with use of DEFINE_FLT_MIN.
10891         (MO): New macro.
10892         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
10893         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
10894         (__log1pl): Use MO.
10896         [BZ #19003]
10897         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
10898         $(config-cflags-nofma).
10900 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10902         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10904 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
10906         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
10907         (TWO127): Likewise.
10909         * sysdeps/generic/math_private.h (fabs_tg): New macro.
10910         (min_of_type): Likewise.
10911         (math_check_force_underflow): Likewise.
10912         (math_check_force_underflow_nonneg): Likewise.
10913         (math_check_force_underflow_complex): Likewise.
10914         * math/e_exp2l.c (__ieee754_exp2l): Use
10915         math_check_force_underflow_nonneg.
10916         * math/k_casinh.c (__kernel_casinh): Likewise.
10917         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10918         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10919         * math/s_catan.c (__catan): Use
10920         math_check_force_underflow_complex.
10921         * math/s_catanf.c (__catanf): Likewise.
10922         * math/s_catanh.c (__catanh): Likewise.
10923         * math/s_catanhf.c (__catanhf): Likewise.
10924         * math/s_catanhl.c (__catanhl): Likewise.
10925         * math/s_catanl.c (__catanl): Likewise.
10926         * math/s_ccosh.c (__ccosh): Likewise.
10927         * math/s_ccoshf.c (__ccoshf): Likewise.
10928         * math/s_ccoshl.c (__ccoshl): Likewise.
10929         * math/s_cexp.c (__cexp): Likewise.
10930         * math/s_cexpf.c (__cexpf): Likewise.
10931         * math/s_cexpl.c (__cexpl): Likewise.
10932         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
10933         * math/s_clog10.c (__clog10): Likewise.
10934         * math/s_clog10f.c (__clog10f): Likewise.
10935         * math/s_clog10l.c (__clog10l): Likewise.
10936         * math/s_clogf.c (__clogf): Likewise.
10937         * math/s_clogl.c (__clogl): Likewise.
10938         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
10939         * math/s_csinf.c (__csinf): Likewise.
10940         * math/s_csinh.c (__csinh): Likewise.
10941         * math/s_csinhf.c (__csinhf): Likewise.
10942         * math/s_csinhl.c (__csinhl): Likewise.
10943         * math/s_csinl.c (__csinl): Likewise.
10944         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
10945         * math/s_csqrtf.c (__csqrtf): Likewise.
10946         * math/s_csqrtl.c (__csqrtl): Likewise.
10947         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
10948         * math/s_ctanf.c (__ctanf): Likewise.
10949         * math/s_ctanh.c (__ctanh): Likewise.
10950         * math/s_ctanhf.c (__ctanhf): Likewise.
10951         * math/s_ctanhl.c (__ctanhl): Likewise.
10952         * math/s_ctanl.c (__ctanl): Likewise.
10953         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
10954         instead of volatile.
10955         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
10956         math_check_force_underflow.
10957         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10958         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
10959         volatile when forcing underflow.
10960         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10961         math_check_force_underflow_nonneg.
10962         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10963         Likewise.
10964         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
10965         math_check_force_underflow.
10966         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10967         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10968         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10969         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
10970         math_check_force_underflow_nonneg.
10971         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
10972         math_check_force_underflow.
10973         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
10974         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
10975         instead of volatile.
10976         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
10977         math_check_force_underflow.
10978         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10979         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10980         math_check_force_underflow_nonneg.
10981         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
10982         math_check_force_underflow.
10983         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
10984         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10985         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
10986         math_check_force_underflow_nonneg.
10987         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10988         Likewise.
10989         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
10990         math_check_force_underflow.
10991         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10992         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10993         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10994         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
10995         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10996         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
10997         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
10998         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
10999         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11000         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
11001         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11002         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
11003         Likewise.
11004         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
11005         math_check_force_underflow_nonneg.
11006         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11007         Likewise.
11008         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
11009         math_check_force_underflow.
11010         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11011         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
11012         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11013         Likewise.
11014         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
11015         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
11016         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
11017         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
11018         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
11019         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11020         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
11021         instead of volatile.
11022         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
11023         math_check_force_underflow.
11024         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
11025         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
11026         math_check_force_underflow.
11027         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
11028         Likewise.
11029         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11030         Use math_check_force_underflow_nonneg.
11031         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
11032         math_check_force_underflow.
11033         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11034         Likewise.
11035         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11036         Likewise.
11037         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11038         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11039         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11040         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11041         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
11042         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11043         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11044         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
11045         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
11046         math_check_force_underflow_nonneg.
11047         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
11048         math_check_force_underflow.
11049         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11050         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
11051         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
11052         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
11053         math_check_force_underflow_nonneg.
11054         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
11055         math_check_force_underflow.
11056         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
11057         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
11058         instead of volatile.
11059         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
11060         math_check_force_underflow.
11062         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
11063         * stdlib/strtod_l.c: Include <math_private.h>.
11064         (overflow_value): Use math_narrow_eval.
11065         (underflow_value): Likewise.
11066         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11067         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11068         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11069         (__ieee754_gamma_r): Likewise.
11070         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
11071         Likewise.
11072         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11073         Likewise.
11074         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11075         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
11076         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
11077         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
11078         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11079         (__ieee754_gammaf_r): Likewise.
11080         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11081         Likewise.
11082         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11083         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
11084         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
11085         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
11086         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
11087         volatile.
11088         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
11089         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
11090         math_narrow_eval.
11091         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11092         Likewise.
11093         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11094         Likewise.
11095         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
11096         Likewise.
11097         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
11098         volatile.
11099         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
11100         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
11101         math_narrow_eval.
11102         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11103         Likewise.
11104         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11105         Likewise.
11107 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
11109         * nptl/Versions: Remove ignored symbols.
11111 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11113         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
11114         * nss/Makefile (tests): Update.
11116 2015-09-22  Florian Weimer  <fweimer@redhat.com>
11118         * nss/bug18287.c: New file.
11119         * nss/Makefile (tests): Add bug18287.
11121 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11123         * mach/Versions (__mach_host_self_): Add symbol.
11125 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11127         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
11128         vm_page_size.
11130 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11132         Really fix sysdeps/i386/fpu/s_scalbn.S build
11134         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
11135         (libc: GLIBC_2_22): Remove unused version set.
11137 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11139         * config.make.in (enable-timezone-tools): New variable.
11140         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
11141         (enable_timezone_tools): Export to generated files.
11142         * configure: Regenerate.
11143         * INSTALL: Regenerate.
11144         * manual/install.texi (--disable-timezone-tools): Document new flag.
11145         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
11146         ifeq ($(enable-timezone-tools),yes) check.
11148 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11150         * timezone/Makefile: Revert previous change.
11152         [BZ #18980]
11153         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
11154         (DEFINE_DBL_MIN): Likewise.
11155         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11156         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11157         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11158         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11159         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
11160         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11161         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11162         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
11163         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
11164         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11165         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11166         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
11167         (flt_min): Replace with use of DEFINE_FLT_MIN.
11168         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11169         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
11170         (dbl_min): Replace with use of DEFINE_DBL_MIN.
11171         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11172         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
11173         (flt_min): Replace with use of DEFINE_FLT_MIN.
11174         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11175         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
11176         (flt_min): Replace with use of DEFINE_FLT_MIN.
11177         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11178         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
11179         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
11180         (__ieee754_hypot): Use DBL_NARROW_EVAL.
11181         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
11182         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
11183         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
11184         (__ieee754_pow): Use DBL_NARROW_EVAL.
11185         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
11186         (__ieee754_powf): Use FLT_NARROW_EVAL.
11187         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
11188         (__ieee754_expf_sse2): Convert double-precision result to single
11189         precision.
11190         * sysdeps/i386/fpu/libm-test-ulps: Update.
11192 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11194         * timezone/Makefile: Ignore unused variable errors due to private.h
11195         (time_t_min) and (time_t_max).
11196         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
11197         Likewise.
11199 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11201         [BZ #18981]
11202         * sysdeps/i386/fpu/i386-math-asm.h: New file.
11203         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
11204         (__ieee754_scalb): Use DBL_NARROW_EVAL.
11205         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
11206         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
11207         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
11208         (__scalbn): Use DBL_NARROW_EVAL.
11209         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
11210         (__scalbnf): Use FLT_NARROW_EVAL.
11212 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11214         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
11215         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
11216         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
11217         * stdio-common/printf_fp.c (___printf_fp):
11218         Use signbit to get the sign. Use isinf macro to allow inlining.
11219         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
11220         * stdio-common/printf_size.c (__printf_size): Likewise.
11222 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11224         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
11226 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11228         [BZ #18980]
11229         * sysdeps/generic/math_private.h: Include <float.h>.
11230         (math_narrow_eval): New macro.
11231         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11232         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
11233         math_narrow_eval on overflowing return value.
11234         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
11235         Likewise.
11236         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11237         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
11238         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
11239         Likewise.
11240         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11242 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11244         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
11245         * math/Makefile: Remove isinf_ns.c.
11246         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
11247         * math/multc3.c (__multc3): Likewise.
11248         * math/s_casin.c (__casin): Likewise.
11249         * math/s_casinf.c (__casinf): Likewise.
11250         * math/s_casinl.c (__casinl): Likewise.
11251         * math/s_cproj.c (__cproj): Likewise.
11252         * math/s_cprojf.c (__cprojf): Likewise.
11253         * math/s_cprojl.c (__cprofl): Likewise.
11254         * math/s_ctan.c (__ctan): Likewise.
11255         * math/s_ctanf.c (__ctanf): Likewise.
11256         * math/s_ctanh.c (__ctanh): Likewise.
11257         * math/s_ctanhf.c (__ctanhf): Likewise.
11258         * math/s_ctanhl.c (__ctanhl): Likewise.
11259         * math/s_ctanl.c (__ctanl): Likewise.
11260         * math/w_fmod.c (__fmod): Likewise.
11261         * math/w_fmodf.c (__fmodf): Likewise.
11262         * math/w_fmodl.c (_fmodl): Likewise.
11263         * math/w_remainder.c (__remainder): Likewise.
11264         * math/w_remainderf.c (__remainderf): Likewise.
11265         * math/w_remainderl.c (__remainderl): Likewise.
11266         * math/w_scalb.c (__scalb): Likewise.
11267         * math/w_scalbf.c (__scalbf): Likewise.
11268         * math/w_scalbl.c (__scalbl): Likewise.
11269         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
11270         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
11271         with isinf.
11272         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
11273         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
11274         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
11275         __isinf_nsf with isinf.
11276         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
11277         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
11278         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
11279         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
11280         with isinf.
11281         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
11282         __isinf_nsl with isinf.
11283         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
11284         with isinf.
11285         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
11286         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
11287         __isinf_nsl with isinf.
11288         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
11289         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
11290         with isinf.
11292 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11294         * resolv/base64.c (rcsid): Remove unused static.
11295         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
11296         static.  (tqpi1): Likewise.
11297         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
11298         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
11299         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
11300         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
11301         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
11302         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
11303         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
11304         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
11305         Likewise.
11307 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
11309         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
11310         <nptl/pthreadP.h>.
11311         (_longjmp_unwind): Use __libc_ptf_call.
11312         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
11314 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
11316         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
11317         * sysdeps/arm/__longjmp.S: Likewise.
11319 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11321         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
11322         Use __builtin_signbit.
11323         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
11324         Use __builtin_signbitf.
11325         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
11326         Use __builtin_signbitl.
11327         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11328         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
11330 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11332         [BZ #15367]
11333         [BZ #17441]
11335         * math/Makefile: Build test-snan.c with -fsignaling-nans.
11336         * math/math.h (fpclassify): Use __builtin_fpclassify when
11337         available.  (signbit): Use __builtin_signbit(f/l).
11338         (isfinite): Use__builtin_isfinite.  (isnormal): Use
11339         __builtin_isnormal.  (isnan): Use __builtin_isnan.
11340         (isinf): Use __builtin_isinf_sign.
11342 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11344         * benchtests/Makefile: Add bench-math-inlines, link with libm.
11345         * benchtests/bench-math-inlines.c: New benchmark.
11346         * benchtests/bench-util.h: New file.
11347         * benchtests/bench-util.c: New file.
11348         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
11350 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
11352         * elf/tst-dlmopen1.c: Define TEST_SO.
11353         (do_test): Use TEST_SO.
11355         * elf/dl-load.c: Include libc-internal.h.
11356         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
11358 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11360         [BZ #17887]
11361         * time/strptime_l.c (__strptime_internal): Make %z accept
11362         [+-]HH:MM time zones.
11364 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11366         [BZ #17886]
11367         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
11368         valid time zone.
11370 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
11372         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
11373         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
11374         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11375         (__ASSUME_FDATASYNC): Delete.
11377 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11379         * conform/linknamespace.pl: Require weak undefined symbols to be
11380         in the standard namespace.
11381         (%strong_syms): Rename to %seen_syms.
11382         (%strong_seen): Rename to %seen_where.
11384 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
11386         [BZ #18970]
11387         * misc/error.c (error): Replace pthread_setcancelstate with
11388         __pthread_setcancelstate.
11389         (error_at_line): Likewise.
11390         * posix/wordexp.c (parse_comm): Likewise.
11391         * stdlib/fmtmsg.c (fmtmsg): Likewise.
11392         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
11393         (__pthread_setcancelstate): This.
11394         (pthread_setcancelstate): Add an alias.
11395         * nptl/nptl-init.c (pthread_functions): Replace
11396         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
11397         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
11398         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
11399         hidden_proto.
11400         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
11401         it with hidden_def.
11402         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
11403         (pthread_setcancelstate): Renamed to ...
11404         (__pthread_setcancelstate): This.
11405         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
11406         __libc_ptf_call with __pthread_setcancelstate.
11408 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11409             Andreas Schwab  <schwab@suse.de>
11411         [BZ #17118]
11412         * math/s_ctan.c (__ctan): Determine sign of zero real part of
11413         result when imaginary part of argument is infinite using sine and
11414         cosine.
11415         * math/s_ctanf.c (__ctanf): Likewise.
11416         * math/s_ctanl.c (__ctanl): Likewise.
11417         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
11418         of result when real part of argument is infinite using sine and
11419         cosine.
11420         * math/s_ctanhf.c (__ctanhf): Likewise.
11421         * math/s_ctanhl.c (__ctanhl): Likewise.
11422         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
11423         (ctanh_test_data): Add more tests of ctanh.
11425 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11427         [BZ #15384]
11428         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
11429         bit-mask as in subtraction.
11430         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
11431         Likewise.
11432         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
11433         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
11434         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
11436         [BZ #18951]
11437         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
11438         underflow exception for small results.
11439         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11440         Likewise.
11441         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11442         Likewise.
11443         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11444         Likewise.
11445         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11446         Likewise.
11447         * math/auto-libm-test-in: Add more tests of tgamma.
11448         * math/auto-libm-test-out: Regenerated.
11450 2015-09-17  Andreas Schwab  <schwab@suse.de>
11452         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
11454 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11456         [BZ #18977]
11457         * math/bits/mathcalls.h
11458         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
11459         not declare.
11460         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
11461         Likewise.
11462         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
11463         Likewise.
11464         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
11465         Likewise.
11466         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
11467         Likewise.
11468         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
11469         Likewise.
11470         * conform/data/math.h-data
11471         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
11472         function.
11473         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
11474         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
11475         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
11476         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
11477         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
11478         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
11479         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
11480         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
11481         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
11482         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
11483         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
11485         [BZ #6803]
11486         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
11487         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
11488         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
11489         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
11490         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
11491         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
11492         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
11493         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
11494         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11495         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
11496         Likewise.
11497         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11498         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
11499         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
11500         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
11501         long_double_symbol calls.
11502         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
11503         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
11504         strong alias of __ldexpl.
11505         (scalbnl): Define using long_double_symbol.
11506         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
11507         Remove alias.
11508         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
11509         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
11510         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
11511         (scalbln_test_data): Add more errno expectations.
11513 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
11515         Cache the host port like we cache the task port.  This way we do not
11516         need to call the kernel just to get the port.  Furthermore, we no
11517         longer increase the reference count on every invocation of
11518         `mach_host_self'.
11520         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
11521         Protect declarations against the macro expansion.
11522         * mach/mach_init.c (__mach_host_self_): New variable.
11523         (mach_init): Initialize `__mach_host_self_'.
11524         * mach/mach_init.h (__mach_host_self_): New declaration.
11525         (__mach_host_self, mach_host_self): New macros.
11526         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
11527         Release reference.
11529 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11531         [BZ #4404]
11532         * po/de.po: Update from Translation Project.
11534         [BZ #16415]
11535         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
11536         (__expm1l): Remove code to handle positive infinity and overflow.
11537         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
11538         variable.
11539         (__expm1l): Remove code to handle positive infinity and overflow.
11541 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
11542             Paul Pluzhnikov  <ppluzhnikov@google.com>
11544         [BZ #18872]
11545         * stdio-common/Makefile (tst-printf-bz18872): New test.
11546         (tst-printf-bz18872-mem.out): Likewise.
11547         * stdio-common/tst-printf-bz18872.sh: Generate new test.
11548         * stdio-common/vfprintf.c: Fix memory leaks.
11550 2015-09-16  Andreas Schwab  <schwab@suse.de>
11552         [BZ #17244]
11553         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
11554         Remove extra va_start/va_end calls.
11556         [BZ #17243]
11557         * posix/execl.c (execl): Add missing va_end.
11558         * posix/execle.c (execle): Likewise.
11559         * posix/execlp.c (execlp): Likewise.
11561 2015-09-15  Roland McGrath  <roland@hack.frob.com>
11563         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
11564         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
11566 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
11568         [BZ #18967]
11569         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
11570         undefine around includes of <bits/mathcalls.h>.
11571         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
11572         not declare function.
11573         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
11574         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
11575         (scalb): Likewise.
11576         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
11577         not define macro.
11578         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
11579         variable.
11580         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11581         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11582         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11584         [BZ #18857]
11585         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
11586         return non-finite argument without doing ordered comparisons on
11587         it.
11589         [BZ #16296]
11590         * math/fenv.h (fegetround): Use __attribute_pure__.
11591         * include/fenv.h (__fegetround): Likewise.
11593         [BZ #18595]
11594         * math/s_ctan.c (__ctan): Force underflow exception for results
11595         whose real or imaginary part has small absolute value.
11596         * math/s_ctanf.c (__ctanf): Likewise.
11597         * math/s_ctanh.c (__ctanh): Likewise.
11598         * math/s_ctanhf.c (__ctanhf): Likewise.
11599         * math/s_ctanhl.c (__ctanhl): Likewise.
11600         * math/s_ctanl.c (__ctanl): Likewise.
11601         * math/auto-libm-test-in: Do not allow missing underflow for ctan
11602         and ctanh.  Add more tests of ctan and ctanh.
11604         [BZ #15918]
11605         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
11606         handling of cases where one argument is an infinity.
11608         [BZ #18875]
11609         [BZ #18966]
11610         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
11611         (MO): New macro.
11612         (__ieee754_exp10): For small results, force underflow exception
11613         and remove excess range and precision from return value.
11614         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
11615         (MO): New macro.
11616         (__ieee754_exp10f): For small results, force underflow exception
11617         and remove excess range and precision from return value.
11618         * math/auto-libm-test-in: Add more tests of exp10.
11619         * math/auto-libm-test-out: Regenerated.
11621 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
11623         [BZ #18875]
11624         [BZ #18961]
11625         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
11626         (MO): New macro.
11627         (__ieee754_exp): For small results, force underflow exception and
11628         remove excess range and precision from return value.
11629         (__exp_finite): Likewise.
11630         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
11631         (MO): New macro.
11632         (__ieee754_expf): For small results, force underflow exception and
11633         remove excess range and precision from return value.
11634         (__expf_finite): Likewise.
11635         * math/auto-libm-test-in: Add more tests of exp.
11636         * math/auto-libm-test-out: Regenerated.
11638         [BZ #16521]
11639         [BZ #18875]
11640         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
11641         small results.
11642         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
11643         (MO): New macro.
11644         (__ieee754_exp2): For small results, force underflow exception and
11645         remove excess range and precision from return value.
11646         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
11647         (MO): New macro.
11648         (__ieee754_exp2f): For small results, force underflow exception
11649         and remove excess range and precision from return value.
11650         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
11651         (MO): New macro.
11652         (__ieee754_exp2l): Force underflow exception for small results.
11653         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11654         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11655         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
11656         (MO): New macro.
11657         (__ieee754_exp2l): Force underflow exception for small results.
11658         * math/auto-libm-test-in: Add more tests or exp2.
11659         * math/auto-libm-test-out: Regenerated.
11661 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
11663         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
11665         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
11666         /dev/null.
11668 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11670         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11671         io fs process)): Drop spurious backslash.
11673 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11675         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
11676         Use sysinfo system call instead of parsing /proc/meminfo.
11677         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
11678         Likewise.
11680 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
11682         [BZ #16985]
11683         * programs/localedef.c (main): Display argv[remaining] when
11684         output_path is NULL.
11686 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11688         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11689         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
11690         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
11691         tanh.
11692         * math/auto-libm-test-out: Regenerated.
11693         * sysdeps/i386/fpu/libm-test-ulps: Update.
11694         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11695         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11698 2015-09-11  Roland McGrath  <roland@hack.frob.com>
11700         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
11701         Use 'override' keyword to freeze the value here, preventing
11702         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
11704 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11706         [BZ #14912]
11707         * sysdeps/aarch64/bits/atomic.h: Move to ...
11708         * sysdeps/aarch64/atomic-machine.h: ...here.
11709         (_AARCH64_BITS_ATOMIC_H): Rename macro to
11710         _AARCH64_ATOMIC_MACHINE_H.
11711         * sysdeps/alpha/bits/atomic.h: Move to ...
11712         * sysdeps/alpha/atomic-machine.h: ...here.
11713         * sysdeps/arm/bits/atomic.h: Move to ...
11714         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
11715         * bits/atomic.h: Move to ...
11716         * sysdeps/generic/atomic-machine.h: ...here.
11717         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11718         * sysdeps/i386/bits/atomic.h: Move to ...
11719         * sysdeps/i386/atomic-machine.h: ...here.
11720         * sysdeps/ia64/bits/atomic.h: Move to ...
11721         * sysdeps/ia64/atomic-machine.h: ...here.
11722         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
11723         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
11724         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11725         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
11726         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
11727         * sysdeps/microblaze/bits/atomic.h: Move to ...
11728         * sysdeps/microblaze/atomic-machine.h: ...here.
11729         * sysdeps/mips/bits/atomic.h: Move to ...
11730         * sysdeps/mips/atomic-machine.h: ...here.
11731         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
11732         * sysdeps/powerpc/bits/atomic.h: Move to ...
11733         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
11734         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
11735         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
11736         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
11737         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
11738         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
11739         <atomic-machine.h> instead of <bits/atomic.h>.
11740         * sysdeps/s390/bits/atomic.h: Move to ...
11741         * sysdeps/s390/atomic-machine.h: ...here.
11742         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
11743         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
11744         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11745         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
11746         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
11747         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
11748         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
11749         * sysdeps/tile/bits/atomic.h: Move to ...
11750         * sysdeps/tile/atomic-machine.h: ...here.
11751         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
11752         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
11753         <sysdeps/tile/atomic-machine.h> instead of
11754         <sysdeps/tile/bits/atomic.h>.
11755         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11756         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
11757         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
11758         <sysdeps/tile/atomic-machine.h> instead of
11759         <sysdeps/tile/bits/atomic.h>.
11760         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11761         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
11762         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
11763         <sysdeps/arm/atomic-machine.h> instead of
11764         <sysdeps/arm/bits/atomic.h>.
11765         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
11766         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
11767         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11768         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
11769         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
11770         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11771         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
11772         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
11773         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
11774         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
11775         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
11776         * sysdeps/x86_64/bits/atomic.h: Move to ...
11777         * sysdeps/x86_64/atomic-machine.h: ...here.
11778         * include/atomic.h: Include <atomic-machine.h> instead of
11779         <bits/atomic.h>.
11781         * sysdeps/mips/mips32/libm-test-ulps: Update.
11782         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11784         [BZ #18952]
11785         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
11786         not convert non-integer negative arguments to int to determine the
11787         value of signgam.
11788         * math/auto-libm-test-in: Add more tests of lgamma.
11789         * math/auto-libm-test-out: Regenerated.
11791         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
11792         cosh, csqrt, erfc, expm1 and lgamma.
11793         * math/auto-libm-test-out: Regenerated.
11794         * sysdeps/i386/fpu/libm-test-ulps: Update.
11795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11797 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
11799         [BZ #2542]
11800         [BZ #2543]
11801         [BZ #2558]
11802         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
11803         __lgamma_neg for arguments from -28.0 to -2.0.
11804         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
11805         __lgamma_negf for arguments from -15.0 to -2.0.
11806         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11807         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
11808         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
11809         Call __lgamma_negl for arguments from -33.0 to -2.0.
11810         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
11811         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11812         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11813         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
11814         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11815         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11816         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11817         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
11818         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11819         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11820         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
11821         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
11822         (__lgamma_neg): Likewise.
11823         (__lgamma_negl): Likewise.
11824         (__lgamma_product): Likewise.
11825         (__lgamma_productl): Likewise.
11826         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
11827         * math/auto-libm-test-in: Add more tests of lgamma.
11828         * math/auto-libm-test-out: Regenerated.
11829         * sysdeps/i386/fpu/libm-test-ulps: Update.
11830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11832 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
11834         [BZ #18675]
11835         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
11837 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
11839         [BZ #14912]
11840         * bits/libc-lock.h: Move to ...
11841         * sysdeps/generic/libc-lock.h: ...here.
11842         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11843         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
11844         * sysdeps/mach/hurd/libc-lock.h: ...here.
11845         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11846         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
11847         * sysdeps/mach/bits/libc-lock.h: Move to ...
11848         * sysdeps/mach/libc-lock.h: ...here.
11849         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11850         * sysdeps/nptl/bits/libc-lock.h: Move to ...
11851         * sysdeps/nptl/libc-lock.h: ...here.
11852         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11853         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
11854         * sysdeps/nptl/libc-lockP.h: ...here.
11855         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
11856         * crypt/crypt_util.c: Include <libc-lock.h> instead of
11857         <bits/libc-lock.h>.
11858         * dirent/scandir-tail.c: Likewise.
11859         * dlfcn/dlerror.c: Likewise.
11860         * elf/dl-close.c: Likewise.
11861         * elf/dl-iteratephdr.c: Likewise.
11862         * elf/dl-lookup.c: Likewise.
11863         * elf/dl-open.c: Likewise.
11864         * elf/dl-support.c: Likewise.
11865         * elf/dl-writev.h: Likewise.
11866         * elf/rtld.c: Likewise.
11867         * grp/fgetgrent.c: Likewise.
11868         * gshadow/fgetsgent.c: Likewise.
11869         * gshadow/sgetsgent.c: Likewise.
11870         * iconv/gconv_conf.c: Likewise.
11871         * iconv/gconv_db.c: Likewise.
11872         * iconv/gconv_dl.c: Likewise.
11873         * iconv/gconv_int.h: Likewise.
11874         * iconv/gconv_trans.c: Likewise.
11875         * include/link.h: Likewise.
11876         * inet/getnameinfo.c: Likewise.
11877         * inet/getnetgrent.c: Likewise.
11878         * inet/getnetgrent_r.c: Likewise.
11879         * intl/bindtextdom.c: Likewise.
11880         * intl/dcigettext.c: Likewise.
11881         * intl/finddomain.c: Likewise.
11882         * intl/gettextP.h: Likewise.
11883         * intl/loadmsgcat.c: Likewise.
11884         * intl/localealias.c: Likewise.
11885         * intl/textdomain.c: Likewise.
11886         * libidn/idn-stub.c: Likewise.
11887         * libio/libioP.h: Likewise.
11888         * locale/duplocale.c: Likewise.
11889         * locale/freelocale.c: Likewise.
11890         * locale/newlocale.c: Likewise.
11891         * locale/setlocale.c: Likewise.
11892         * login/getutent_r.c: Likewise.
11893         * login/getutid_r.c: Likewise.
11894         * login/getutline_r.c: Likewise.
11895         * login/utmp-private.h: Likewise.
11896         * login/utmpname.c: Likewise.
11897         * malloc/mtrace.c: Likewise.
11898         * misc/efgcvt.c: Likewise.
11899         * misc/error.c: Likewise.
11900         * misc/fstab.c: Likewise.
11901         * misc/getpass.c: Likewise.
11902         * misc/mntent.c: Likewise.
11903         * misc/syslog.c: Likewise.
11904         * nis/nis_call.c: Likewise.
11905         * nis/nis_callback.c: Likewise.
11906         * nis/nss-default.c: Likewise.
11907         * nis/nss_compat/compat-grp.c: Likewise.
11908         * nis/nss_compat/compat-initgroups.c: Likewise.
11909         * nis/nss_compat/compat-pwd.c: Likewise.
11910         * nis/nss_compat/compat-spwd.c: Likewise.
11911         * nis/nss_nis/nis-alias.c: Likewise.
11912         * nis/nss_nis/nis-ethers.c: Likewise.
11913         * nis/nss_nis/nis-grp.c: Likewise.
11914         * nis/nss_nis/nis-hosts.c: Likewise.
11915         * nis/nss_nis/nis-network.c: Likewise.
11916         * nis/nss_nis/nis-proto.c: Likewise.
11917         * nis/nss_nis/nis-pwd.c: Likewise.
11918         * nis/nss_nis/nis-rpc.c: Likewise.
11919         * nis/nss_nis/nis-service.c: Likewise.
11920         * nis/nss_nis/nis-spwd.c: Likewise.
11921         * nis/nss_nisplus/nisplus-alias.c: Likewise.
11922         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
11923         * nis/nss_nisplus/nisplus-grp.c: Likewise.
11924         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
11925         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
11926         * nis/nss_nisplus/nisplus-network.c: Likewise.
11927         * nis/nss_nisplus/nisplus-proto.c: Likewise.
11928         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
11929         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
11930         * nis/nss_nisplus/nisplus-service.c: Likewise.
11931         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
11932         * nis/ypclnt.c: Likewise.
11933         * nptl/libc_pthread_init.c: Likewise.
11934         * nss/getXXbyYY.c: Likewise.
11935         * nss/getXXent.c: Likewise.
11936         * nss/getXXent_r.c: Likewise.
11937         * nss/nss_db/db-XXX.c: Likewise.
11938         * nss/nss_db/db-netgrp.c: Likewise.
11939         * nss/nss_db/nss_db.h: Likewise.
11940         * nss/nss_files/files-XXX.c: Likewise.
11941         * nss/nss_files/files-alias.c: Likewise.
11942         * nss/nsswitch.c: Likewise.
11943         * posix/regex_internal.h: Likewise.
11944         * posix/wordexp.c: Likewise.
11945         * pwd/fgetpwent.c: Likewise.
11946         * resolv/res_hconf.c: Likewise.
11947         * resolv/res_libc.c: Likewise.
11948         * shadow/fgetspent.c: Likewise.
11949         * shadow/lckpwdf.c: Likewise.
11950         * shadow/sgetspent.c: Likewise.
11951         * socket/opensock.c: Likewise.
11952         * stdio-common/reg-modifier.c: Likewise.
11953         * stdio-common/reg-printf.c: Likewise.
11954         * stdio-common/reg-type.c: Likewise.
11955         * stdio-common/vfprintf.c: Likewise.
11956         * stdio-common/vfscanf.c: Likewise.
11957         * stdlib/abort.c: Likewise.
11958         * stdlib/cxa_atexit.c: Likewise.
11959         * stdlib/fmtmsg.c: Likewise.
11960         * stdlib/random.c: Likewise.
11961         * stdlib/setenv.c: Likewise.
11962         * string/strsignal.c: Likewise.
11963         * sunrpc/auth_none.c: Likewise.
11964         * sunrpc/bindrsvprt.c: Likewise.
11965         * sunrpc/create_xid.c: Likewise.
11966         * sunrpc/key_call.c: Likewise.
11967         * sunrpc/rpc_thread.c: Likewise.
11968         * sysdeps/arm/backtrace.c: Likewise.
11969         * sysdeps/generic/ldsodefs.h: Likewise.
11970         * sysdeps/generic/stdio-lock.h: Likewise.
11971         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
11972         * sysdeps/i386/backtrace.c: Likewise.
11973         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11974         * sysdeps/m68k/backtrace.c: Likewise.
11975         * sysdeps/mach/hurd/cthreads.c: Likewise.
11976         * sysdeps/mach/hurd/dirstream.h: Likewise.
11977         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11978         * sysdeps/nptl/malloc-machine.h: Likewise.
11979         * sysdeps/nptl/stdio-lock.h: Likewise.
11980         * sysdeps/posix/dirstream.h: Likewise.
11981         * sysdeps/posix/getaddrinfo.c: Likewise.
11982         * sysdeps/posix/system.c: Likewise.
11983         * sysdeps/pthread/aio_suspend.c: Likewise.
11984         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11985         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11986         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11987         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11988         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
11989         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
11990         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
11991         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11992         * sysdeps/unix/sysv/linux/system.c: Likewise.
11993         * sysdeps/x86_64/backtrace.c: Likewise.
11994         * time/alt_digit.c: Likewise.
11995         * time/era.c: Likewise.
11996         * time/tzset.c: Likewise.
11997         * wcsmbs/wcsmbsload.c: Likewise.
11998         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
11999         instead of <bits/libc-lock.h> in comment.
12001 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
12003         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
12004         Only use .set mips2 if the current ISA is below mips2.
12005         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
12006         Likewise.
12007         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
12008         mips32r2 if the current ISA is below mips32r2.
12009         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
12010         (TLS_IE): Updated to use the TLD_RDHWR macro.
12011         (TLS_LE): Likewise.
12012         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
12013         __ASSEMBLER__ condition.
12015 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12017         Fix parallel build of before-compile targets.
12019         * sysdeps/mach/Makefile ($(patsubst
12020         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
12021         mach-before-compile target.
12022         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12023         io fs process)): Move rule to dedicated hurd-before-compile target.
12025 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12027         Fix rules generating headers in hurd/ and mach/ when initial make call
12028         has subdir= explicitly set.
12030         * sysdeps/mach/Makefile ($(patsubst
12031         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
12032         calling $(MAKE).
12033         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12034         io fs process)): Force subdir to hurd when calling $(MAKE).
12035         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
12036         subdir to mach when calling $(MAKE).
12038 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
12040         Check sysheaders when looking for Mach and Hurd headers
12042         * sysdeps/mach/configure.ac: Add sysheaders check.
12043         * sysdeps/mach/configure: Regenerate.
12044         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
12045         * sysdeps/mach/hurd/configure: Regenerate.
12047 2015-09-04  Roland McGrath  <roland@hack.frob.com>
12049         [BZ #18921]
12050         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
12051         Fix inverted sense of test of 'o_directory_works' value.
12052         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
12053         Bernhard Voelker <mail@bernhard-voelker.de>.
12055 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12057         [BZ #14912]
12058         * bits/linkmap.h: Move to ...
12059         * sysdeps/generic/linkmap.h: ...here.
12060         * sysdeps/aarch64/bits/linkmap.h: Move to ...
12061         * sysdeps/aarch64/linkmap.h: ...here.
12062         * sysdeps/arm/bits/linkmap.h: Move to ...
12063         * sysdeps/arm/linkmap.h: ...here.
12064         * sysdeps/hppa/bits/linkmap.h: Move to ...
12065         * sysdeps/hppa/linkmap.h: ...here.
12066         * sysdeps/ia64/bits/linkmap.h: Move to ...
12067         * sysdeps/ia64/linkmap.h: ...here.
12068         * sysdeps/mips/bits/linkmap.h: Move to ...
12069         * sysdeps/mips/linkmap.h: ...here.
12070         * sysdeps/s390/bits/linkmap.h: Move to ...
12071         * sysdeps/s390/linkmap.h: ...here.
12072         * sysdeps/sh/bits/linkmap.h: Move to ...
12073         * sysdeps/sh/linkmap.h: ...here.
12074         * sysdeps/x86/bits/linkmap.h: Move to ...
12075         * sysdeps/x86/linkmap.h: ...here.
12076         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
12078 2015-09-04  Andreas Schwab  <schwab@suse.de>
12080         [BZ #18635]
12081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
12082         (__makecontext): Terminate FDE before return label.
12083         (__novec_makecontext): Likewise.
12085 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12087         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
12088         first member of struct sv in syscall macro.
12090 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
12092         [BZ #14912]
12093         * bits/stdio-lock.h: Move to ...
12094         * sysdeps/generic/stdio-lock.h: ...here.
12095         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12096         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
12097         * sysdeps/nptl/stdio-lock.h: ...here.
12098         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12099         * include/libio.h: Include <stdio-lock.h> instead of
12100         <bits/stdio-lock.h>.
12101         * sysdeps/nptl/fork.c: Likewise.
12102         * sysdeps/pthread/flockfile.c: Likewise.
12103         * sysdeps/pthread/ftrylockfile.c: Likewise.
12104         * sysdeps/pthread/funlockfile.c: Likewise.
12106         [BZ #14912]
12107         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
12108         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
12109         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
12110         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
12111         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
12112         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12113         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
12115 2015-09-03  Roland McGrath  <roland@hack.frob.com>
12117         * elf/Makefile (test-xfail-tst-protected1a): New variable.
12118         (test-xfail-tst-protected1b): New variable.
12120 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
12122         [BZ #14912]
12123         * bits/libc-tsd.h: Move to ...
12124         * sysdeps/generic/libc-tsd.h: ...here.
12125         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
12126         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
12127         * sysdeps/mach/hurd/libc-tsd.h: ...here.
12128         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
12129         * include/ctype.h: Include <libc-tsd.h> instead of
12130         <bits/libc-tsd.h>.
12131         * include/rpc/rpc.h: Likewise.
12132         * locale/localeinfo.h: Likewise.
12133         * sunrpc/rpc_thread.c: Likewise.
12134         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12135         * sysdeps/nptl/malloc-machine.h: Likewise.
12137         * Makefile (headers): Remove bits/libc-lock.h.
12138         * libio/Makefile (headers): Remove bits/stdio-lock.h.
12140         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
12141         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
12142         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
12143         <bits/stdio-lock.h>.
12144         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
12145         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
12147 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12149         [BZ #18757]
12150         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
12151         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
12152         BZ #18757.
12154 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
12156         * malloc/mtrace.pl: Filter out NULL entries.
12158 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
12160         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
12161         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
12162         macro.
12164         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
12165         (TCP_CC_INFO): Likewise.
12166         (TCP_SAVE_SYN): Likewise.
12167         (TCP_SAVED_SYN): Likewise.
12169 2015-08-31  Brett Neumeier <brett@neumeier.us>
12171         [BZ #18870]
12172         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
12174 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
12176         [BZ #18873]
12177         Fix broken overflow check in posix_fallocate
12178         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
12179         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12180         Fix parenthesization typo.
12182 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
12184         [BZ #18887]
12185         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
12186         tst-mntent-blank-passno.
12187         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
12188         * misc/tst-mntent-blank-corrupt.c: New test.
12189         * misc/tst-mntent-blank-passno.c: New test ripped from ...
12190         * misc/tst-mntent.c (do_test): ... here.
12192 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
12194         [BZ #4404]
12195         * po/de.po: Fix SIGALRM typo.
12197 2015-08-28  James Perkins  <james@loowit.net>
12199         * time/tst-strptime2.c (tests): Replace short list of test
12200         strings for strptime %z specifier with code which exhaustively
12201         tests every combination of sign and 0 to 5 digits. Tests for
12202         rejection of invalid strings.
12204 2015-08-28  James Perkins  <james@loowit.net>
12206         [BZ #16141]
12207         * time/strptime_l.c (__strptime_internal): Fix %z minutes
12208         calculation, removing incorrect decimal time rounding, so that
12209         all minute values result in a valid seconds value.
12210         * time/strptime_l.c (__strptime_internal): Extend %z time zone
12211         offset range limits to UTC-99:59 through UTC+99:59 to parse
12212         current and historical use cases.
12213         * time/tst-strptime2.c (tests): Modify and add tests for the
12214         strptime %z input field descriptor, specifically conversion of
12215         minutes to seconds and validating an offset range of -9959 to
12216         +9959.
12218 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12219             Dmitry V. Levin  <ldv@altlinux.org>
12221         [BZ #18877]
12222         * posix/Makefile (tests): Add tst-mmap-offset.
12223         * posix/tst-mmap.c: New file.
12224         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
12225         offset calculation for negative values.
12227 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12229         * sysdeps/i386/init-arch.h: New file.
12230         * sysdeps/i386/i586/init-arch.h: Likewise.
12231         * sysdeps/i386/i686/init-arch.h: Likewise.
12232         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
12233         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
12234         * sysdeps/x86/cpu-features.h (bit_I586): New.
12235         (bit_I686): Likewise.
12236         (bit_CX8): Likewise.
12237         (bit_CMOV): Likewise.
12238         (index_CX8): Likewise.
12239         (index_CMOV): Likewise.
12240         (index_I586): Likewise.
12241         (index_I686): Likewise.
12242         (reg_CX8): Likewise.
12243         (reg_CMOV): Likewise.
12244         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
12245         available at compile-time.
12246         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
12247         available at compile-time.
12248         * sysdeps/x86/init-arch.h (USE_I586): New macro.
12249         (USE_I686): Likewise.
12251 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12253         * sysdeps/i386/bcopy.S: New file.
12254         * sysdeps/i386/bzero.S: Likewise.
12255         * sysdeps/i386/memcpy.S: Likewise.
12256         * sysdeps/i386/memmove.S: Likewise.
12257         * sysdeps/i386/mempcpy.S: Likewise.
12258         * sysdeps/i386/memset.S: Likewise.
12259         * sysdeps/i386/bzero.c: Removed.
12260         * sysdeps/i386/memset.c: Likewise.
12261         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
12262         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
12263         * sysdeps/i386/i586/memset_chk.S: Likewise.
12264         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
12265         * sysdeps/i386/memcpy_chk.S: Here.
12266         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
12267         * sysdeps/i386/memmove_chk.S: Here.
12268         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
12269         * sysdeps/i386/mempcpy_chk.S: Likewise.
12270         * sysdeps/i386/i686/memset_chk.S: Moved to ...
12271         * sysdeps/i386/memset_chk.S: Likewise.
12273 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
12275         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
12276         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
12277         file, move DIAG_POP_NEEDS_COMMENT to end of file.
12278         * soft-fp/fmadf4.c: Ditto.
12279         * soft-fp/fmatf4.c: Ditto.
12281 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12283         * sysdeps/i386/i586/Implies: Removed.
12284         * sysdeps/i386/i686/Implies: Likewise.
12286 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12288         * sysdeps/i386/i486/strlen.S: Moved to ...
12289         * sysdeps/i386/strlen.S: Here.
12291 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12293         * sysdeps/i386/i486/strcat.S: Moved to ...
12294         * sysdeps/i386/strcat.S: Here.
12296 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12298         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
12299         * sysdeps/i386/pthread_spin_trylock.S: Here.
12300         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
12301         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
12303 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12305         * sysdeps/i386/i486/string-inlines.c: Moved to ...
12306         * sysdeps/i386/string-inlines.c: Here.
12308 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12310         * sysdeps/i386/i486/htonl.S: Moved ...
12311         * sysdeps/i386/htonl.S: here.
12313 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12315         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
12316         * sysdeps/i386/bits/atomic.h: Here.
12318 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12320         * sysdeps/i386/i486/Versions: Removed.
12322 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12324         [BZ #2898]
12325         * misc/mktemp.c: Add mkdtemp to the link_warning message.
12326         Based on patch by Aurelien Jarno.
12328 2015-08-26  Stan Shebs  <stanshebs@google.com>
12330         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
12331         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12333 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12335         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
12336         * sysdeps/powerpc/dl-procinfo.c:
12337         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
12338         feature so it shows when LD_SHOW_AUXV=1.
12340 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12342         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12343         (__arch_compare_and_exchange_val_32_acq): Remove and use common
12344         definition.  ISA 2.07B no longer requires full sync.
12346 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
12348         [BZ #18863]
12349         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
12350         (si_call_addr): Define.
12351         (si_syscall): Define.
12352         (si_arch): Define.
12354 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12356         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
12357         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
12358         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
12359         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12360         (__memset_zero_constant_len_parameter): New.
12361         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
12362         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12363         (__memset_zero_constant_len_parameter): Don't define if
12364         __memset_chk or USE_AS_BZERO are defined.
12366         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
12367         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
12368         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
12370         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
12371         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
12372         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
12373         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
12374         comments.
12375         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
12376         -mno-mmx for $(all-rtld-routines).
12377         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
12378         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
12379         i386.
12381 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12383         * sysdeps/generic/unwind.h
12384         (_Unwind_Word): Use __mode__(__unwind_word__)
12385         instead of __mode__(__word__).
12386         (_Unwind_Sword): Likewise.
12388         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12389         (MAX_NEEDED_INPUT): New define.
12390         (MAX_NEEDED_OUTPUT): New define.
12392         * NEWS: New item for IBM z13 string optimizations.
12394         * sysdeps/s390/multiarch/memrchr-c.c: New File.
12395         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
12396         * sysdeps/s390/multiarch/memrchr.c: Likewise.
12397         * sysdeps/s390/multiarch/Makefile
12398         (sysdep_routines): Add memrchr functions.
12399         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12400         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
12402         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
12403         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
12404         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
12405         * sysdeps/s390/multiarch/Makefile
12406         (sysdep_routines): Add wmemcmp functions.
12407         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12408         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
12409         * benchtests/bench-wmemcmp.c: New File.
12410         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
12412         * sysdeps/s390/multiarch/wmemset-c.c: New File.
12413         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
12414         * sysdeps/s390/multiarch/wmemset.c: Likewise.
12415         * sysdeps/s390/multiarch/Makefile
12416         (sysdep_routines): Add wmemset functions.
12417         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12418         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
12419         * wcsmbs/wmemset.c: Use WMEMSET if defined.
12420         * string/test-memset.c: Add wmemset support.
12421         * wcsmbs/test-wmemset.c: New File.
12422         * wcsmbs/Makefile (strop-tests): Add wmemset.
12423         * benchtests/bench-memset.c: Add wmemset support.
12424         * benchtests/bench-wmemset.c: New File.
12425         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
12427         * sysdeps/s390/multiarch/memccpy-c.c: New File.
12428         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
12429         * sysdeps/s390/multiarch/memccpy.c: Likewise.
12430         * sysdeps/s390/multiarch/Makefile
12431         (sysdep_routines): Add memccpy functions.
12432         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12433         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
12434         * string/memccpy.c: Use MEMCCPY if defined.
12436         * sysdeps/s390/multiarch/memchr-vx.S: New File.
12437         * sysdeps/s390/multiarch/memchr.c: Likewise.
12438         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
12439         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
12440         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12441         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
12442         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
12443         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12444         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
12445         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
12446         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
12447         and rawmemchr functions.
12448         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12449         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
12450         and wmemchr.
12451         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
12452         * string/test-memchr.c: Add wmemchr support.
12453         * wcsmbs/test-wmemchr.c: New File.
12454         * wcsmbs/Makefile (strop-tests): Add wmemchr.
12455         * benchtests/bench-memchr.c: Add wmemchr support.
12456         * benchtests/bench-wmemchr.c: New File.
12457         * benchtests/Makefile (wcsmbs-bench): wmemchr.
12459         * sysdeps/s390/multiarch/strcspn-c.c: New File.
12460         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
12461         * sysdeps/s390/multiarch/strcspn.c: Likewise.
12462         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
12463         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
12464         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
12465         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
12466         wcscspn functions.
12467         * sysdeps/s390/multiarch/ifunc-impl-list.c
12468         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
12469         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
12470         * string/test-strcspn.c: Add wcscspn support.
12471         * wcsmbs/test-wcscspn.c: New File.
12472         * wcsmbs/Makefile (strop-tests): Add wcscspn.
12473         * benchtests/bench-strcspn.c: Add wcscspn support.
12474         * benchtests/bench-wcscspn.c: New File.
12475         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
12477         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
12478         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
12479         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12480         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
12481         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
12482         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12483         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
12484         wcspbrk functions.
12485         * sysdeps/s390/multiarch/ifunc-impl-list.c
12486         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
12487         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
12488         * string/test-strpbrk.c: Add wcspbrk support.
12489         * wcsmbs/test-wcspbrk.c: New File.
12490         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
12491         * benchtests/bench-strpbrk.c: Add wcspbrk support.
12492         * benchtests/bench-wcspbrk.c: New File.
12493         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
12495         * sysdeps/s390/multiarch/strspn-c.c: New File.
12496         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
12497         * sysdeps/s390/multiarch/strspn.c: Likewise.
12498         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
12499         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
12500         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12501         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
12502         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
12503         wcsspn functions.
12504         * sysdeps/s390/multiarch/ifunc-impl-list.c
12505         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
12506         * string/test-strspn.c: Add wcsspn support.
12507         * wcsmbs/test-wcsspn.c: New File.
12508         * wcsmbs/Makefile (strop-tests): Add wcsspn.
12509         * benchtests/bench-strspn.c: Add wcsspn support.
12510         * benchtests/bench-wcsspn.c: New File.
12511         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
12513         * sysdeps/s390/multiarch/strrchr-c.c: New File.
12514         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
12515         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12516         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
12517         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
12518         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
12519         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
12520         wcsrchr functions.
12521         * sysdeps/s390/multiarch/ifunc-impl-list.c
12522         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
12523         * benchtests/bench-wcsrchr.c: New File.
12524         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
12526         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
12527         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
12528         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
12529         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
12530         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
12531         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
12532         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
12533         wcschrnul functions.
12534         * sysdeps/s390/multiarch/ifunc-impl-list.c
12535         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
12536         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
12537         * string/test-strchr.c: Add wcschrnul support.
12538         * wcsmbs/test-wcschrnul.c: New File.
12539         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
12540         * benchtests/bench-strchr.c: Add wcschrnul support.
12541         * benchtests/bench-wcschrnul.c: New File.
12542         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
12544         * sysdeps/s390/multiarch/strchr-c.c: New File.
12545         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
12546         * sysdeps/s390/multiarch/strchr.c: Likewise.
12547         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
12548         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
12549         * sysdeps/s390/multiarch/wcschr.c: Likewise.
12550         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
12551         wcschr functions.
12552         * sysdeps/s390/multiarch/ifunc-impl-list.c
12553         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
12554         * string/strchr.c (STRCHR): Define and use macro.
12555         * benchtests/bench-wcschr.c: New File.
12556         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
12558         * sysdeps/s390/multiarch/strncmp-c.c: New File.
12559         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
12560         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12561         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
12562         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
12563         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
12564         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
12565         wcsncmp functions.
12566         * sysdeps/s390/multiarch/ifunc-impl-list.c
12567         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
12568         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
12569         * benchtests/bench-strncmp.c: Add wcsncmp support.
12570         * benchtests/bench-wcsncmp.c: New File.
12571         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
12573         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
12574         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12575         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
12576         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
12577         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12578         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
12579         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
12580         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
12581         wcscmp functions.
12582         * sysdeps/s390/multiarch/ifunc-impl-list.c
12583         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
12584         * string/strcmp.c (STRCMP): Define and use macro.
12585         * benchtests/bench-wcscmp.c: New File.
12586         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
12587         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
12588         instead of _HAVE_STRING_ARCH_memchr.
12590         * sysdeps/s390/multiarch/strncat-c.c: New File.
12591         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
12592         * sysdeps/s390/multiarch/strncat.c: Likewise.
12593         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
12594         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
12595         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
12596         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
12597         wcsncat functions.
12598         * sysdeps/s390/multiarch/ifunc-impl-list.c
12599         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
12600         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
12601         * string/test-strncat.c: Add wcsncat support.
12602         * wcsmbs/test-wcsncat.c: New File.
12603         * wcsmbs/Makefile (strop-tests): Add wcsncat.
12604         * benchtests/bench-strncat.c: Add wcsncat support.
12605         * benchtests/bench-wcsncat.c: New File.
12606         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
12608         * sysdeps/s390/multiarch/strcat-c.c: New File.
12609         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
12610         * sysdeps/s390/multiarch/strcat.c: Likewise.
12611         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
12612         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
12613         * sysdeps/s390/multiarch/wcscat.c: Likewise.
12614         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
12615         wcscat functions.
12616         * sysdeps/s390/multiarch/ifunc-impl-list.c
12617         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
12618         * string/strcat.c (STRCAT): Define and use macro.
12619         * wcsmbs/wcscat.c: Use WCSCAT if defined.
12620         * string/test-strcat.c: Add wcscat support.
12621         * wcsmbs/test-wcscat.c: New File.
12622         * wcsmbs/Makefile (strop-tests): Add wcscat.
12623         * benchtests/bench-strcat.c: Add wcscat support.
12624         * benchtests/bench-wcscat.c: New File.
12625         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
12627         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
12628         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
12629         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12630         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
12631         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
12632         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
12633         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
12634         wcpncpy functions.
12635         * sysdeps/s390/multiarch/ifunc-impl-list.c
12636         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
12637         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
12638         * string/test-stpncpy.c: Add wcpncpy support.
12639         * wcsmbs/test-wcpncpy.c: New File.
12640         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
12641         * benchtests/bench-stpncpy.c: Add wcpncpy support.
12642         * benchtests/bench-wcpncpy.c: New File.
12643         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
12645         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
12646         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12647         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
12648         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
12649         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
12650         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
12651         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
12652         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
12653         wcsncpy functions.
12654         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
12655         * sysdeps/s390/multiarch/ifunc-impl-list.c
12656         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
12657         * string/test-strncpy.c: Add wcsncpy support.
12658         * wcsmbs/test-wcsncpy.c: New File.
12659         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
12660         * benchtests/bench-strncpy.c: Add wcsncpy support.
12661         * benchtests/bench-wcsncpy.c: New File.
12662         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
12664         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
12665         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
12666         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12667         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
12668         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
12669         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
12670         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
12671         wcpcpy functions.
12672         * string/stpcpy.c: Use STPCPY if defined.
12673         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
12674         * sysdeps/s390/multiarch/ifunc-impl-list.c
12675         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
12676         * string/test-stpcpy.c: Add wcpcpy support.
12677         * wcsmbs/test-wcpcpy.c: New File.
12678         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
12679         * benchtests/bench-stpcpy.c: Add wcpcpy support.
12680         * benchtests/bench-wcpcpy.c: New File.
12681         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
12683         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
12684         * sysdeps/s390/multiarch/strcpy.c: Likewise.
12685         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
12686         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
12687         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
12688         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
12689         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
12690         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
12691         wcscpy functions.
12692         * sysdeps/s390/multiarch/ifunc-impl-list.c
12693         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
12694         * benchtests/bench-wcscpy.c: New File.
12695         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
12697         * sysdeps/s390/multiarch/strnlen-c.c: New File.
12698         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
12699         * sysdeps/s390/multiarch/strnlen.c: Likewise.
12700         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
12701         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
12702         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
12703         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
12704         wcsnlen functions.
12705         * sysdeps/s390/multiarch/ifunc-impl-list.c
12706         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
12707         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
12708         * string/test-strnlen.c: Add wcsnlen support.
12709         * wcsmbs/test-wcsnlen.c: New File.
12710         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
12711         * benchtests/bench-strnlen.c: Add wcsnlen support.
12712         * benchtests/bench-wcsnlen.c: New File.
12713         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
12715         * sysdeps/s390/multiarch/Makefile: New File.
12716         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
12717         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
12718         * sysdeps/s390/multiarch/strlen.c: Likewise.
12719         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
12720         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
12721         * sysdeps/s390/multiarch/wcslen.c: Likewise.
12722         * string/strlen.c (STRLEN): Define and use macro.
12723         * sysdeps/s390/multiarch/ifunc-impl-list.c
12724         (IFUNC_VX_IMPL): New macro function.
12725         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
12726         * benchtests/Makefile (wcsmbs-bench): New variable.
12727         (string-bench-all): Added wcsmbs-bench.
12728         * benchtests/bench-wcslen.c: New File.
12730         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
12731         s390_vx_libc_ifunc2): New macro function.
12733         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
12734         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
12735         assembler support.
12736         * sysdeps/s390/configure: Regenerated.
12738         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
12739         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
12741         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
12742         * sysdeps/s390/dl-procinfo.h: Add vector capability.
12743         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
12745         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
12746         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
12747         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
12748         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
12749         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
12750         (memcmp, bcmp): Use __memcmp_default as alias source.
12751         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
12752         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
12753         Rename to __memcmp_default.
12754         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
12755         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
12756         (memcpy): Use __memcpy_default as alias source.
12757         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
12758         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
12759         Rename to __memcpy_default.
12760         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
12761         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
12762         (memset): Use __memset_default as alias source.
12763         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
12764         * sysdeps/s390/s390-32/memset.S (__memset_g5):
12765         Rename to __memset_default.
12766         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
12767         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
12768         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
12769         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
12770         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
12771         (memcmp, bcmp): Use __memcmp_default as alias source.
12772         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
12773         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
12774         Rename to __memcmp_default.
12775         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
12776         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
12777         (memcpy): Use __memcpy_default as alias source.
12778         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
12779         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
12780         Rename to __memcpy_default.
12781         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
12782         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
12783         (memset): Use __memset_default as alias source.
12784         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
12785         * sysdeps/s390/s390-64/memset.S (__memset_z900):
12786         Rename to __memset_default.
12787         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
12788         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
12790         [BZ #18610]
12791         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
12792         __ieee_instruction_pointer to __unused.
12793         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
12794         __ieee_instruction_pointer.
12795         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
12796         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
12797         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12798         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12799         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
12800         Mark dxc-field as reserved.
12802 2015-08-25  Roland McGrath  <roland@hack.frob.com>
12804         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
12805         if the weak reference is not null.
12807 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12809         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
12811         [BZ #11214]
12812         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
12814 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12816         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
12817         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
12818         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
12819         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
12820         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
12821         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
12822         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
12823         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
12824         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
12825         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
12826         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
12827         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
12828         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
12829         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
12830         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
12831         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
12832         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
12833         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
12835 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12837         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
12838         register other than r0 for tabort, it has special meaning.
12839         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
12840         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
12841         transaction before starting syscall.
12843 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12845         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
12847 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12849         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
12851         * sysdeps/x86_64/rtld-memcmp.c: Removed.
12852         * sysdeps/x86_64/rtld-memset.S: Likewise.
12853         * sysdeps/x86_64/rtld-strchr.S: Likewise.
12854         * sysdeps/x86_64/rtld-strlen.S: Likewise.
12855         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
12856         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12858         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
12860 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
12862         * debug/strcpy_chk.c: Improve performance.
12863         * debug/stpcpy_chk.c: Likewise.
12864         * sysdeps/x86_64/strcpy_chk.S: Remove.
12865         * sysdeps/x86_64/stpcpy_chk.S: Remove.
12867         [BZ #18240]
12868         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
12870 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12872         [BZ #15128]
12873         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
12874         ifuncmain8.
12875         (modules-names): Add ifuncmod8.
12876         ($(objpfx)ifuncmain8): New rule.
12877         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
12878         <cpuid.h>.
12879         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
12880         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
12881         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
12882         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
12883         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
12884         * sysdeps/x86_64/dl-trampoline.h: Likewise.
12885         * sysdeps/x86_64/ifuncmain8.c: New file.
12886         * sysdeps/x86_64/ifuncmod8.c: Likewise.
12887         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
12888         Removed.
12889         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
12890         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
12891         Change rtld_savespace_sse to __glibc_unused2.
12892         (RTLD_CHECK_FOREIGN_CALL): Removed.
12893         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
12894         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
12895         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
12897 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12899         * sysdeps/aarch64/bzero.S (__bzero): Remove.
12901 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12903         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
12904         Unconditionally set __fpcr to avoid uninialized warning.
12905         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
12907 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12909         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
12910         is corrupt.
12912         * malloc/arena.c (arena_get2): Drop unused argument.
12913         (arena_lock): Adjust.
12914         (arena_get_retry): Likewise.
12916 2015-08-24  Andreas Schwab  <schwab@suse.de>
12918         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
12919         Don't define.
12920         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12921         (__ASSUME_IPC64): Don't undef.
12922         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
12923         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12924         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12925         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
12926         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
12927         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
12928         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
12929         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
12930         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
12931         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
12932         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
12933         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
12934         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
12935         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
12936         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
12937         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
12938         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
12939         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
12940         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
12941         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
12942         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
12944 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
12946         * manual/Makefile (install): Only build manual when perl is available.
12948 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12950         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
12951         '#undef memcpy' by '#undef memchr'.
12953 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12955         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
12956         memchr not point to the internal __GI_memchr implementation.
12958 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12960         * timezone/Makefile (CFLAGS-zdump.c): Remove
12961         -Wno-strict-prototypes.
12962         (CFLAGS-zic.c): Likewise.
12963         (CFLAGS-ialloc.c): Likewise.
12964         (CFLAGS-scheck.c): Likewise.
12966         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
12967         -Wno-error=undef.
12969 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12971         * i386/i686/multiarch/strcasestr-c.c: Removed.
12972         * x86_64/multiarch/strcasestr.c: Likewise.
12973         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12974         Remove strcasestr.
12976 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12978         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
12980         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
12981         variables for high and low parts before possibly modifying them.
12983 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12985         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
12986         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
12987         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
12988         of "multiarch/init-arch.h".
12989         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
12990         * sysdeps/x86/init-arch.h: This.
12992 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12994         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
12995         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
12997 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
12999         [BZ #17787]
13000         * manual/macros.texi: Add twoexp macro.
13001         * manual/filesys.texi: Fix exponents.
13002         * manual/llio.texi: Likewise.
13003         * manual/stdio.texi: Likewise.
13005 2015-08-20  Florian Weimer  <fweimer@redhat.com>
13007         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
13008         incorrect use.
13010 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13012         [BZ #18370]
13013         * math/s_csqrt.c (__csqrt): Force underflow exception for results
13014         whose real or imaginary part has small absolute value.
13015         * math/s_csqrtf.c (__csqrtf): Likewise.
13016         * math/s_csqrtl.c (__csqrtl): Likewise.
13017         * math/auto-libm-test-in: Add more tests of csqrt.
13018         * math/auto-libm-test-out: Regenerated.
13019         * sysdeps/i386/fpu/libm-test-ulps: Update.
13021 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13023         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
13024         __ppc_set_ppr_very_low): New functions.
13025         * manual/platform.texi: Add documentation about
13026         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
13028 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
13030         * string/stpncpy.c (stpncpy): Improve performance using
13031         __strnlen/memcpy/memset.
13033 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13035         [BZ #18796]
13036         * scripts/test-installation.pl: Don't add -lmvec to build options if
13037         libmvec wasn't built.
13039 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13041         [BZ #14341]
13042         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
13043         case when there is a gap between DT_REL and DT_JMPREL sections.
13044         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
13045         (LDFLAGS-tst-split-dynreloc): New.
13046         (tst-split-dynreloc-ENV): Likewise.
13047         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
13048         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
13050 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13052         [BZ #18822]
13053         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
13054         attribute_hidden.
13055         (__xstat64_conv): Likewise.
13056         (__xstat32_conv): Likewise.
13058 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13060         [BZ #18822]
13061         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13062         Don't load %ebx when calling __setcontext.  Call __setcontext
13063         with HIDDEN_JUMPTARGET.
13064         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
13065         libc_hidden_def.
13067 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13069         * sysdeps/i386/i686/Makefile
13070         [$(subdir) == string] (sysdep_routines): Moved to ...
13071         * sysdeps/i386/Makefile: Here.
13072         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
13073         * sysdeps/i386/cacheinfo.c: Here.
13074         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
13075         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
13076         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
13077         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
13079 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
13081         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
13082         __i586__ is defined.
13083         (HAS_I686): Defined to 1 if __i686__ is defined.
13085 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
13087         * elf/Makefile [$(have-z-execstack) = yes]
13088         (CPPFLAGS-tst-execstack.c): New variable.
13090         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
13091         conditional to [defined UTMPX || _HAVE_UT_TYPE].
13092         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
13093         UTMPX || _HAVE_UT_TV].
13094         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
13095         UTMPX || _HAVE_UT_TV - 0].
13097 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
13099         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
13100         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
13101         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
13103 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13105         * sysdeps/powerpc/dl-procinfo.c:
13106         (_dl_powerpc_cap_flags): Added missing strings for some
13107         hwcap features.
13108         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
13110 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
13112         Port the 0x7efe...feff pattern to GCC 6.
13113         See Steve Ellcey's bug report in:
13114         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
13115         * string/memrchr.c (MEMRCHR):
13116         * string/rawmemchr.c (RAWMEMCHR):
13117         * string/strchr.c (strchr):
13118         * string/strchrnul.c (STRCHRNUL):
13119         Rewrite code to avoid issues with signed shift overflow.
13121 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
13123         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
13124         whether cpuid is available only if HAS_CPUID is 0.
13125         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
13126         (HAS_I586): Likewise.
13127         (HAS_I686): Likewise.
13129 2015-08-18  Zack Weinberg  <zackw@panix.com>
13131         * misc/Versions (libc): Add GLIBC_2.23.
13133 2015-08-18  Alan Modra  <amodra@gmail.com>
13135         [BZ #18421]
13136         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
13137         .Lp__global.
13138         (_start): Load %dp via .Lp__global.
13139         [!SHARED]: Use .section .rodata.
13141 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13143         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
13144         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
13146 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13148         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
13149         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
13151 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13153         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
13154         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
13156 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13158         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
13159         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
13161 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13163         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
13164         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
13166 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13168         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
13169         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
13171 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13173         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
13175 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13177         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
13178         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
13179         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13180         (__ASSUME_LWS_CAS): Delete.
13182 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
13184         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
13185         * sysdeps/hppa/configure: Regenerated.
13186         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
13187         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
13188         * sysdeps/hppa/nptl/tls.h: Likewise.
13190 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
13192         [BZ #18823]
13193         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
13194         for scaling up small arguments.
13195         * math/s_csqrtf.c (__csqrtf): Likewise.
13196         * math/s_csqrtl.c (__csqrtl): Likewise.
13197         * math/auto-libm-test-in: Add more tests of csqrt.
13198         * math/auto-libm-test-out: Regenerated.
13200 2015-08-17  Andreas Schwab  <schwab@suse.de>
13202         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
13203         version set GLIBC_2.19.
13205 2015-08-16  Zack Weinberg  <zackw@panix.com>
13207         [BZ #18681]
13208         * misc/regexp.h: This interface is no longer supported.
13209         Remove all contents, leaving only an #error directive.
13210         * misc/regexp.c (loc1, loc2, locs, step, advance):
13211         Demote to compatibility symbols.
13213 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
13215         [BZ #18084]
13216         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
13217         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
13218         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13219         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
13220         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
13221         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
13222         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
13223         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
13224         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13226 2015-08-15  Zack Weinberg  <zackw@panix.com>
13228         [BZ #18795]
13229         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
13230         buffer length is known to be too large, not if it's known to be
13231         small enough.
13232         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
13233         overflow at runtime, involving a length parameter, twice: once
13234         with a compile-time constant length parameter, once without.
13236 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
13238         [BZ #18824]
13239         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
13240         scaling x * y up instead of down.
13241         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13242         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13243         * math/auto-libm-test-in: Add more tests of fma.
13244         * math/auto-libm-test-out: Regenerated.
13246 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13248         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13250 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13252         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
13253         unnecessary movq.
13254         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
13255         Likewise.
13257 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
13259         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13260         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
13261         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
13262         and tgamma.
13263         * math/auto-libm-test-out: Regenerated.
13264         * sysdeps/i386/fpu/libm-test-ulps: Update.
13265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13267         [BZ #16520]
13268         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
13269         (__tanh): Force underflow exception for arguments with small
13270         absolute value.
13271         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
13272         (__tanhf): Force underflow exception for arguments with small
13273         absolute value.
13274         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
13275         (__tanhl): Force underflow exception for arguments with small
13276         absolute value.
13277         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
13278         (__tanhl): Force underflow exception for arguments with small
13279         absolute value.
13280         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
13281         (__tanhl): Force underflow exception for arguments with small
13282         absolute value.
13283         * math/auto-libm-test-in: Add more tests of tanh.
13284         * math/auto-libm-test-out: Regenerated.
13285         * sysdeps/i386/fpu/libm-test-ulps: Update.
13287 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13289         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
13290         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
13292 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13294         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
13295         <cpuid.h>.
13297 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13299         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
13300         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
13302 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13304         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
13305         Remove $(objpfx)init-arch.o.
13306         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
13307         init-arch.
13308         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
13309         (INIT_ARCH_EXT): Defined as empty.
13310         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
13311         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
13312         __init_cpu_features call.  Replace HAS_XXX with
13313         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13314         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
13315         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
13316         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
13317         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
13318         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13319         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
13320         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
13321         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13322         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
13323         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
13324         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13325         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
13326         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
13327         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13328         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
13329         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
13330         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13331         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13332         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
13333         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
13334         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13335         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
13336         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
13337         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13338         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
13339         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
13340         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13341         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
13342         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
13343         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13344         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
13345         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
13346         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13347         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
13348         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
13350 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13352         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
13353         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13354         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13355         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13356         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
13357         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
13358         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
13359         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
13360         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
13361         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
13362         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
13363         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
13364         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13365         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13366         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13367         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13368         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13369         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13370         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13371         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13372         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13373         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13374         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13375         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13376         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13377         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13378         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13379         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13380         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13381         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13382         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13383         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13384         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13385         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13386         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13387         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13388         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13389         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13390         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13391         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13392         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13393         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13394         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13396 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13398         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
13399         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13400         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13401         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13402         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13403         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
13404         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13405         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
13406         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13407         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13408         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13409         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
13410         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
13411         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
13412         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
13413         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
13414         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
13415         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
13416         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
13417         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
13418         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13419         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
13420         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
13421         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13422         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13423         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
13424         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
13425         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
13426         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13427         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13428         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13429         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13430         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13431         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13432         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13433         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13434         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13435         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13436         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13437         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13438         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13439         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13440         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13442 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13444         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
13445         (dl_platform_init): Call init_cpu_features.
13446         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
13447         * sysdeps/i386/i686/cacheinfo.c
13448         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
13449         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
13450         * sysdeps/i386/i686/multiarch/Versions: Removed.
13451         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
13452         Removed.
13453         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
13454         * sysdeps/unix/sysv/linux/x86/Makefile
13455         (libpthread-sysdep_routines): Remove init-arch.
13456         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
13457         <sysdeps/x86_64/dl-procinfo.c> instead of
13458         sysdeps/generic/dl-procinfo.c>.
13459         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
13460         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
13461         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
13462         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
13463         [$(subdir) == elf] (tests-static): Add
13464         tst-get-cpu-features-static.
13465         * sysdeps/x86/Versions: New file.
13466         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
13467         * sysdeps/x86/cpu-features.c: Likewise.
13468         * sysdeps/x86/cpu-features.h: Likewise.
13469         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
13470         * sysdeps/x86/libc-start.c: Likewise.
13471         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13472         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
13473         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
13474         * sysdeps/x86_64/dl-procinfo.c: Likewise.
13475         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
13476         Assume USE_MULTIARCH is defined and don't check it.
13477         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
13478         (is_amd): Likewise.
13479         (max_cpuid): Likewise.
13480         (intel_check_word): Likewise.
13481         (__cache_sysconf): Don't call __init_cpu_features.
13482         (__x86_preferred_memory_instruction): Removed.
13483         (init_cacheinfo): Don't call __init_cpu_features. Replace
13484         __cpu_features with GLRO(dl_x86_cpu_features).
13485         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
13486         (dl_platform_init): Call init_cpu_features.
13487         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
13488         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
13489         * sysdeps/x86_64/multiarch/Versions: Removed.
13490         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
13491         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
13492         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
13493         Removed.
13494         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
13496 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13498         [BZ #18820]
13499         * libio/Makefile (test-fmemopen-mem): New test.
13500         * libio/test-fmemopen.c (do_bz18820): New test.
13501         * libio/fmemopen.c (__fmemopen): Fix memory leak.
13502         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
13504 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13506         [BZ #16734]
13507         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
13508         (FREE_BUF): Delete.
13509         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
13510         * libio/genops.c (_IO_setb): Use malloc and free directly.
13511         (_IO_default_doallocate, _IO_default_finish): Likewise.
13512         ( _IO_unbuffer_all): Likewise.
13513         ( libc_freeres_fn): Likewise.
13514         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13515         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13516         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
13517         (_IO_wdefault_doallocate): Likewise.
13519 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13521         [BZ #18086]
13522         * sysdeps/posix/nice.c (nice): Restore old errno.
13523         * posix/tst-nice.c (do_test): Add test for BZ #18086.
13525 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
13527         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
13529 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13531         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
13532         __bcopy and add a weak_alias to bcopy.
13533         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
13534         for static build.
13536         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
13537         cleanup macro usage.
13538         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
13539         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
13540         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13541         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
13542         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13543         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
13544         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
13545         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13546         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13547         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
13548         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13549         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
13550         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13551         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
13552         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13553         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
13554         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
13555         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
13556         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13558         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
13559         libc_hidden_def.
13560         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
13562         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
13563         (sysdep_routines): Add strstr-ppc64.
13564         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
13566 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
13568         [BZ #18778]
13569         * elf/Makefile (tests): Add Add tst-nodelete2.
13570         (modules-names): Add tst-nodelete2mod.
13571         (tst-nodelete2mod.so-no-z-defs): New.
13572         ($(objpfx)tst-nodelete2): Likewise.
13573         ($(objpfx)tst-nodelete2.out): Likewise.
13574         (LDFLAGS-tst-nodelete2): Likewise.
13575         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
13576         out of loop through all loaded libraries.
13577         * elf/tst-nodelete2.c: New file.
13578         * elf/tst-nodelete2mod.c: Likewise.
13579         * elf/tst-znodelete-zlib.cc: Delete.
13581 2015-08-11  Andreas Schwab  <schwab@suse.de>
13583         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
13584         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
13585         (__openat64_nocancel): Likewise.
13587 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
13589         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
13590         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
13591         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
13592         * math/auto-libm-test-out: Regenerated.
13593         * sysdeps/i386/fpu/libm-test-ulps: Update.
13594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13596 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13598         [BZ #18790]
13599         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
13600         threshold for returning +/- 1.
13601         * math/auto-libm-test-in: Add more tests of tanh.
13602         * math/auto-libm-test-out: Regenerated.
13603         * sysdeps/i386/fpu/libm-test-ulps: Update.
13605 2015-08-10  Andreas Schwab  <schwab@suse.de>
13607         [BZ #18781]
13608         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
13609         MORE_OFLAGS to oflag.
13610         * io/test-lfs.c (do_test): Test openat64.
13612 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13614         [BZ #18789]
13615         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
13616         smaller threshold for returning the argument.
13617         * math/auto-libm-test-in: Add more tests of sinh.
13618         * math/auto-libm-test-out: Regenerated.
13619         * sysdeps/i386/fpu/libm-test-ulps: Update.
13621 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13623         [BZ #18674]
13624         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
13625         break.
13627 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
13629         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
13630         (generated): Don't add $(addprefix z.,$(tzfiles)).
13632 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13634         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
13635         * scripts/sysd-rules.awk: Likewise.
13637 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13639         * iconvdata/tst-tables.sh: Change echo -n to printf.
13640         * nss/db-Makefile: Likewise.
13641         * posix/tst-getconf.sh: Likewise.
13642         * stdio-common/tst-unbputc.sh: Likewise.
13644 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13646         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
13647         MADV_*_PAGES defines behind this feature check.
13649 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
13651         [BZ #18480]
13652         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
13653         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
13654         Define.
13655         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
13656         LOAD_REGS_5, LOAD_REGS_6): Update.
13657         (INTERNAL_SYSCALL): Update using new LOAD defines.
13658         (INTERNAL_SYSCALL_NCS): Likewise.
13659         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
13661 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13663         [BZ #16734]
13664         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
13666 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13668         [BZ #17905]
13669         * catgets/Makefile (tst-catgets-mem): New test.
13670         * catgets/catgets.c (catopen): Don't use unbounded alloca.
13671         * catgets/open_catalog.c (__open_catalog): Likewise.
13672         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
13674 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
13676         [BZ #18787]
13677         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
13678         clobber registers.
13679         (atomic_compare_and_exchange_val_acq): Use register asms to assign
13680         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
13681         Cast return to __typeof (oldval).
13683 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
13685         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
13686         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
13687         and delete sys/syscall.h include.
13689 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
13691         [BZ #16517]
13692         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
13693         (tan): Force underflow exception for arguments with small absolute
13694         value.
13695         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
13696         (__kernel_tanf): Force underflow exception for arguments with
13697         small absolute value.
13698         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
13699         (__kernel_tanl): Force underflow exception for arguments with
13700         small absolute value.
13701         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
13702         (__kernel_tanl): Force underflow exception for arguments with
13703         small absolute value.
13704         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
13705         (__kernel_tanl): Force underflow exception for arguments with
13706         small absolute value.
13707         * math/auto-libm-test-in: Add more tests of tan.
13708         * math/auto-libm-test-out: Regenerated.
13710 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13712         Fix sysdeps/i386/fpu/s_scalbn.S build
13714         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
13716 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
13718         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13720 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13722         Fix gcrt0.o compilation
13724         When static-start-installed-name is different from
13725         start-installed-name, we must not use the shared objects.
13727         * csu/Makefile
13728         (extra-objs): Add gmon-start.o when building shared library and
13729         $(static-start-installed-name) is different from
13730         $(start-installed-name).
13731         $(objpfx)g$(static-start-installed-name): When building shared
13732         library and $(static-start-installed-name) is different from
13733         $(static-start-installed-name), revert to non-shared rule,
13734         i.e. using $(objpfx)% and gmon-start.o.
13736 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
13738         [BZ #16519]
13739         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
13740         (__ieee754_sinh): Force underflow exception for arguments with
13741         small absolute value.
13742         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
13743         (__ieee754_sinhf): Force underflow exception for arguments with
13744         small absolute value.
13745         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
13746         (__ieee754_sinhl): Force underflow exception for arguments with
13747         small absolute value.
13748         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
13749         (__ieee754_sinhl): Force underflow exception for arguments with
13750         small absolute value.
13751         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
13752         (__ieee754_sinhl): Force underflow exception for arguments with
13753         small absolute value.
13754         * math/auto-libm-test-in: Add more tests of sinh.
13755         * math/auto-libm-test-out: Regenerated.
13756         * sysdeps/i386/fpu/libm-test-ulps: Update.
13758 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13760         * libio/oldfileops.c: Include unistd.h.
13762 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
13764         * stdlib/isomac.c: Include ctype.h.
13766 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
13768         * dirent/tst-seekdir.c (main): Converted to ...
13769         (do_test): ... this.
13770         (TEST_FUNCTION): New macro.
13771         Include test-skeleton.c.
13772         * elf/tst-dlmodcount.c (main): Converted to ...
13773         (do_test): ... this.
13774         (TEST_FUNCTION): New macro.
13775         Include test-skeleton.c.
13776         * elf/tst-order-main.c (main): Converted to ...
13777         (do_test): ... this.
13778         (TEST_FUNCTION): New macro.
13779         Include test-skeleton.c.
13780         * elf/tst-pie2.c (main): Converted to ...
13781         (do_test): ... this.
13782         (TEST_FUNCTION): New macro.
13783         Include test-skeleton.c.
13784         * inet/tst-ether_aton.c (main): Converted to ...
13785         (do_test): ... this.
13786         (TEST_FUNCTION): New macro.
13787         Include test-skeleton.c.
13788         * misc/tst-mntent.c (main): Converted to ...
13789         (do_test): ... this.
13790         (TEST_FUNCTION): New macro.
13791         Include test-skeleton.c.
13792         * misc/tst-tsearch.c (main): Converted to ...
13793         (do_test): ... this.
13794         (TEST_FUNCTION): New macro.
13795         Include test-skeleton.c.
13796         * posix/tst-regexloc.c (main): Converted to ...
13797         (do_test): ... this.
13798         (TEST_FUNCTION): New macro.
13799         Include test-skeleton.c.
13800         * resolv/tst-aton.c (main): Converted to ...
13801         (do_test): ... this.
13802         (TEST_FUNCTION): New macro.
13803         Include test-skeleton.c.
13804         * stdio-common/test-fwrite.c (main): Converted to ...
13805         (do_test): ... this.
13806         (TEST_FUNCTION): New macro.
13807         Include test-skeleton.c.
13808         * stdio-common/tst-ferror.c (main): Converted to ...
13809         (do_test): ... this.
13810         (TEST_FUNCTION): New macro.
13811         Include test-skeleton.c.
13812         * stdio-common/tst-printf.c (main): Converted to ...
13813         (do_test): ... this.
13814         (TEST_FUNCTION): New macro.
13815         Include test-skeleton.c.
13816         * stdio-common/tst-printfsz.c (main): Converted to ...
13817         (do_test): ... this.
13818         (TEST_FUNCTION): New macro.
13819         Include test-skeleton.c.
13820         * stdlib/tst-strtod.c (main): Converted to ...
13821         (do_test): ... this.
13822         (TEST_FUNCTION): New macro.
13823         Include test-skeleton.c.
13824         * string/tst-strlen.c (main): Converted to ...
13825         (do_test): ... this.
13826         (TEST_FUNCTION): New macro.
13827         Include test-skeleton.c.
13828         * string/tst-svc.c (main): Converted to ...
13829         (do_test): ... this.
13830         (TEST_FUNCTION): New macro.
13831         Include test-skeleton.c.
13832         * time/tst-strptime.c (main): Converted to ...
13833         (do_test): ... this.
13834         (TEST_FUNCTION): New macro.
13835         Include test-skeleton.c.
13836         * timezone/tst-timezone.c (main): Converted to ...
13837         (do_test): ... this.
13838         (TEST_FUNCTION): New macro.
13839         Include test-skeleton.c.
13841 2015-08-05  Zack Weinberg  <zackw@panix.com>
13843         * misc/regexp.h: Update comments.
13845 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
13847         [BZ #18635]
13848         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
13849         before return label.
13851 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13853         [BZ #18661]
13854         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
13855         when calling __errno_location.
13856         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
13857         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
13859 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13861         [BZ #18661]
13862         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
13863         (__lll_timedwait_tid): Align stack to 16 bytes when calling
13864         __gettimeofday.
13866 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13868         [BZ #18661]
13869         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13870         (__start_context): Don't use pop to restore %rdi so that stack
13871         is aligned to 16 bytes when calling __setcontext.
13873 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13875         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
13876         only for libc.
13877         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13879 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13881         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
13882         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
13883         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
13885 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13887         * string/memccpy.c (memccpy):
13888         Improve performance by using memchr/memcpy/__mempcpy.
13890 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13892         * string/strncpy.c (strncpy):
13893         Improve performance by using __strnlen/memcpy.
13895 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13897         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13898         Optimize to avoid an unnecessary FPCR read.
13900 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13902         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
13903         Optimize to reduce FPCR/FPSR accesses.
13905 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13907         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
13908         dead->data[category] != NULL.
13910 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
13912         [BZ #18647]
13913         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
13914         and |x| close to 1, use absolute value of x when computing log.
13915         * math/auto-libm-test-in: Add more tests of pow.
13916         * math/auto-libm-test-out: Regenerated.
13918 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13920         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
13921         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
13922         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
13924 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
13926         [BZ #18525]
13927         * locales/km_KH: Remove timezone definition.
13928         * locales/lo_LA: Likewise.
13929         * locales/my_MM: Likewise.
13930         * locales/nan_TW@latin: Likewise.
13931         * locales/th_TH: Likewise.
13932         * locales/uk_UA: Likewise.
13934 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13936         [BZ #18265]
13937         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
13938         (wcsncat): Likewise.
13939         (wcscmp): Likewise.
13940         (wcsncmp): Likewise.
13942 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13944         * test-skeleton.c (usage): New function.
13945         (main): Call usage when opt is '?'.
13947 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13949         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
13950         before first use.
13952 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13954         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
13955         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
13956         in there too.
13958 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
13960         * version.h (RELEASE): Set to "development".
13961         (VERSION): Set to "2.22.90"
13963         * version.h (RELEASE): Set to "stable".
13964         (VERSION): Set to "2.22"
13965         * include/features.h (__GLIBC_MINOR__): Set to 22.
13967 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
13969         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
13970         Restructure macro to avoid "value computed is not used" warning.
13971         (atomic_compare_and_exchange_val_acq): Likewise.
13973 2015-08-04  Andreas Schwab  <schwab@suse.de>
13975         [BZ #18635]
13976         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
13977         ret.
13978         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
13980 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
13982         * po/pl.po: Updated translation.
13983         * po/uk.po: Likewise.
13984         * po/fi.po: Likewise.
13985         * po/ko.po: Likewise.
13986         * po/ru.po: Likewise.
13987         * po/vi.po: Likewise.
13989 2015-07-31  Zack Weinberg  <zackw@panix.com>
13991         [BZ #18681]
13992         * regexp.h: Add unconditional #warning stating that this header
13993         will be removed soon.  Revise banner comment to match.
13994         (compile): Consistently use ERROR instead of RETURN to report
13995         errors (partial fix for bz#18681).
13996         * regexp.c: Don't include regexp.h. Remove some unnecessary
13997         declarations.
13999 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
14001         * po/libc.pot: Regenerated.
14003 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14005         [BZ #18740]
14006         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
14007         float-vlen4-arch-ext-cflags): Removed.
14008         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
14009         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
14011 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14013         [BZ #14113]
14014         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
14015         aligned to __aligned__.
14016         (pthread_cond_t, pthread_rwlock_t): Likewise.
14018 2015-07-30  Torvald Riegel  <triegel@redhat.com>
14020         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
14022 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14024         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
14025         (struct sigaction): Change sa_flags from a long to an int, and add
14026         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
14028 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14030         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
14031         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
14032         sysdeps/generic/sysdep.h include.
14033         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
14034         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
14035         sysdeps/hppa/sysdep.h.
14036         (ENTRY, PSEUDO): Undefine before defining.
14038 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
14040         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
14041         from scratch to use INTERNAL_SYSCALL.
14043 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
14045         [BZ #18078]
14046         * scripts/check-localplt.awk: Support alternate relocations.
14047         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
14048         sections.
14049         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
14050         malloc entries with + REL R_386_GLOB_DAT.
14051         * sysdeps/x86_64/localplt.data: New file.
14053 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
14055         [BZ #18731]
14056         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
14057         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14058         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14060 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14062         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
14064 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14066         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
14067         directly in terms of __sync_fetch_and_add and delete (int) cast.
14069 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14071         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
14072         the -D_ASM_IA64_CURRENT_H flag.
14074 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
14076         [BZ #18641]
14077         * pwd/pwd.h (putpwent): Delete __nonnull markings.
14079 2015-07-27  Andreas Schwab  <schwab@suse.de>
14081         * conform/conformtest.pl (checknamespace): Filter out string
14082         literals while tokenizing.
14084 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14086         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14087         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
14088         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14090 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
14092         * nptl/tst-join7mod.c: Add #include <string.h>.
14094 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14096         * sysdeps/nios2/libm-test-ulps: Update.
14098 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
14100         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
14101         Fix order of arguments to the rt_sigprocmask syscall.
14102         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
14103         Likewise.
14105 2015-07-24  Roland McGrath  <roland@hack.frob.com>
14107         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
14109 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14111         [BZ #18457]
14112         * nptl/Makefile (tests): New test case tst-join7.
14113         (modules-names): New test case module tst-join7mod.
14114         * nptl/tst-join7.c: New file.
14115         * nptl/tst-join7mod.c: New file.
14116         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
14117         all translation units in libc.so, libpthread.so and rtld.
14119 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14123 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14125         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
14126         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14127         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14128         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14129         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14130         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14131         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14132         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14133         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14134         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14135         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14136         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14137         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
14138         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
14139         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
14140         implementation.
14142 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14144         [BZ #17711]
14145         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14146         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
14147         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14148         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14149         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
14150         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14152 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14154         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
14155         instead of just saying load lock in the comments.
14157 2015-07-23  Roland McGrath  <roland@hack.frob.com>
14159         * sysdeps/unix/Subdirs: Moved ...
14160         * sysdeps/posix/Subdirs: ... here.
14161         * login/pty.h (struct termios, struct winsize): Add forward decls.
14162         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
14163         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
14164         * sysdeps/arm/nacl/libc.abilist: Updated.
14165         * sysdeps/nacl/libutil.abilist: New file.
14167         * bits/signum.h: Update comments to mention 1003.1-2013 too.
14168         (SIGWINCH): New macro.
14170         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
14171         * sysdeps/arm/nacl/libc.abilist: Add it.
14173 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14175         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
14177 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
14179         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14180         Swap __glibc_reserved0 and sa_flags order.
14182 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14184         [BZ #18657]
14185         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
14186         are pending TLS destructor calls.
14187         * include/link.h (struct link_map): Add concurrency note for
14188         L_TLS_DTOR_COUNT.
14189         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14190         Don't touch the link map flag.  Atomically increment
14191         l_tls_dtor_count.
14192         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
14193         Avoid taking the load lock and don't touch the link map flag.
14194         * stdlib/tst-tls-atexit-nodelete.c: New test case.
14195         * stdlib/Makefile (tests): Use it.
14196         * stdlib/tst-tls-atexit.c (do_test): dlopen
14197         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
14198         to allow tst-tls-atexit-nodelete test case to use it.
14200 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14202         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
14203         to bits/types.h.
14204         (msgqnum_t): New typedef.
14205         (msglen_t): Likewise.
14206         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
14207         and msg_qbytes type to msglen_t.
14209 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14211         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
14212         pad0 to __glibc_reserved0.
14213         (struct stat64): Likewise.
14215 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14217         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14218         Change sa_flags from a long to an int and add __glibc_reserved0 before
14219         it for padding.
14221 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14223         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
14224         anonymous by deleting "siginfo" name.
14226 2015-07-21  Roland McGrath  <roland@hack.frob.com>
14228         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
14229         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
14230         rather than __nacl_irt_filename.
14231         * sysdeps/nacl/xstat.c (__xstat): Likewise.
14233         * NEWS: New item for arm-nacl port.
14234         * sysdeps/arm/nacl/libc.abilist: New file.
14235         * sysdeps/nacl/ld.abilist: New file.
14236         * sysdeps/nacl/libBrokenLocale.abilist: New file.
14237         * sysdeps/nacl/libanl.abilist: New file.
14238         * sysdeps/nacl/libcrypt.abilist: New file.
14239         * sysdeps/nacl/libdl.abilist: New file.
14240         * sysdeps/nacl/libm.abilist: New file.
14241         * sysdeps/nacl/libpthread.abilist: New file.
14242         * sysdeps/nacl/libresolv.abilist: New file.
14243         * sysdeps/nacl/librt.abilist: New file.
14245 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
14247         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
14248         __startcontext to initialize the new context.
14249         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
14250         up CFI directive to forbid further backtracing.
14252 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
14254         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
14255         reference.
14256         * charmaps/ANSI_X3.4-1968: Likewise.
14257         * charmaps/BS_4730: Likewise.
14258         * charmaps/BS_VIEWDATA: Likewise.
14259         * charmaps/CP1250: Likewise.
14260         * charmaps/CP1251: Likewise.
14261         * charmaps/CP1252: Likewise.
14262         * charmaps/CP1253: Likewise.
14263         * charmaps/CP1254: Likewise.
14264         * charmaps/CP1255: Likewise.
14265         * charmaps/CP1256: Likewise.
14266         * charmaps/CSN_369103: Likewise.
14267         * charmaps/EBCDIC-DK-NO: Likewise.
14268         * charmaps/GB_1988-80: Likewise.
14269         * charmaps/GREEK-CCITT: Likewise.
14270         * charmaps/GREEK7: Likewise.
14271         * charmaps/INIS-8: Likewise.
14272         * charmaps/ISIRI-3342: Likewise.
14273         * charmaps/ISO_2033-1983: Likewise.
14274         * charmaps/ISO_5427-EXT: Likewise.
14275         * locales/POSIX: Likewise.
14276         * locales/ar_SA: Likewise.
14277         * locales/be_BY: Likewise.
14278         * locales/be_BY@latin: Likewise.
14279         * locales/ca_ES: Likewise.
14280         * locales/cs_CZ: Likewise.
14281         * locales/da_DK: Likewise.
14282         * locales/de_BE: Likewise.
14283         * locales/de_CH: Likewise.
14284         * locales/de_LU: Likewise.
14285         * locales/en_AU: Likewise.
14286         * locales/en_BW: Likewise.
14287         * locales/en_CA: Likewise.
14288         * locales/en_DK: Likewise.
14289         * locales/en_GB: Likewise.
14290         * locales/en_IE: Likewise.
14291         * locales/en_NZ: Likewise.
14292         * locales/en_ZA: Likewise.
14293         * locales/en_ZW: Likewise.
14294         * locales/es_AR: Likewise.
14295         * locales/es_BO: Likewise.
14296         * locales/es_CL: Likewise.
14297         * locales/es_CO: Likewise.
14298         * locales/es_DO: Likewise.
14299         * locales/es_EC: Likewise.
14300         * locales/es_ES: Likewise.
14301         * locales/es_HN: Likewise.
14302         * locales/es_MX: Likewise.
14303         * locales/es_PA: Likewise.
14304         * locales/es_PE: Likewise.
14305         * locales/es_PY: Likewise.
14306         * locales/es_SV: Likewise.
14307         * locales/es_US: Likewise.
14308         * locales/es_UY: Likewise.
14309         * locales/es_VE: Likewise.
14310         * locales/et_EE: Likewise.
14311         * locales/fa_IR: Likewise.
14312         * locales/fo_FO: Likewise.
14313         * locales/fr_CA: Likewise.
14314         * locales/fr_CH: Likewise.
14315         * locales/gv_GB: Likewise.
14316         * locales/he_IL: Likewise.
14317         * locales/hr_HR: Likewise.
14318         * locales/id_ID: Likewise.
14319         * locales/is_IS: Likewise.
14320         * locales/it_CH: Likewise.
14321         * locales/iw_IL: Likewise.
14322         * locales/kl_GL: Likewise.
14323         * locales/ko_KR: Likewise.
14324         * locales/kw_GB: Likewise.
14325         * locales/lg_UG: Likewise.
14326         * locales/lt_LT: Likewise.
14327         * locales/lv_LV: Likewise.
14328         * locales/mi_NZ: Likewise.
14329         * locales/nhn_MX: Likewise.
14330         * locales/nl_BE: Likewise.
14331         * locales/pl_PL: Likewise.
14332         * locales/sk_SK: Likewise.
14333         * locales/sl_SI: Likewise.
14334         * locales/sv_FI: Likewise.
14335         * locales/tl_PH: Likewise.
14336         * locales/tr_TR: Likewise.
14337         * locales/vi_VN: Likewise.
14339 2015-07-21  Khem Raj  <raj.khem@gmail.com>
14341         [BZ #17475]
14342         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
14343         of tu_IN and bh_IN.
14345 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
14347         [BZ #18694]
14348         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
14349         bits/wordsize.h.
14350         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
14352 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14354         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
14355         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
14356         (spawn_thread): New function.
14357         (load): Rename to reg_dtor_and_close.  Move dlopen to...
14358         (do_test): ... here.  Use IS_LOADED to test for its
14359         availability.
14361 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
14363         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14365 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
14367         [BZ #18696]
14368         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
14369         si_addr_bnd.
14370         (si_lower): New.
14371         (si_upper): Likewise.
14373 2015-07-16  David S. Miller  <davem@davemloft.net>
14375         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
14377 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14379         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
14380         buffer.
14381         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
14382         fail output information.
14384 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14386         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
14387         and strstr-ppc64..
14388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14389         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
14390         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
14391         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
14392         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
14394 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14396         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14397         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14398         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14399         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14401 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14403         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14404         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
14405         rtld_hidden_proto.
14406         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
14408 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14410         * tst-nodelete-opened.c (do_test): Add comment to clarify how
14411         the test can fail.
14413         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
14415         [BZ #18676]
14416         * elf/tst-nodelete-opened.c: New test case.
14417         * elf/tst-nodelete-opened-lib.c: New test case module.
14418         * elf/Makefile (tests, modules-names): Use them.
14419         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
14420         early.
14422 2015-07-15  David S. Miller  <davem@davemloft.net>
14424         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
14425         futex-intenal.h
14426         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
14427         * sysdeps/sparc/sparc64/Makefile: Likewise.
14428         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14429         Remove space from macro define.
14430         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
14432 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
14434         [BZ #17475]
14435         * locale/iso-639.def: Update Bhili and Tulu language codes as
14436         per iso639-3.
14438 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
14440         * elf/tst-leaks1.c (main): Converted to ...
14441         (do_test): ... this.
14442         (TEST_FUNCTION): New macro.
14443         Include test-skeleton.c.
14444         * localedata/tst-langinfo.c (main): Converted to ...
14445         (do_test): ... this.
14446         (TEST_FUNCTION): New macro.
14447         Include test-skeleton.c.
14448         * math/test-fpucw.c (main): Converted to ...
14449         (do_test): ... this.
14450         (TEST_FUNCTION): New macro.
14451         Include test-skeleton.c.
14452         * math/test-tgmath.c (main): Converted to ...
14453         (do_test): ... this.
14454         (TEST_FUNCTION): New macro.
14455         Include test-skeleton.c.
14456         * math/test-tgmath2.c (main): Converted to ...
14457         (do_test): ... this.
14458         (TEST_FUNCTION): New macro.
14459         Include test-skeleton.c.
14460         * setjmp/tst-setjmp.c (main): Converted to ...
14461         (do_test): ... this.
14462         (TEST_FUNCTION): New macro.
14463         Include test-skeleton.c.
14464         * stdio-common/tst-sscanf.c (main): Converted to ...
14465         (do_test): ... this.
14466         (TEST_FUNCTION): New macro.
14467         Include test-skeleton.c.
14468         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
14469         (do_test): ... this.
14470         (TEST_FUNCTION): New macro.
14471         Include test-skeleton.c.
14473         * elf/tst-audit9.c (main): Converted to ...
14474         (do_test): ... this.
14475         (TEST_FUNCTION): New macro.
14476         Include test-skeleton.c.
14478 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
14480         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
14482 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14484         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
14485         New variable.
14487 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14489         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14491 2015-07-14  Roland McGrath  <roland@hack.frob.com>
14493         * sysdeps/generic/dl-fileid.h: New file.
14494         * sysdeps/posix/dl-fileid.h: New file.
14495         * sysdeps/nacl/dl-fileid.h: New file.
14496         * include/link.h: Include <dl-fileid.h>.
14497         (struct link_map): Replace l_dev and l_ino with l_file_id.
14498         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
14499         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
14500         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
14502 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14504         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
14506 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14508         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
14509         Add iff $CXX is set.
14510         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
14511         Likewise.
14512         (tst-nodelete-zmodiff): Likewise.
14513         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
14515 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14517         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
14519 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14521         * sysdeps/aarch64/fpu/math_private.h
14522         (define math_opt_barrier): Add AArch64 version.
14523         (math_force_eval): Likewise.
14525 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14527         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
14529 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
14531         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
14532         %ld with %jd and cast to intmax_t.
14533         (do_test_length_zero): Likewise.
14535 2015-07-10  Roland McGrath  <roland@hack.frob.com>
14537         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
14539 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
14541         * sysdeps/tile/libm-test-ulps: Regenerated.
14543         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
14544         Comment out the whole function, not just its body.
14546 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14548         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
14549         locks.
14551         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
14553 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14555         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
14556         (sem_assume_only_signals_cause_futex_EINTR): Remove.
14558 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14560         * sysdeps/nptl/futex-internal.h: New file.
14561         * sysdeps/nacl/futex-internal.h: New file.
14562         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
14563         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
14564         error checking.
14565         (setxid_unmark_thread): Likewise.
14566         (__nptl_setxid): Likewise.
14567         (__wait_lookup_done): Likewise.
14568         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
14569         * nptl/nptl-init.c (sighandler_setxid): Likewise.
14570         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
14571         * nptl/pthread_once.c (clear_once_control): Likewise.
14572         (__pthread_once_slow): Likewise.
14573         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14574         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
14575         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
14576         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14577         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
14578         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
14579         Likewise.
14580         (__pthread_rwlock_rdlock): Likewise.
14581         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14582         Likewise.
14583         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14584         Likewise.
14585         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14586         Likewise.
14587         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
14588         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
14589         Likewise.
14590         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
14591         __ASSUME_PRIVATE_FUTEX check.
14592         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
14593         Check that shared futexes are supported.
14594         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
14595         wrappers with error checking.
14596         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
14597         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
14598         * nptl/pthread_barrierattr_setpshared.c
14599         (pthread_barrierattr_setpshared): Check that shared futexes are
14600         supported.
14601         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
14602         Likewise.
14603         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
14604         Likewise.
14605         * nptl/sem_init.c (futex_private_if_supported): Remove.
14606         (__new_sem_init): Adapt and check that shared futexes are supported.
14607         * nptl/sem_open.c (sem_open): Likewise.
14608         * nptl/sem_post.c (futex_wake): Remove.
14609         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
14610         (do_futex_wait): Use futex wrappers with error checking.
14611         * nptl/sem_wait.c: Include lowlevellock.h.
14612         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
14613         Use futex_supports_pshared.
14614         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
14615         Use futex wrappers with error checking.
14616         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
14617         Likewise.
14618         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
14619         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
14620         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
14621         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
14622         (futex_wake): Likewise.
14623         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
14624         (do_futex_wait): Use futex wrappers with error checking.
14625         (__new_sem_wait_slow): Update EINTR handling.
14626         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
14628 2015-07-09  Martin Sebor  <msebor@redhat.com>
14630         [BZ #18435]
14631         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14632         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
14633         * nptl/Makefile (test-xfail-tst-once5): Define.
14635 2015-07-09  Roland McGrath  <roland@hack.frob.com>
14637         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
14638         * elf/dl-minimal.c: For readability, reorder some definitions and
14639         introduce more page breaks.  Include <stdio.h>.
14640         (__libc_fatal): New function.
14642         * include/unistd.h: Add rtld_hidden_proto for _exit.
14643         * posix/_exit.c: Add rtld_hidden_def.
14644         * sysdeps/mach/hurd/_exit.c: Likewise.
14645         * sysdeps/nacl/_exit.c: Likewise.
14646         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
14647         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
14649 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
14651         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
14652         bndmov encoding with zero displacement.
14654 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
14655             H.J. Lu  <hongjiu.lu@intel.com>
14657         [BZ #18134]
14658         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
14659         * sysdeps/i386/configure: Regenerated.
14660         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14661         (_dl_runtime_profile): Save and restore Intel MPX return bound
14662         registers when calling _dl_call_pltexit.  Add
14663         PRESERVE_BND_REGS_PREFIX before return.
14664         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
14665         (LRV_BND1_OFFSET): Likewise.
14666         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
14667         lrv_bnd1.
14668         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
14669         typo in bndmov encoding.
14670         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
14671         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
14672         branch instructions to preserve bounds.
14674 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14677         [GLIBC_2.22]: Add fmemopen.
14679 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14681         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
14682         returns an error, also try to use host port from __mach_host_self for
14683         the __vm_wire call.
14684         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
14686 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14688         [BZ #18400]
14689         [BZ #18648]
14690         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
14691         Fix pr_uid and pr_gid members.
14692         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
14693         definition to elf_greg_t.
14695 2015-07-08  Roland McGrath  <roland@hack.frob.com>
14697         [BZ #18383]
14698         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
14699         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
14700         * sysdeps/arm/configure: Regenerated.
14701         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
14702         (test-xfail-tst-tlsalign-static): Variable removed.
14704         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
14705         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
14706         rather than explicit 'ln -s'.
14708         * resolv/rpc/netdb.h: New file.
14709         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
14711 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14713         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
14714         length buffers.
14715         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14716         test-skeleton.c.
14718         [BZ #6544]
14719         [BZ #11216]
14720         [BZ #12836]
14721         [BZ #13151]
14722         [BZ #13152]
14723         [BZ #14292]
14724         * include/stdio.h (fmemopen): Remove hidden prototype.
14725         (__fmemopen): Add new hidden prototype.
14726         * libio/Makefile: Add oldfmemopen object.
14727         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
14728         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
14729         compliance.
14730         * libio/oldfmemopen.c: New file: old fmemopen implementation for
14731         symbol compatibility.
14732         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
14733         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
14734         fmemopen.
14735         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
14736         on append and read mode.
14737         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
14738         fmemopen.
14739         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
14740         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
14741         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
14742         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
14743         Likewise.
14744         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
14745         [GLIBC_2.22]: Likewise.
14746         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
14747         Likewise.
14748         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
14749         Likewise.
14750         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
14751         [GLIBC_2.22]: Likewise.
14752         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
14753         [GLIBC_2.22]: Likewise.
14754         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
14755         [GLIBC_2.22]: Likewise.
14756         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
14757         [GLIBC_2.22]: Likewise.
14758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14759         [GLIBC_2.22]: Likewise.
14760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
14761         [GLIBC_2.22]: Likewise.
14762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
14763         [GLIBC_2.22]: Likewise.
14764         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
14765         Likewise.
14766         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
14767         Likewise.
14768         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
14769         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
14770         [GLIBC_2.22]: Likewise.
14771         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
14772         [GLIBC_2.22]: Likewise.
14773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
14774         [GLIBC_2.22]: Likewise.
14775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
14776         [GLIBC_2.22]: Likewise.
14777         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
14778         Likewise.
14779         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
14780         Likewise.
14781         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
14782         Likewise.
14783         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
14784         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
14786 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14788         [BZ #18643]
14789         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
14790         IPV6_PATHMTU, and IPV6_DONTFRAG.
14792 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
14794         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
14795         and _IO_UNBUFFERED.
14796         * libio/oldfileops.c: Likewise.
14797         * libio/wfileops.c: Likewise.
14799 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14801         * nscd/selinux.c: Delete selinux/flask.h include.
14803 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14805         [BZ #18641]
14806         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
14807         (putpwent): Likewise.
14808         (getpwnam): Likewise.
14809         (getpwent_r): Likewise.
14810         (getpwuid_r): Likewise.
14811         (getpwnam_r): Likewise.
14812         (fgetpwent_r): Likewise.
14814 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14816         [BZ #18557]
14817         * inet/rcmd.c (__validuser2_sa): Check user first to
14818         short-circuit host check.
14820 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
14821             Mikhail Ilin  <m.ilin@samsung.com>
14823         [BZ #17833]
14824         * elf/Makefile (tests): Add tst-nodelete.
14825         (modules-names): Add tst-nodelete-uniquemod.
14826         (tst-nodelete-uniquemod.so-no-z-defs): New.
14827         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
14828         (tst-nodelete-zmod.so-no-z-defs): Likewise.
14829         ($(objpfx)tst-nodelete): Likewise.
14830         ($(objpfx)tst-nodelete.out): Likewise.
14831         (LDFLAGS-tst-nodelete): Likewise.
14832         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
14833         * elf/dl-close.c (_dl_close_worker): Add a parameter to
14834         implement forced object deletion.
14835         (_dl_close): Pass false to _dl_close_worker.
14836         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
14837         * elf/tst-nodelete.cc: New file.
14838         * elf/tst-nodeletelib.cc: Likewise.
14839         * elf/tst-znodeletelib.cc: Likewise.
14840         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
14842 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14844         [BZ #18508]
14845         * stdlib/Makefile ($(objpfx)tst-makecontext3):
14846         Depend on $(libdl).
14847         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
14848         is not called infinitely times.
14849         (backtrace_helper): New function.
14850         (trace_arg): New struct.
14851         (st1): Enlarge stack size.
14852         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14853         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
14854         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14855         Likewise.
14857 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14859         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14861 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14863         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
14864         Include sys/types.h instead of bits/types.h.
14865         Remove inclusion of bits/wordsize.h.
14867 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14869         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
14870         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
14871         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
14872         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
14873         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
14874         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
14876 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14878         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
14879         link-defines.sym.
14880         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
14881         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
14882         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
14883         and LR_SIZE.
14884         * sysdeps/i386/link-defines.sym: New file.
14886 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14888         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
14889         (modules-names): Add tst-auditmod3a tst-auditmod3b.
14890         ($(objpfx)tst-audit3): New rule.
14891         ($(objpfx)tst-audit3.out): Likewise.
14892         * sysdeps/i386/tst-audit3.c: New file.
14893         * sysdeps/i386/tst-audit3.h: Likewise.
14894         * sysdeps/i386/tst-auditmod3a.c: Likewise.
14895         * sysdeps/i386/tst-auditmod3b.c: Likewise.
14897 2015-07-07  Torvald Riegel  <triegel@redhat.com>
14899         [BZ #18633]
14900         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
14901         pointer in C code.
14902         (__strcat_c): Likewise.
14903         (__strcat_g): Likewise.
14905 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
14907         [BZ #18592]
14908         * misc/sbrk.c: Set errno to ENOMEM on overflow.
14910 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14912         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
14913         New function.  (__ieee754_sqrtf): New function.
14914         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
14915         New function.
14916         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
14917         New function.
14919 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14921         * sysdeps/ieee754/support.c: Remove unused file.
14923 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14925         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
14926         registers instead of d ones so the layout is kernel abi compatible.
14927         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
14928         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
14929         Likewise.
14931 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14933         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14935 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14937         [BZ #18619]
14938         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
14939         and return argument in case of subnormal argument.
14941 2015-07-01  Martin Sebor  <msebor@redhat.com>
14943         [BZ #18435]
14944         * nptl/Makefile: Add tst-once5.cc.
14945         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14946         Remove macro redefinitions.
14947         * nptl/tst-once5.cc: New test.
14949 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14951         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14953         * sysdeps/arm/libm-test-ulps: Regenerated.
14955         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14956         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14958 2015-06-30  Torvald Riegel  <triegel@redhat.com>
14960         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
14961         lll_lock_wait_private and lll_futex_wake probes.
14963         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14964         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
14965         Likewise.
14966         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
14967         atomic_spin_nop.
14968         * sysdeps/x86_64/bits/atomic.h: Likewise.
14969         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
14970         to atomic_spin_nop and move ...
14971         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14972         ... here and ...
14973         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
14974         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
14975         atomic_spin_nop instead of BUSY_WAIT_NOP.
14976         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
14977         Likewise.
14978         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
14979         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14980         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
14981         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
14982         instead of atomic_delay.
14984 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
14986         [BZ #18613]
14987         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
14988         X_ADJ not X when adjusting exponent.
14989         (__ieee754_gamma_r): Do intermediate computations in
14990         round-to-nearest then adjust overflowing and underflowing results
14991         as needed.
14992         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
14993         of X_ADJ not X when adjusting exponent.
14994         (__ieee754_gammaf_r): Do intermediate computations in
14995         round-to-nearest then adjust overflowing and underflowing results
14996         as needed.
14997         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
14998         log of X_ADJ not X when adjusting exponent.
14999         (__ieee754_gammal_r): Do intermediate computations in
15000         round-to-nearest then adjust overflowing and underflowing results
15001         as needed.  Use 1.0L not 1.0f as numerator of division.
15002         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
15003         log of X_ADJ not X when adjusting exponent.
15004         (__ieee754_gammal_r): Do intermediate computations in
15005         round-to-nearest then adjust overflowing and underflowing results
15006         as needed.  Use 1.0L not 1.0f as numerator of division.
15007         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
15008         of X_ADJ not X when adjusting exponent.
15009         (__ieee754_gammal_r): Do intermediate computations in
15010         round-to-nearest then adjust overflowing and underflowing results
15011         as needed.  Use 1.0L not 1.0f as numerator of division.
15012         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
15013         to auto-libm-test-in.
15014         (tgamma_test): Use ALL_RM_TEST.
15015         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
15016         tests of tgamma with spurious-overflow.
15017         * math/auto-libm-test-out: Regenerated.
15018         * math/gen-libm-have-vector-test.sh: Do not check for START.
15019         * sysdeps/i386/fpu/libm-test-ulps: Update.
15020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15022         [BZ #18612]
15023         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
15024         arguments, just return 0.5 times the argument, with underflow
15025         forced as needed.
15026         * math/auto-libm-test-in: Add more tests of j1.
15027         * math/auto-libm-test-out: Regenerated.
15029         [BZ #16559]
15030         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
15031         (__ieee754_j1): Force underflow exception for small results.
15032         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15033         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
15034         (__ieee754_j1f): Force underflow exception for small results.
15035         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15036         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15037         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15038         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
15039         (__ieee754_j1l): Force underflow exception for small results.
15040         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15041         * math/auto-libm-test-in: Add more tests of j1 and jn.
15042         * math/auto-libm-test-out: Regenerated.
15044         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
15045         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
15046         (PF_MPLS): Likewise.
15047         (AF_IB): Likewise.
15048         (AF_MPLS): Likewise.
15049         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
15050         value and macro.
15051         (MS_RMT_MASK): Include MS_LAZYTIME.
15053 2015-06-26  Mel Gorman  <mgorman@suse.de>
15055         [BZ #18502]
15056         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
15057         already minimal.
15059 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
15061         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
15062         (DT_MIPS_NUM): Update.
15063         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
15064         DT_MIPS_RLD_MAP_REL.
15066 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
15068         [BZ #16559]
15069         [BZ #18602]
15070         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
15071         round-to-nearest internally then recompute results that
15072         underflowed to zero in the original rounding mode.
15073         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15074         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15075         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15076         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15077         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
15078         * sysdeps/i386/fpu/libm-test-ulps: Update.
15079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15081 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15083         * NEWS: Fixed description of link with vector math library.
15085 2015-06-25  Andreas Schwab  <schwab@suse.de>
15087         [BZ #18549]
15088         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
15089         * libio/test-fmemopen.c (do_test): Add test for it.
15091 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
15093         [BZ #17841]
15094         * Makeconfig (no-pie-ldflag): New.
15095         (+link): Set to $(+link-pie) if default to PIE.
15096         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
15097         * config.make.in (build-pie-default): New.
15098         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
15099         is default.  AC_SUBST.
15100         * configure: Regenerated.
15101         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
15103 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15105         * nptl/descr.h (struct pthread): Change type of field setxid_futex
15106         to 'unsigned int'.
15108         * resolv/gai_misc.h (struct waitlist): Change type of field
15109         counterp to 'volatile unsigned int *'.
15110         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
15111         FUTEXADDR and OLDVAL.
15112         * resolv/getaddrinfo_a.c (getaddrinfo_a):
15113         Give local variable TOTAL type 'volatile unsigned int'.
15114         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15115         * resolv/gai_suspend.c (gai_suspend):
15116         Give local variable CNTR type 'unsigned int'.
15118         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
15119         counterp to 'volatile unsigned int *'.
15120         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
15121         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
15122         (aio_suspend): Give local variable CNTR type 'unsigned int'.
15123         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
15124         Give local variable TOTAL type 'volatile unsigned int'.
15125         (struct async_waitlist): Change type of field counter to 'unsigned int'.
15127 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15129         [BZ #18383]
15130         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
15131         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
15132         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
15133         comment for i386/x86-64.
15134         (test-xfail-tst-tlsalign-extern-static): Removed.
15136 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15138         * math/test-double.h: New file.
15139         * math/test-float.h: Likewise.
15140         * math/test-ldouble.h: Likewise.
15141         * math/test-math-inline.h: Likewise.
15142         * math/test-math-no-inline.h: Likewise.
15143         * math/test-math-scalar.h: Likewise.
15144         * math/test-math-vector.h: Likewise.
15145         * math/test-vec-loop.h: Remove file.  Contents moved into
15146         test-math-vector.h.
15147         * math/libm-test.inc (MATHCONST): Do not document macro.
15148         * math/test-double.c: Include test-double.h, test-math-no-inline.h
15149         and test-math-scalar.h.
15150         (FUNC): Remove macro.
15151         (FUNC_TEST): Likewise.
15152         (FLOAT): Likewise.
15153         (MATHCONST): Likewise.
15154         (PRINTF_EXPR): Likewise.
15155         (PRINTF_XEXPR): Likewise.
15156         (PRINTF_NEXPR): Likewise.
15157         (TEST_DOUBLE): Likewise.
15158         (TEST_MATHVEC): Likewise.
15159         (__NO_MATH_INLINES): Likewise.
15160         * math/test-float.c: Include test-float.h, test-math-no-inline.h
15161         and test-math-scalar.h.
15162         (FUNC): Remove macro.
15163         (FUNC_TEST): Likewise.
15164         (FLOAT): Likewise.
15165         (MATHCONST): Likewise.
15166         (PRINTF_EXPR): Likewise.
15167         (PRINTF_XEXPR): Likewise.
15168         (PRINTF_NEXPR): Likewise.
15169         (TEST_FLOAT): Likewise.
15170         (TEST_MATHVEC): Likewise.
15171         (__NO_MATH_INLINES): Likewise.
15172         * math/test-idouble.c: Include test-double.h, test-math-inline.h
15173         and test-math-scalar.h.
15174         (FUNC): Remove macro.
15175         (FUNC_TEST): Likewise.
15176         (FLOAT): Likewise.
15177         (MATHCONST): Likewise.
15178         (PRINTF_EXPR): Likewise.
15179         (PRINTF_XEXPR): Likewise.
15180         (PRINTF_NEXPR): Likewise.
15181         (TEST_DOUBLE): Likewise.
15182         (TEST_MATHVEC): Likewise.
15183         (TEST_INLINE): Likewise.
15184         (__NO_MATH_INLINES): Likewise.
15185         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
15186         test-math-scalar.h.
15187         (FUNC): Remove macro.
15188         (FUNC_TEST): Likewise.
15189         (FLOAT): Likewise.
15190         (MATHCONST): Likewise.
15191         (PRINTF_EXPR): Likewise.
15192         (PRINTF_XEXPR): Likewise.
15193         (PRINTF_NEXPR): Likewise.
15194         (TEST_FLOAT): Likewise.
15195         (TEST_MATHVEC): Likewise.
15196         (TEST_INLINE): Likewise.
15197         (__NO_MATH_INLINES): Likewise.
15198         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
15199         and test-math-scalar.h.
15200         (FUNC): Remove macro.
15201         (FUNC_TEST): Likewise.
15202         (FLOAT): Likewise.
15203         (MATHCONST): Likewise.
15204         (PRINTF_EXPR): Likewise.
15205         (PRINTF_XEXPR): Likewise.
15206         (PRINTF_NEXPR): Likewise.
15207         (TEST_LDOUBLE): Likewise.
15208         (TEST_MATHVEC): Likewise.
15209         (TEST_INLINE): Likewise.
15210         (__NO_MATH_INLINES): Likewise.
15211         * math/test-ldouble.c: Include test-ldouble.h,
15212         test-math-no-inline.h and test-math-scalar.h.
15213         (FUNC): Remove macro.
15214         (FUNC_TEST): Likewise.
15215         (FLOAT): Likewise.
15216         (MATHCONST): Likewise.
15217         (PRINTF_EXPR): Likewise.
15218         (PRINTF_XEXPR): Likewise.
15219         (PRINTF_NEXPR): Likewise.
15220         (TEST_LDOUBLE): Likewise.
15221         (TEST_MATHVEC): Likewise.
15222         (__NO_MATH_INLINES): Likewise.
15223         * math/test-double-vlen2.h: Include test-double.h,
15224         test-math-no-inline.h and test-math-vector.h.
15225         (FLOAT): Remove macro.
15226         (FUNC): Likewise.
15227         (MATHCONST): Likewise.
15228         (PRINTF_EXPR): Likewise.
15229         (PRINTF_XEXPR): Likewise.
15230         (PRINTF_NEXPR): Likewise.
15231         (TEST_DOUBLE): Likewise.
15232         (TEST_MATHVEC): Likewise.
15233         (__NO_MATH_INLINES): Likewise.
15234         (CNCT): Likewise.
15235         (CONCAT): Likewise.
15236         (WRAPPER_NAME): Likewise.
15237         (WRAPPER_DECL): Likewise.
15238         (WRAPPER_DECL_ff): Likewise.
15239         (WRAPPER_DECL_fFF): Likewise.
15240         (VECTOR_WRAPPER): Likewise.
15241         (VECTOR_WRAPPER_ff): Likewise.
15242         (VECTOR_WRAPPER_fFF): Likewise.
15243         (VEC_LEN): New macro.
15244         * math/test-double-vlen4.h: Include test-double.h,
15245         test-math-no-inline.h and test-math-vector.h.
15246         (FLOAT): Remove macro.
15247         (FUNC): Likewise.
15248         (MATHCONST): Likewise.
15249         (PRINTF_EXPR): Likewise.
15250         (PRINTF_XEXPR): Likewise.
15251         (PRINTF_NEXPR): Likewise.
15252         (TEST_DOUBLE): Likewise.
15253         (TEST_MATHVEC): Likewise.
15254         (__NO_MATH_INLINES): Likewise.
15255         (CNCT): Likewise.
15256         (CONCAT): Likewise.
15257         (WRAPPER_NAME): Likewise.
15258         (WRAPPER_DECL): Likewise.
15259         (WRAPPER_DECL_ff): Likewise.
15260         (WRAPPER_DECL_fFF): Likewise.
15261         (VECTOR_WRAPPER): Likewise.
15262         (VECTOR_WRAPPER_ff): Likewise.
15263         (VECTOR_WRAPPER_fFF): Likewise.
15264         (VEC_LEN): New macro.
15265         * math/test-double-vlen8.h: Include test-double.h,
15266         test-math-no-inline.h and test-math-vector.h.
15267         (FLOAT): Remove macro.
15268         (FUNC): Likewise.
15269         (MATHCONST): Likewise.
15270         (PRINTF_EXPR): Likewise.
15271         (PRINTF_XEXPR): Likewise.
15272         (PRINTF_NEXPR): Likewise.
15273         (TEST_DOUBLE): Likewise.
15274         (TEST_MATHVEC): Likewise.
15275         (__NO_MATH_INLINES): Likewise.
15276         (CNCT): Likewise.
15277         (CONCAT): Likewise.
15278         (WRAPPER_NAME): Likewise.
15279         (WRAPPER_DECL): Likewise.
15280         (WRAPPER_DECL_ff): Likewise.
15281         (WRAPPER_DECL_fFF): Likewise.
15282         (VECTOR_WRAPPER): Likewise.
15283         (VECTOR_WRAPPER_ff): Likewise.
15284         (VECTOR_WRAPPER_fFF): Likewise.
15285         (VEC_LEN): New macro.
15286         * math/test-float-vlen4.h: Include test-float.h,
15287         test-math-no-inline.h and test-math-vector.h.
15288         (FLOAT): Remove macro.
15289         (FUNC): Likewise.
15290         (MATHCONST): Likewise.
15291         (PRINTF_EXPR): Likewise.
15292         (PRINTF_XEXPR): Likewise.
15293         (PRINTF_NEXPR): Likewise.
15294         (TEST_FLOAT): Likewise.
15295         (TEST_MATHVEC): Likewise.
15296         (__NO_MATH_INLINES): Likewise.
15297         (CNCT): Likewise.
15298         (CONCAT): Likewise.
15299         (WRAPPER_NAME): Likewise.
15300         (WRAPPER_DECL): Likewise.
15301         (WRAPPER_DECL_ff): Likewise.
15302         (WRAPPER_DECL_fFF): Likewise.
15303         (VECTOR_WRAPPER): Likewise.
15304         (VECTOR_WRAPPER_ff): Likewise.
15305         (VECTOR_WRAPPER_fFF): Likewise.
15306         (VEC_LEN): New macro.
15307         * math/test-float-vlen8.h: Include test-float.h,
15308         test-math-no-inline.h and test-math-vector.h.
15309         (FLOAT): Remove macro.
15310         (FUNC): Likewise.
15311         (MATHCONST): Likewise.
15312         (PRINTF_EXPR): Likewise.
15313         (PRINTF_XEXPR): Likewise.
15314         (PRINTF_NEXPR): Likewise.
15315         (TEST_FLOAT): Likewise.
15316         (TEST_MATHVEC): Likewise.
15317         (__NO_MATH_INLINES): Likewise.
15318         (CNCT): Likewise.
15319         (CONCAT): Likewise.
15320         (WRAPPER_NAME): Likewise.
15321         (WRAPPER_DECL): Likewise.
15322         (WRAPPER_DECL_ff): Likewise.
15323         (WRAPPER_DECL_fFF): Likewise.
15324         (VECTOR_WRAPPER): Likewise.
15325         (VECTOR_WRAPPER_ff): Likewise.
15326         (VECTOR_WRAPPER_fFF): Likewise.
15327         (VEC_LEN): New macro.
15328         * math/test-float-vlen16.h: Include test-float.h,
15329         test-math-no-inline.h and test-math-vector.h.
15330         (FLOAT): Remove macro.
15331         (FUNC): Likewise.
15332         (MATHCONST): Likewise.
15333         (PRINTF_EXPR): Likewise.
15334         (PRINTF_XEXPR): Likewise.
15335         (PRINTF_NEXPR): Likewise.
15336         (TEST_FLOAT): Likewise.
15337         (TEST_MATHVEC): Likewise.
15338         (__NO_MATH_INLINES): Likewise.
15339         (CNCT): Likewise.
15340         (CONCAT): Likewise.
15341         (WRAPPER_NAME): Likewise.
15342         (WRAPPER_DECL): Likewise.
15343         (WRAPPER_DECL_ff): Likewise.
15344         (WRAPPER_DECL_fFF): Likewise.
15345         (VECTOR_WRAPPER): Likewise.
15346         (VECTOR_WRAPPER_ff): Likewise.
15347         (VECTOR_WRAPPER_fFF): Likewise.
15348         (VEC_LEN): New macro.
15349         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
15350         test-vec-loop.h.
15351         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15352         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15353         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15354         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15355         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15356         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15357         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15359 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15361         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
15362         (__getlogin_r): ... this.
15364 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15366         [BZ #18594]
15367         * math/s_ccosh.c (__ccosh): Compare with least normal value
15368         instead of comparing class with FP_SUBNORMAL.
15369         * math/s_ccoshf.c (__ccoshf): Likewise.
15370         * math/s_ccoshl.c (__ccoshl): Likewise.
15371         * math/s_cexp.c (__cexp): Likewise.
15372         * math/s_cexpf.c (__cexpf): Likewise.
15373         * math/s_cexpl.c (__cexpl): Likewise.
15374         * math/s_csin.c (__csin): Likewise.
15375         * math/s_csinf.c (__csinf): Likewise.
15376         * math/s_csinh.c (__csinh): Likewise.
15377         * math/s_csinhf.c (__csinhf): Likewise.
15378         * math/s_csinhl.c (__csinhl): Likewise.
15379         * math/s_csinl.c (__csinl): Likewise.
15380         * math/s_ctan.c (__ctan): Likewise.
15381         * math/s_ctanf.c (__ctanf): Likewise.
15382         * math/s_ctanh.c (__ctanh): Likewise.
15383         * math/s_ctanhf.c (__ctanhf): Likewise.
15384         * math/s_ctanhl.c (__ctanhl): Likewise.
15385         * math/s_ctanl.c (__ctanl): Likewise.
15386         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
15387         csin, csinh, ctan and ctanh.
15388         * math/auto-libm-test-out: Regenerated.
15389         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
15390         * sysdeps/i386/fpu/libm-test-ulps: Update.
15391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15393 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15395         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
15396         return value is wrong, print the expected value too.
15398 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15400         [BZ #18585]
15401         * elf/readlib.c (is_gdb_python_file): New.
15402         (process_file): Don't issue errors on filenames with -gdb.py
15403         suffix.
15405 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15407         * math/auto-libm-test-in: Add more tests of csin and csinh.
15408         * math/auto-libm-test-out: Regenerated.
15409         * math/libm-test.inc (csin_test_data): Remove tests moved to
15410         auto-libm-test-in.
15411         (csinh_test_data): Likewise.
15413         [BZ #18593]
15414         * math/s_csin.c (__csin): Negate before rather than after possibly
15415         overflowing multiplication.
15416         * math/s_csinf.c (__csinf): Likewise.
15417         * math/s_csinh.c (__csinh): Likewise.
15418         * math/s_csinhf.c (__csinhf): Likewise.
15419         * math/s_csinhl.c (__csinhl): Likewise.
15420         * math/s_csinl.c (__csinl): Likewise.
15421         * math/auto-libm-test-in: Add some tests of csin and csinh.
15422         * math/auto-libm-test-out: Regenerated.
15423         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
15424         (csinh_test_data): Likewise.
15425         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15427         [BZ #18586]
15428         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
15429         underflow exception for small results.
15431 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15433         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15434         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
15435         variable and included header.
15436         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
15437         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
15438         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
15439         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
15440         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
15441         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15442         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15443         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
15444         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
15445         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
15446         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
15447         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
15448         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
15449         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
15450         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
15451         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
15453 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15455         [BZ #16526]
15456         [BZ #16538]
15457         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
15458         (__sin): Force underflow exception for arguments with small
15459         absolute value.
15460         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
15461         (__kernel_sinf): Force underflow exception for arguments with
15462         small absolute value.
15463         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
15464         (__kernel_sincosl): Force underflow exception for arguments with
15465         small absolute value.
15466         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
15467         (__kernel_sinl): Force underflow exception for arguments with
15468         small absolute value.
15469         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
15470         (__kernel_sincosl): Force underflow exception for arguments with
15471         small absolute value.
15472         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
15473         (__kernel_sinl): Force underflow exception for arguments with
15474         small absolute value.
15475         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
15476         (__kernel_sinl): Force underflow exception for arguments with
15477         small absolute value.
15478         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
15479         (__kernel_sinf): Force underflow exception for arguments with
15480         small absolute value.
15481         * math/auto-libm-test-in: Add more tests of sin and sincos.
15482         * math/auto-libm-test-out: Regenerated.
15484         [BZ #18245]
15485         [BZ #18583]
15486         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
15487         (__kernel_standard_l): Use feholdexcept and fesetenv around
15488         conversion to double instead of special-casing overflow and
15489         underflow.
15490         * math/libm-test.inc (fmod_test_data): Add more tests.
15491         (remainder_test_data): Likewise.
15492         (sqrt_test_data): Likewise.
15494 2015-06-23  Torvald Riegel  <triegel@redhat.com>
15496         [BZ #17403]
15497         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
15498         atomic_read_barrier, atomic_write_barrier): Define.
15499         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
15500         atomic_read_barrier, atomic_write_barrier): Define.
15502 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15504         * math/Makefile [$(PERL) != no]
15505         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
15506         dependency on libm-test.stmp below the inclusion of Rules.
15508 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
15510         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15511         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
15512         and included header.
15513         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
15514         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
15515         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
15516         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
15517         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
15518         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
15519         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15520         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15521         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
15522         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
15523         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
15524         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
15525         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
15526         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
15527         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
15528         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
15529         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
15530         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
15531         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
15533 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15535         [BZ #18371]
15536         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
15537         intermediate but not final result might underflow.
15538         * math/s_csqrtf.c (__csqrtf): Likewise.
15539         * math/s_csqrtl.c (__csqrtl): Likewise.
15540         * math/auto-libm-test-in: Add more tests of csqrt.
15541         * math/auto-libm-test-out: Regenerated.
15542         * sysdeps/i386/fpu/libm-test-ulps: Update.
15544         [BZ #18219]
15545         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
15546         threshold on absolute value of exponent for which scaling is used.
15547         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15548         * math/auto-libm-test-in: Add more tests of exp2.
15549         * math/auto-libm-test-out: Regenerated.
15551 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
15553         [BZ #17977]
15554         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
15555         when initializing interface list, based on the bug analysis
15556         and the patch proposed by Eric Newton.
15557         * resolv/tst-res_hconf_reorder.c: New test.
15558         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
15559         tst-res_hconf_reorder.
15560         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
15561         and $(shared-thread-library).
15562         (tst-res_hconf_reorder-ENV): New variable.
15564         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
15565         in comment.
15567 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
15569         [BZ #16353]
15570         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
15571         (__expm1): Force underflow exception for arguments with small
15572         absolute value.
15573         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
15574         (__expm1f): Force underflow exception for arguments with small
15575         absolute value.
15576         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
15577         (__expm1): Force underflow exception for arguments with small
15578         absolute value.
15579         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
15580         (__expm1f): Force underflow exception for arguments with small
15581         absolute value.
15582         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15583         Check for small arguments before calling __expm1.
15584         * math/auto-libm-test-in: Do not mark underflow exceptions as
15585         possibly missing for bug 16353.
15586         * math/auto-libm-test-out: Regenerated.
15588 2015-06-22  Andreas Schwab  <schwab@suse.de>
15590         [BZ #18513]
15591         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
15592         PTR queries.
15594 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
15596         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
15598         * string/strcoll_l.c: Remove unused struct element idxnow.
15600 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
15602         [BZ #18569]
15603         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
15604         underflow and return argument in case of subnormal argument.
15605         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15606         Likewise.
15607         * math/auto-libm-test-in: Add more tests of expm1.
15608         * math/auto-libm-test-out: Regenerated.
15610         [BZ #16361]
15611         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15612         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15613         tiny results.
15614         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15615         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15616         tiny results.
15617         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
15618         mark underflow exceptions as possibly missing for bug 16361.
15619         * math/auto-libm-test-out: Regenerated.
15621 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
15623         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
15624         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
15625         Remove variable.
15626         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15627         (test-xfail-XOPEN2K8/utmpx.h/conform).
15629         * conform/conformtest.pl ($xerrors): New variable.
15630         (note_error): New function.
15631         (compiletest): New argument $xfail.  Use not_error.
15632         (runtest): Likewise.
15633         (top level): Handle xfail- lines.  Update calls to compiletest and
15634         runtest.  Handle xfail- and optional- in headers listed with
15635         allow-header.
15636         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
15637         (O_EXEC): Likewise.
15638         (O_SEARCH): Likewise.
15639         * conform/data/stropts.h-data (ioctl): Likewise.
15640         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
15641         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
15642         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
15643         (msghdr.msg_controllen): Likewise.
15644         (cmsghdr.cmsg_len): Likewise.
15645         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
15646         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
15647         variable.
15648         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15649         (test-xfail-XPG4/stropts.h/conform): Likewise.
15650         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15651         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15652         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15653         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15654         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15655         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15656         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15657         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15658         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15659         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15660         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15661         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15662         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15663         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15664         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15665         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15666         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15667         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15668         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15670 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15672         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
15673         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
15674         definitions for proper unfolding of __MATHDECL_VEC.
15676 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15678         * benchtests/bench-strcoll.c:
15679         Include string.h.
15680         (main): Remove unused variable res.
15682 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15684         * timezone/Makefile (%/UTC %/Universal):
15685         Generate test-result files for UTC and Universal.
15687 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15689         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15691 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
15693         [BZ #16350]
15694         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
15695         for arguments with small absolute value.
15696         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
15697         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
15698         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
15699         (__asinh): Force underflow exception for arguments with small
15700         absolute value.
15701         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
15702         (__asinhf): Force underflow exception for arguments with small
15703         absolute value.
15704         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
15705         (__asinhl): Force underflow exception for arguments with small
15706         absolute value.
15707         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
15708         (__asinhl): Force underflow exception for arguments with small
15709         absolute value.
15710         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
15711         (__asinhl): Force underflow exception for arguments with small
15712         absolute value.
15713         * math/auto-libm-test-in: Do not mark underflow exceptions as
15714         possibly missing for bug 16350.
15715         * math/auto-libm-test-out: Regenerated.
15717         * include/bits/ipc.h: Remove file.
15718         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
15719         variable.
15720         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15721         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15722         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15723         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15724         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15725         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15726         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15727         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15728         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15730         * math/auto-libm-test-in: Remove spurious underflow allowance for
15731         tests of cexp.
15732         * math/auto-libm-test-out: Regenerated.
15734         [BZ #18558]
15735         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
15736         unconditional definition.
15737         (MCAST_BLOCK_SOURCE): Likewise.
15738         (MCAST_UNBLOCK_SOURCE): Likewise.
15739         (MCAST_LEAVE_GROUP): Likewise.
15740         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15741         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15742         (MCAST_MSFILTER): Likewise.
15743         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
15744         Remove variable.
15745         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15746         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15747         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15748         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15749         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15751 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
15753         * NEWS: Mention addition of x86_64 vector sincosf.
15754         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
15755         * math/test-float-vlen4.h: Likewise.
15756         * math/test-float-vlen8.h: Likewise.
15757         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15758         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
15759         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15760         * sysdeps/x86_64/fpu/Versions: New versions added.
15761         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15762         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15763         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15764         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
15765         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
15766         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
15767         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
15768         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
15769         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
15770         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
15771         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
15772         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
15773         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
15774         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
15775         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
15776         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
15777         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
15778         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15779         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15780         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15781         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15782         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15783         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15784         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15786         * NEWS: Mention addition of x86_64 vector sincos.
15787         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
15788         * math/math.h (__MATHDECL_VEC): New macro.
15789         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
15790         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
15791         declaration under condition.
15792         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
15793         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
15794         TEST_VEC_LOOP change.
15795         * math/test-double-vlen4.h: Likewise.
15796         * math/test-double-vlen8.h: Likewise.
15797         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
15798         * math/test-float-vlen4.h: Likewise.
15799         * math/test-float-vlen8.h: Likewise.
15800         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15801         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
15802         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15803         * sysdeps/x86_64/fpu/Versions: New versions added.
15804         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15805         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15806         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15807         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
15808         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
15809         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
15810         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
15811         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
15812         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
15813         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
15814         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
15815         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
15816         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
15817         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
15818         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
15819         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
15820         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
15821         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15822         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15823         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15824         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15825         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15826         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15827         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15829         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15830         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15831         redirections for powf.
15832         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15833         * sysdeps/x86_64/fpu/Versions: New versions added.
15834         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15835         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15836         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15837         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
15838         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
15839         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
15840         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
15841         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
15842         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
15843         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
15844         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
15845         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
15846         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
15847         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
15848         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
15849         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
15850         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
15851         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15852         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15853         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15854         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15855         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15856         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15857         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15858         * math/test-float-vlen16.h: Fixed 2 argument macro.
15859         * math/test-float-vlen4.h: Likewise.
15860         * math/test-float-vlen8.h: Likewise.
15861         * NEWS: Mention addition of x86_64 vector powf.
15863 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
15865         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15866         and redefine.
15867         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15868         and redefine.
15869         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
15870         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15871         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15873         [BZ #18553]
15874         * resource/getpriority.c (getpriority): Rename to __getpriority
15875         and define as weak alias of __getpriority.
15876         * resource/setpriority.c (setpriority): Rename to __setpriority
15877         and define as weak alias of __setpriority.
15878         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
15879         __getpriority and define as weak alias of __getpriority.
15880         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
15881         __setpriority and define as weak alias of __setpriority.
15882         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
15883         strong name.
15884         (setpriority): Use __setpriority as strong name.
15885         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
15886         __getpriority and define as weak alias of __getpriority.
15887         * include/sys/resource.h (__getpriority): Declare.  Use
15888         libc_hidden_proto.
15889         (__setpriority): Likewise.
15890         (getpriority): Don't use libc_hidden_proto.
15891         (setpriority): Likewise.
15892         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
15893         getpriority.  Call __setpriority instead of setpriority.
15894         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
15895         Remove variable.
15897         [BZ #18547]
15898         * misc/getttyent.c (getttynam): Rename to __getttynam and define
15899         as weak alias of __getttynam.  Use prototype function definition.
15900         Call __setttyent, __getttyent and __endttyent instead of
15901         setttyent, getttyent and endttyent.
15902         (getttyent): Rename to __getttyent and define as weak alias of
15903         __getttyent.  Call __setttyent instead of setttyent.  Call
15904         __fgets_unlocked instead of fgets_unlocked.
15905         (setttyent): Rename to __setttyent and define as weak alias of
15906         __setttyent.
15907         (endttyent): Rename to __endttyent and define as weak alias of
15908         __endttyent.
15909         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
15910         (__setttyent): Likewise.
15911         (__endttyent): Likewise.
15912         (getttyent): Don't use libc_hidden_proto.
15913         (setttyent): Likewise.
15914         (endttyent): Likewise.
15915         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
15916         __endttyent instead of setttyent, getttyent and endttyent.
15917         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
15918         Remove variable.
15920         [BZ #18546]
15921         * socket/recv.c (__recv): Use libc_hidden_def.
15922         * socket/socket.c (__socket): Likewise.
15923         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15924         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15925         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
15926         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
15927         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
15928         libc_hidden_def.
15929         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
15930         libc_hidden_weak.
15931         * include/sys/socket.h (__socket): Do not use attribute_hidden.
15932         Use libc_hidden_proto.
15933         (__recv): Likewise.
15934         * socket/Versions (libc): Export __recv and __socket at version
15935         GLIBC_PRIVATE.
15936         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
15937         instead of recv.
15938         (init_mq_netlink): Call __socket instead of socket.
15939         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
15940         Remove variable.
15942         [BZ #18545]
15943         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
15944         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
15945         hidden_weak.
15946         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
15947         define as alias of __mq_timedsend.  Use hidden_weak.
15948         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
15949         __mq_timedsend as strong name.
15950         (mq_timedreceive): Use __mq_timedreceive as strong name.
15951         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
15952         (__mq_timedreceive): Likewise.
15953         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
15954         __mq_timedreceive instead of mq_timedreceive.
15955         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
15956         instead of mq_timedsend.
15957         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
15958         Remove variable.
15960         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
15961         hidden_def and hidden_weak instead of libc_hidden_def and
15962         libc_hidden_weak.
15963         (top level): Refer to hidden_def in comment.
15964         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
15965         macro.  Use it instead of libc_hidden_def.
15966         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
15967         specify __GI_* name explicitly.
15968         (mq_timedreceive): Likewise.
15969         (mq_setattr): Likewise.
15971         [BZ #18544]
15972         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
15973         __pthread_barrier_init and define as weak alias of
15974         __pthread_barrier_init.
15975         * sysdeps/sparc/nptl/pthread_barrier_init.c
15976         (pthread_barrier_init): Likewise.
15977         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
15978         __pthread_barrier_wait and define as weak alias of
15979         __pthread_barrier_wait.
15980         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15981         (pthread_barrier_wait): Likewise.
15982         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15983         (pthread_barrier_wait): Likewise.
15984         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
15985         (pthread_barrier_wait): Likewise.
15986         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
15987         (pthread_barrier_wait): Likewise.
15988         * nptl/Versions (libpthread): Export __pthread_barrier_init and
15989         __pthread_barrier_wait at version GLIBC_PRIVATE.
15990         * include/pthread.h (__pthread_barrier_init): Declare.
15991         (__pthread_barrier_wait): Likewise.
15992         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
15993         Call __pthread_barrier_wait instead of pthread_barrier_wait.
15994         (helper_thread): Likewise.
15995         (init_mq_netlink): Call __pthread_barrier_init instead of
15996         pthread_barrier_init.
15998         [BZ #18542]
15999         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
16000         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
16001         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
16002         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
16003         vswscanf.
16004         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
16005         Remove variable.
16007         [BZ #18540]
16008         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
16009         strong alias of _IO_fflush.  Use libc_hidden_def.
16010         * libio/iofflush_u.c (fflush_unlocked): Rename to
16011         __fflush_unlocked and define as weak alias of __fflush_unlocked.
16012         Use libc_hidden_weak.
16013         * include/stdio.h (__fflush_unlocked): Declare.  Use
16014         libc_hidden_proto.
16015         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
16016         fflush_unlocked.
16017         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
16018         Remove variable.
16020         [BZ #18539]
16021         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
16022         define as weak alias of __addseverity.
16023         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
16024         Remove variable.
16025         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16026         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16027         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16029         [BZ #18536]
16030         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
16031         (__tfind): Likewise.
16032         (__tdelete): Likewise.
16033         (__twalk): Likewise.
16034         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
16035         __twalk to GLIBC_PRIVATE.
16036         * include/search.h (__tsearch): Use libc_hidden_proto.
16037         (__tfind): Likewise.
16038         (__tdelete): Likewise.
16039         (__twalk): Likewise.
16040         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
16041         Call __tdelete instead of tdelete.
16042         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
16043         tfind.  Call __tsearch instead of tsearch.
16044         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
16045         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
16046         Remove variable.
16047         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16049         [BZ #18534]
16050         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
16051         (dprintf): Define as a weak alias of __dprintf, not a strong
16052         alias.
16053         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
16054         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
16055         dprintf.
16056         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
16057         Remove variable.
16058         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16059         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16061         [BZ #18533]
16062         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
16063         not a strong alias.
16064         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
16065         Remove variable.
16067         [BZ #18532]
16068         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
16069         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
16070         (in6addr_loopback): Rename to __in6addr_loopback and define as
16071         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
16072         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
16073         libc_hidden_proto.
16074         (__in6addr_any): Likewise.
16075         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
16076         in6addr_any.
16077         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
16078         variable.
16079         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16081 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16083         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
16084         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
16085         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16086         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16087         redirections for pow.
16088         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16089         * sysdeps/x86_64/fpu/Versions: New versions added.
16090         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16091         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16092         build of SSE, AVX2 and AVX512 IFUNC versions.
16093         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
16094         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
16095         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
16096         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
16097         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
16098         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
16099         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
16100         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
16101         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
16102         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
16103         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
16104         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
16105         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
16106         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
16107         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16108         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16109         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16110         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16111         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16112         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16113         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16114         * NEWS: Mention addition of x86_64 vector pow.
16116         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16117         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16118         redirections for expf.
16119         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16120         * sysdeps/x86_64/fpu/Versions: New versions added.
16121         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16122         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16123         build of SSE, AVX2 and AVX512 IFUNC versions.
16124         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
16125         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
16126         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
16127         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
16128         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
16129         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
16130         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
16131         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
16132         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
16133         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
16134         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
16135         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
16136         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
16137         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16138         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16139         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16140         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16141         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16142         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16143         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16144         * NEWS: Mention addition of x86_64 vector expf.
16146         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
16147         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
16148         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16149         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16150         redirections for exp.
16151         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16152         * sysdeps/x86_64/fpu/Versions: New versions added.
16153         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16154         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16155         build of SSE, AVX2 and AVX512 IFUNC versions.
16156         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
16157         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
16158         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
16159         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
16160         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
16161         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
16162         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
16163         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
16164         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
16165         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
16166         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
16167         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
16168         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
16169         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16170         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16171         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16172         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16173         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16174         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16175         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16176         * NEWS: Mention addition of x86_64 vector exp.
16178         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16179         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16180         redirections for logf.
16181         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16182         * sysdeps/x86_64/fpu/Versions: New versions added.
16183         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16184         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16185         build of SSE, AVX2 and AVX512 IFUNC versions.
16186         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
16187         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
16188         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
16189         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
16190         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
16191         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
16192         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
16193         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
16194         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
16195         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
16196         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
16197         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
16198         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
16199         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16200         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16201         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16202         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16203         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16204         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16205         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16206         * NEWS: Mention addition of x86_64 vector logf.
16208         * bits/libm-simd-decl-stubs.h: Added stubs for log.
16209         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
16210         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16211         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16212         redirections for log.
16213         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16214         * sysdeps/x86_64/fpu/Versions: New versions added.
16215         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16216         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16217         build of SSE, AVX2 and AVX512 IFUNC versions.
16218         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
16219         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
16220         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
16221         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
16222         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
16223         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
16224         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
16225         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
16226         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
16227         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
16228         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
16229         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
16230         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
16231         test.
16232         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16233         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16234         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16235         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16236         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16237         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16238         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16239         * NEWS: Mention addition of x86_64 vector log.
16241 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16243         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
16244         cfi_adjust_cfa_offset argument.
16245         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
16246         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
16248         [BZ #18034]
16249         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
16250         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
16251         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
16252         ordering using ldar.
16253         (_dl_tlsdesc_dynamic): Likewise.
16254         (_dl_tlsdesc_return_lazy): Likewise.
16255         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
16256         relaxed atomics instead of volatile and synchronize with release store.
16257         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
16258         volatile.
16259         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16261 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
16263         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16264         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
16265         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16266         * sysdeps/x86_64/fpu/Versions: New versions added.
16267         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16268         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16269         build of SSE, AVX2 and AVX512 IFUNC versions.
16270         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
16271         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
16272         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
16273         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
16274         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
16275         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
16276         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
16277         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
16278         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
16279         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
16280         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
16281         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
16282         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
16283         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16284         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16285         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16286         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16287         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16288         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16289         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16290         * NEWS: Mention addition of x86_64 vector sinf.
16292 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
16294         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
16295         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
16296         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
16297         Remove variable.
16298         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16299         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16301 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16303         [BZ #18530]
16304         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
16305         strong alias of _IO_fputs.  Use libc_hidden_def.
16306         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
16307         and define as weak alias of __fputs_unlocked.  Use
16308         libc_hidden_weak.
16309         * include/stdio.h (__fputs_unlocked): Declare.  Use
16310         libc_hidden_proto.
16311         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
16312         fputs_unlocked.
16314         [BZ #18529]
16315         * resolv/netdb.h [__USE_POSIX]: Change condition to
16316         [__USE_XOPEN2K].
16317         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
16318         not expect.
16319         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
16320         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
16321         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
16322         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
16323         [XPG4 || UNIX98] (AI_ALL): Likewise.
16324         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
16325         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
16326         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
16327         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
16328         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
16329         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
16330         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
16331         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
16332         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
16333         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
16334         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
16335         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
16336         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
16337         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
16338         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
16339         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16340         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16341         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
16342         [XPG4 || UNIX98] (gai_strerror): Likewise.
16343         [XPG4 || UNIX98] (getaddrinfo): Likewise.
16344         [XPG4 || UNIX98] (getnameinfo): Likewise.
16346         [BZ #18528]
16347         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
16348         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
16349         __USE_XOPEN2K8].
16350         (getgrent): Likewise.
16351         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
16352         expect.
16353         [XPG3 || POSIX2008] (endgrent): Likewise.
16354         [XPG3] (setgrent): Likewise.
16355         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
16356         variable.
16357         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16359         [BZ #18527]
16360         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
16361         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
16362         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
16363         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
16364         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
16365         * include/unistd.h (__getlogin_r): Declare.  Use
16366         libc_hidden_proto.
16367         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
16368         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
16369         variable.
16370         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
16371         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
16372         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
16374 2015-06-12  Martin Sebor  <msebor@redhat.com>
16376         [BZ #18512]
16377         * Makerules (check-install-supported): New target.
16378         (install): Add check-install-supported as a dependency.
16379         * manual/install.texi (Installing the C Library): Document
16380         that overriding prefix and exec_prefix is not supported.
16381         Mention DESTDIR.
16382         * INSTALL: Regenerate from the above.
16384 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16386         [BZ #18519]
16387         * posix/Versions (libc): Export __libc_pread at version
16388         GLIBC_PRIVATE.
16389         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
16390         instead of pread.
16391         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
16392         variable.
16394         [BZ #18522]
16395         * misc/efgcvt_r.c
16396         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
16397         (cvt_symbol): Use weak_alias instead of strong_alias.
16398         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
16399         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
16400         Remove variable.
16401         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16402         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16404         [BZ #18520]
16405         * inet/herrno.c (h_errno): Rename to __h_errno.
16406         (__libc_h_errno): Define as alias of __h_errno not h_errno.
16407         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
16408         to __h_errno instead of h_errno.
16409         * nptl/herrno.c (h_errno): Rename to __h_errno.
16410         (__h_errno_location): Refer to __h_errno not h_errno.
16411         * resolv/Versions (h_errno): Rename to __h_errno.
16412         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
16413         Remove variable.
16414         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16416 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
16418         * configure.ac: More strict check for AVX512 assembler support.
16419         * configure: Regenerated.
16421         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
16422         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
16423         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16424         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
16425         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16426         * sysdeps/x86_64/fpu/Versions: New versions added.
16427         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16428         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16429         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16430         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
16431         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
16432         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
16433         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
16434         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
16435         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
16436         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
16437         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
16438         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
16439         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
16440         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
16441         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
16442         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
16443         test.
16444         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16445         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16446         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16447         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16448         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16449         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16450         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16451         * NEWS: Mention addition of x86_64 vector sin.
16453 2015-06-11  Florian Weimer  <fweimer@redhat.com>
16455         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
16456         comment.
16458 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16460         [BZ #18479]
16461         * nptl/pt-interp.c: New file.
16462         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
16463         Add pt-interp.
16464         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
16465         $(common-objpfx)runtime-linker.h.
16467 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
16469         * Makeconfig (+interp): Remove unused variable.
16470         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
16471         only.  Depend on $(common-objpfx)runtime-linker.h instead of
16472         $(elf-objpfx)runtime-linker.h.
16473         ($(elf-objpfx)runtime-linker.h): Rename to
16474         $(common-objpfx)runtime-linker.h and move ...
16475         * Makerules [$(build-shared) = yes]: ... here.
16476         * elf/interp.c: Include <runtime-linker.h> instead of
16477         <elf/runtime-linker.h>.
16479 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16481         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
16482         (__gettimeofday_syscall): Remove vsyscall fallback.
16483         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
16484         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
16485         Add syscall fallback function.
16486         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
16487         if vDSO is not present.
16488         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
16489         fallback function.
16490         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
16491         present.
16492         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
16493         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16495 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
16497         [BZ #18497]
16498         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
16499         of wcscmp.
16500         (wcscmp): Define as weak alias of WCSCMP.
16501         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
16502         wcscoll.
16503         (USE_HIDDEN_DEF): Define.
16504         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
16505         __wcscoll.  Don't use libc_hidden_weak.
16506         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
16507         wcscmp.
16508         * sysdeps/i386/i686/multiarch/wcscmp-c.c
16509         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
16510         __GI_wcscmp.
16511         (weak_alias): Undefine and redefine.
16512         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
16513         __wcscmp and define as weak alias of __wcscmp.
16514         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
16515         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
16516         (__wcscoll): Likewise.
16517         (wcscmp): Don't use libc_hidden_proto.
16518         (wcscoll): Likewise.
16519         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
16520         wcscoll.
16521         * posix/regexec.c (check_node_accept_bytes): Likewise.
16522         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
16523         variable.
16524         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
16525         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16527         [BZ #18507]
16528         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
16529         __fstatvfs and define as weak alias of __fstatvfs.  Use
16530         libc_hidden_weak.
16531         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
16532         and define as weak alias of __statvfs.  Use libc_hidden_weak.
16533         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
16534         Define as alias of __fstatvfs, not fstatvfs.
16535         (fstatvfs64): Likewise.
16536         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
16537         Define as alias of __statvfs, not statvfs.
16538         (statvfs64): Likewise.
16539         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
16540         Remove variable.
16542 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16545         (HAVE_GETCPU_VSYSCALL): Define.
16546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16547         (HAVE_GETCPU_VSYSCALL): Likewise.
16548         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
16549         * sysdeps/unix/sysv/linux/sched_getcpu.c
16550         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
16551         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
16552         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
16553         prototype.
16554         * sysdeps/unix/sysv/linux/x86_64/init-first.c
16555         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
16556         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
16557         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
16558         Define.
16559         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
16560         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16561         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
16562         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16564 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
16566         * sysdeps/x86_64/fpu/Makefile: New file.
16567         * sysdeps/x86_64/fpu/Versions: New file.
16568         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
16569         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
16570         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
16571         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
16572         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
16573         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
16574         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
16575         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
16576         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
16577         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
16578         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
16579         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
16580         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
16581         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16582         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16583         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
16584         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
16585         * sysdeps/x86_64/configure.ac: Options for libmvec build.
16586         * sysdeps/x86_64/configure: Regenerated.
16587         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
16588         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
16589         * manual/install.texi (Configuring and compiling): Document
16590         --disable-mathvec.
16591         * INSTALL: Regenerated.
16592         * NEWS: Mention addition of libmvec and x86_64 vector cos.
16594         * math/Makefile: Added rules for vector tests.
16595         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
16596         declaration under condition.
16597         * math/test-double-vlen2.h: New file.
16598         * math/test-double-vlen4.h: New file.
16599         * math/test-double-vlen8.h: New file.
16600         * math/test-vec-loop.h: Added initialization macro.
16601         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
16602         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
16603         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
16604         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
16605         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
16606         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
16607         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
16608         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
16609         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
16610         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
16611         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
16613         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16614         * sysdeps/x86_64/fpu/Versions: New versions added.
16615         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
16616         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
16617         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
16618         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
16619         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
16620         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
16621         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
16622         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
16623         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
16624         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
16625         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
16626         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
16627         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
16628         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16629         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16630         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16631         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
16632         * NEWS: Mention addition of x86_64 vector cosf.
16634         * math/Makefile: Added CFLAGS for new tests.
16635         * math/test-float-vlen16.h: New file.
16636         * math/test-float-vlen4.h: New file.
16637         * math/test-float-vlen8.h: New file.
16638         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
16639         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
16640         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16641         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
16642         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
16643         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
16644         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
16645         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
16646         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
16647         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
16648         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
16650 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
16652         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
16653         * locale/programs/ld-ctype.c: Likewise.
16655 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
16657         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
16658         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
16659         bit_ZMM16_31_state): New macro.
16660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16661         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
16663 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
16665         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
16667 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
16669         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
16671 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
16673         [BZ #18498]
16674         * libio/memstream.c (open_memstream): Rename to __open_memstream
16675         and define as weak alias of __open_memstream.
16676         * include/stdio.h (__open_memstream): Declare.  Use
16677         libc_hidden_proto.
16678         (open_memstream): Don't use libc_hidden_proto.
16679         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
16680         open_memstream.
16681         * posix/getopt.c (_getopt_internal_r): Likewise.
16682         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
16683         variable.
16684         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
16685         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
16686         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
16688         [BZ #18496]
16689         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
16690         instead of wcrtomb.
16692         [BZ #18483]
16693         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
16694         [__USE_XOPEN2K8].  Remove redundant #endif.
16695         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
16696         Remove redundant #if.
16697         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
16698         Remove variable.
16699         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
16700         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
16702         [BZ #18495]
16703         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
16704         (__iswlower): Likewise.
16705         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
16706         (__iswlower): Likewise.
16707         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
16708         instead of towlower.
16709         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
16710         instead of iswlower.  Call __towupper instead of towupper.
16711         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
16712         instead of iswalnum.
16714 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16716         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
16717         errors to stderr.
16719 2015-06-05  Florian Weimer  <fweimer@redhat.com>
16721         [BZ #15661]
16722         [BZ #17322]
16723         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16724         Check for overflow properly.  Check for O_APPEND.  Ignore large
16725         file system block sizes.  Add comments about problems.
16726         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
16727         * manual/filesys.texi (Storage Allocation): New node.
16729 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16731         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
16732         cancellable syscalls.
16733         (SYS_ify): Add guard to no redefine it.
16734         (INLINE_SYSCALL): Likewise.
16735         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
16736         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
16737         SYSCALL_CANCEL instead.
16738         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
16739         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16740         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16741         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16742         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16743         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
16744         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
16745         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
16746         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16747         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16748         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
16749         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
16750         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
16751         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
16752         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
16753         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16754         Likewise.
16755         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16756         (__libc_pread64): Likewise.
16757         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
16758         (__libc_preadv): Likewise.
16759         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
16760         (__libc_readv64): Likewise.
16761         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16762         (__libc_pwrite): Likewise.
16763         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16764         (__libc_pwrite64): Likewise.
16765         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
16766         (__libc_pwritev): Likewise.
16767         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
16768         (__libc_pwritev64): Likewise.
16769         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
16770         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16771         (sync_file_range): Likewise.
16772         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
16773         Likewise.
16774         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
16775         Likewise.
16776         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16777         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16778         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16779         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16780         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16781         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16782         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16783         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
16784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16785         Likewise.
16786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16787         (__libc_read64): Likewise.
16788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
16789         Likewise.
16790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
16791         Likewise.
16792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
16793         Likewise.
16794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
16795         Likewise.
16796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16797         (__libc_pread64): Likewise.
16798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
16799         Likewise.
16800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16801         (__libc_pwrite64): Likewise.
16802         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
16803         (sync_file_range): Likewise.
16804         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
16805         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16806         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16807         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
16808         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
16809         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16810         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16811         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
16812         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
16813         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16814         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16815         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16816         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16817         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16818         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
16819         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16820         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16821         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16822         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16823         Likewise.
16824         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
16825         Likewise.
16826         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
16827         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
16828         Likewise.
16829         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
16830         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
16831         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
16832         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
16833         Likewise.
16834         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
16835         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
16836         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
16837         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
16838         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
16840 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
16842         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
16843         Include dl-vdso.
16844         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
16845         Use VDSO routines for gettimeofday, clock_gettime if
16846         available.
16847         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
16848         Declare VDSO symbols.
16849         * sysdeps/unix/sysv/linux/arm/sysdep.h:
16850         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
16851         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16852         * sysdeps/unix/sysv/linux/arm/Versions: Add
16853         __vdso_clock_gettime.
16855 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16857         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
16858         be an inline implementation regardless of library is built within.
16859         (open_not_cancel_2): Likewise.
16860         (__read_nocancel): Likewise.
16861         (__write_nocancel): Likewise.
16862         (openat_not_cancel): Likewise.
16863         (openat_not_cancel_3): Likewise.
16864         (openat64_not_cancel): Likewise.
16865         (openat64_not_cancel_3): Likewise.
16866         (__close_nocancel): Likewise.
16867         (pause_not_cancel): Likewise.
16868         (nanosleep_not_cancel): Likewise.
16869         (sigsuspend_not_cancel): Likewise.
16871 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16873         [BZ #14958]
16874         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
16875         wake-up.
16876         (__pthread_rwlock_rdlock_slow): Likewise.
16877         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16878         Likewise.
16879         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16880         Likewise.
16881         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
16882         * nptl/tst-rwlock16.c: New file.
16883         * nptl/Makefile (tests): Add new test.
16885 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16887         [BZ #18324]
16888         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
16889         missing wake-up of readers.
16890         * nptl/tst-rwlock15.c: New file.
16891         * nptl/Makefile (tests): Add new test.
16893 2015-06-03  Roland McGrath  <roland@hack.frob.com>
16895         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
16896         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
16897         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
16898         and __nacl_supply_interface_rtld.
16899         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
16900         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
16901         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
16902         Add __nacl_supply_interface_rtld.
16903         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
16905 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16907         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
16908         isfinite.
16909         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16910         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
16912 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16914         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
16915         __signbit* with standard C99 macros.
16916         * math/e_exp10l.c: Likewise.
16917         * math/e_exp2l.c: Likewise.
16918         * math/e_scalb.c: Likewise.
16919         * math/e_scalbf.c: Likewise.
16920         * math/e_scalbl.c: Likewise.
16921         * math/s_ldexp.c: Likewise.
16922         * math/s_ldexpf.c: Likewise.
16923         * math/s_ldexpl.c: Likewise.
16924         * math/w_atan2.c: Likewise.
16925         * math/w_atan2f.c: Likewise.
16926         * math/w_atan2l.c: Likewise.
16927         * math/w_cosh.c: Likewise.
16928         * math/w_coshf.c: Likewise.
16929         * math/w_coshl.c: Likewise.
16930         * math/w_exp10.c: Likewise.
16931         * math/w_exp10f.c: Likewise.
16932         * math/w_exp10l.c: Likewise.
16933         * math/w_exp2.c: Likewise.
16934         * math/w_exp2f.c: Likewise.
16935         * math/w_exp2l.c: Likewise.
16936         * math/w_fmod.c: Likewise.
16937         * math/w_fmodf.c: Likewise.
16938         * math/w_fmodl.c: Likewise.
16939         * math/w_hypot.c: Likewise.
16940         * math/w_hypotf.c: Likewise.
16941         * math/w_hypotl.c: Likewise.
16942         * math/w_jnl.c: Likewise.
16943         * math/w_lgamma.c: Likewise.
16944         * math/w_lgamma_r.c: Likewise.
16945         * math/w_lgammaf.c: Likewise.
16946         * math/w_lgammaf_r.c: Likewise.
16947         * math/w_lgammal.c: Likewise.
16948         * math/w_lgammal_r.c: Likewise.
16949         * math/w_pow.c: Likewise.
16950         * math/w_powf.c: Likewise.
16951         * math/w_powl.c: Likewise.
16952         * math/w_remainder.c: Likewise.
16953         * math/w_remainderf.c: Likewise.
16954         * math/w_remainderl.c: Likewise.
16955         * math/w_scalb.c: Likewise.
16956         * math/w_scalbf.c: Likewise.
16957         * math/w_scalbl.c: Likewise.
16958         * math/w_scalbln.c: Likewise.
16959         * math/w_scalblnf.c: Likewise.
16960         * math/w_scalblnl.c: Likewise.
16961         * math/w_sinh.c: Likewise.
16962         * math/w_sinhf.c: Likewise.
16963         * math/w_sinhl.c: Likewise.
16964         * math/w_tgamma.c: Likewise.
16965         * math/w_tgammaf.c: Likewise.
16966         * math/w_tgammal.c: Likewise.
16967         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16968         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
16969         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16970         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16971         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16972         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16973         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16974         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16975         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16976         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16977         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16978         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16979         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16980         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16981         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16982         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16983         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16984         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16985         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16986         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16987         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16988         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16989         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16990         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16991         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16992         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16993         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
16994         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16995         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16996         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16997         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
16998         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
16999         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
17000         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
17001         * stdio-common/printf_fp.c: Likewise.
17002         * stdio-common/printf_fphex.c: Likewise.
17003         * stdio-common/printf_size.c: Likewise.
17005 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
17007         [BZ #18470]
17008         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
17009         strnlen.
17010         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
17011         Remove variable.
17012         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17013         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17014         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17015         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17016         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17017         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17018         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17019         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17020         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17021         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17023         [BZ #18468]
17024         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
17025         weak alias of __wmemchr.  Use libc_hidden_weak.
17026         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
17027         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
17028         instead of wmemchr.
17030 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17032         [BZ #18383]
17033         * elf/tst-tlsalign-extern.c: New file.
17034         * elf/tst-tlsalign-extern-static.c: New file.
17035         * elf/tst-tlsalign-vars.c: New file.
17036         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
17037         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
17038         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
17039         ($(objpfx)tst-tlsalign-extern-static): Likewise.
17040         (test-xfail-tst-tlsalign-extern-static): New variable.
17042 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
17044         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
17045         Use variable name _sc_err instead of err.
17046         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
17047         instead of ret.
17048         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
17049         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
17050         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
17051         (INLINE_SYSCALL): Likewise.
17053         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
17054         * include/string.h (__strnlen): Use libc_hidden_proto.
17055         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
17056         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
17057         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
17058         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
17059         (libc_hidden_def): Undefine and redefine.
17060         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
17061         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
17062         __GI_strnlen.
17063         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
17064         libc_hidden_def.
17065         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
17067         [BZ #18469]
17068         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
17069         weak alias of __towlower.  Use libc_hidden_weak.
17070         (towupper): Rename to __towupper and define as weak alias of
17071         __towupper.  Use libc_hidden_weak.
17072         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
17073         (__towupper): Likewise.
17074         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
17075         __towlower instead of towlower.
17077 2015-06-02  Roland McGrath  <roland@hack.frob.com>
17079         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
17080         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
17082 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17084         * sysdeps/aarch64/libm-test-ulps: Update.
17086 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17088         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
17089         Define.
17090         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17091         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17092         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17093         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17094         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
17095         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
17096         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
17098 2015-06-01  Martin Sebor  <msebor@redhat.com>
17100         [BZ #18116]
17101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17102         (__setcontext): Use extended four-operand version of mtsf whenever
17103         possible.
17104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17105         (__novec_swapcontext): Likewise.
17107 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17109         * benchtests/scripts/compare_bench.py: New file.
17110         * benchtests/scripts/import_bench.py (mean): New function.
17111         (split_list): Likewise.
17112         (do_for_all_timings): Likewise.
17113         (compress_timings): Likewise.
17115         * benchtests/scripts/import_bench.py: New file.
17116         * benchtests/scripts/validate_benchout.py: Import import_bench
17117         instead of jsonschema.
17118         (validate_bench): Remove function.
17119         (main): Use import_bench.
17121 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
17123         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
17124         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
17126 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17130 2015-05-28  Roland McGrath  <roland@hack.frob.com>
17132         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
17133         set THREAD_SELF->tid to a magic value and futex-wake it.
17134         Pass its address to the thread_exit system call.
17135         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
17136         bit is clear.
17137         * sysdeps/nacl/lowlevellock.h: New file.
17138         * sysdeps/nacl/lll_timedwait_tid.c: New file.
17140         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
17141         Add TIMEOUT to current time, don't subtract it.
17143 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
17145         [BZ #2981]
17146         [BZ #18422]
17147         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
17148         ($(objpfx)tst-audit2.out): Also depend on
17149         $(objpfx)tst-auditmod9b.so.
17150         * elf/tst-audit2.c: Include <dlfcn.h>.
17151         (calloc_called): New.
17152         (calloc): Allow to be called more than once.
17153         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
17155 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
17157         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
17158         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
17160 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
17162         * stdlib/monetary.h: Fix comment.
17164 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
17166         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
17167         Avoid using variables in #defines that might cause shadowing.
17168         (INTERNAL_VSYSCALL_CALL): Likewise.
17170 2015-05-26  Roland McGrath  <roland@hack.frob.com>
17172         * sysdeps/nacl/lll_timedlock_wait.c: New file.
17174         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
17175         * nptl/lll_timedlock_wait.c: ... to this new file.
17176         * nptl/Makefile (libpthread-routines): Add it.
17177         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
17178         * nptl/lll_timedwait_tid.c: ... to this new file.
17179         * nptl/Makefile (libpthread-routines): Add it.
17180         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
17181         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
17182         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
17183         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
17184         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
17185         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
17186         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
17187         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
17188         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
17189         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
17191 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17193         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
17194         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17195         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17196         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
17197         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17198         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17199         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17200         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17201         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17202         * sysdeps/unix/sysv/linux/tile/sysdep.h
17203         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17204         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
17205         using vDSO syscall macro.
17207 2015-05-26  Andriy Rysin  <arysin@gmail.com>
17209         [BZ #17293]
17210         * uk_UA: Fix sorting order for Ukrainian locale
17212 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
17214         * stdlib/monetary.h: Fix comment.
17216 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17218         [BZ #18234]
17219         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
17220         st_mtim and st_ctim members.
17221         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
17222         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
17223         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
17224         (struct stat64): Likewise.
17225         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
17226         (struct stat64): Likewise.
17227         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
17228         (struct stat64): Likewise.
17230 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17232         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
17233         Define and include sysdep-vdso.h.
17234         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
17235         Likewise.
17236         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
17237         Likewise.
17238         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
17239         Define with VDSO_SYMBOL and use PTR_MANGLE.
17240         (__vdso_clock_gettime): Likewise.
17241         (__vdso_clock_getres): Likewise.
17242         (_libc_vdso_platform_setup): Likewise.
17243         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17244         Likewise.
17245         (_libc_vdso_platform_setup): Likewise.
17246         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
17247         Likewise.
17248         (__vdso_clock_gettime): Likewise.
17249         (__vdso_clock_getres): Likewise.
17250         (__vdso_get_tbfreq): Likewise.
17251         (__vdso_getcpu): Likewise.
17252         (__vdso_time): Likewise.
17253         (__vdso_sigtramp_rt64): Likewise.
17254         (__vdso_signtramp32): Likewise.
17255         (__vdso_sigtramp_rt32): Likewise.
17256         (_libc_vdso_platform_setup): Likewise.
17257         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
17258         Likewise.
17259         (__vdso_clock_gettime): Likewise.
17260         (__vdso_clock_getres): Likewise.
17261         (_libc_vdso_platform_setup): Likewise.
17262         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
17263         Likewise.
17264         (__vdso_clock_gettime): Likewise.
17265         (_libc_vdso_platform_setup): Likewise.
17266         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17267         Likewise.
17268         (__vdso_getcpu): Likewise.
17269         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
17270         Use VDSO_SYMBOL macro to define.
17271         (__vdso_clock_gettime): Likewise.
17272         (__vdso_clock_getres): Likewise.
17273         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
17274         Likewise.
17275         (__vdso_clock_gettime): Likewise.
17276         (__vdso_clock_getres): Likewise.
17277         (__vdso_get_tbfreq): Likewise.
17278         (__vdso_getcpu): Likewise.
17279         (__vdso_time): Likewise.
17280         (__vdso_sigtramp_rt64): Likewise.
17281         (__vdso_signtramp32): Likewise.
17282         (__vdso_sigtramp_rt32): Likewise.
17283         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
17284         Likewise.
17285         (__vdso_clock_gettime): Likewise.
17286         (__vdso_clock_getres): Likewise.
17287         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
17288         Likewise.
17289         (__vdso_clock_gettime): Likewise.
17290         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17291         Likewise.
17292         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
17293         macro.
17294         (INTERNAL_VSYSCALL): Likewise.
17295         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
17296         Remove macro.
17297         (INTERNAL_VSYSCALL): Likewise.
17298         (INTERNAL_VSYSCALL_NCS): Likewise.
17299         (INTERNAL_VSYSCALL_CALL): New macro.
17300         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17301         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
17302         Likewise.
17303         (INTERNAL_VSYSCALL): Likewise.
17304         (INTERNAL_VSYSCALL_NCS): Likewise.
17305         (INTERNAL_VSYSCALL_CALL): New macro.
17306         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17308         (INLINE_VSYSCALL): Remove macro.
17309         (INTERNAL_VSYSCALL): Remove macro.
17310         (INTERNAL_VSYSCALL_NCS): Remove macro.
17311         (INTERNAL_VSYSCALL_CALL): New macro.
17312         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
17313         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
17314         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17315         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
17316         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17318         (INLINE_VSYSCALL): Remove macro.
17319         (INTERNAL_VSYSCALL): Likewise.
17320         (INTERNAL_VSYSCALL_NCS): Likewise.
17321         (INTERNAL_VSYSCALL_CALL): New macro.
17322         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
17323         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
17324         PTR_DEMANGLE on vDSO pointer.
17325         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17326         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
17327         macro.
17328         (INTERNAL_SYSCALL): Likewise.
17329         (INTERNAL_VSYSCALL_NCS): Remove macro.
17330         (INTERNAL_VSYSCALL_CALL): New macro.
17331         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
17332         Remove macro.
17333         (INTERNAL_VSYSCALL): Likewise.
17334         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
17335         sysdep-vdso.h instead of libc-vdso.h.
17336         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
17337         definition.
17338         (INLINE_VSYSCALL): Likewise.
17339         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
17340         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
17341         definition.
17342         (INLINE_VSYSCALL): Likewise.
17343         (INTERNAL_VSYSCALL): Likewise.
17344         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17345         * sysdeps/unix/sysv/linux/timespec_get.c
17346         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17347         (timespec_get): Use ANSI prototype.
17348         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
17349         and definition for Linux.
17351 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17353         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
17354         * include/libc-symbols.h: libmvec_hidden_* macro series added.
17356 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17358         [BZ #2981]
17359         [BZ #18410]
17360         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
17361         for missing DT_PLTRELSZ.
17363 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
17365         Remove obsolete aliases that broke 'locale -a'
17366         [BZ #18412]
17367         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
17368         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
17369         breaking some applications that use 'locale -a' output.
17370         Change the encoding of this file from Latin-1 to ASCII to avoid
17371         other potential problems with people grepping this file.
17373 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17375         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
17376         -fasynchronous-unwind-tables.
17377         (CFLAGS-sendto.c): Likewise.
17378         (CFLAGS-sendmsg.c): Likewise.
17379         (CFLAGS-connect.c): Likewise.
17380         (CFLAGS-recvmsg.c): Likewise.
17381         (CFLAGS-recvfrom.c): Likewise.
17382         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
17383         (SOCKETCALL): New macro: non-cancellable socketcall.
17384         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
17385         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
17386         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
17387         * sysdeps/unix/sysv/linux/accept.c: New file.
17388         * sysdeps/unix/sysv/linux/bind.c: Likewise.
17389         * sysdeps/unix/sysv/linux/connect.c: Likewise.
17390         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
17391         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
17392         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
17393         * sysdeps/unix/sysv/linux/listen.c: Likewise.
17394         * sysdeps/unix/sysv/linux/recv.c: Likewise.
17395         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
17396         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17397         * sysdeps/unix/sysv/linux/send.c: Likewise.
17398         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17399         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
17400         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
17401         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
17402         * sysdeps/unix/sysv/linux/socket.c: Likewise.
17403         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
17404         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
17405         prototype.
17406         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
17407         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17408         instead of __internal_xxx function.
17409         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
17410         prototype.
17411         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
17412         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17413         instead of __internal_xxx function.
17414         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
17415         prototype.
17416         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
17417         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17418         instead of __internal_xxx function.
17419         * sysdeps/unix/sysv/linux/accept.S: Remove file.
17420         * sysdeps/unix/sysv/linux/bind.S: Likewise.
17421         * sysdeps/unix/sysv/linux/connect.S: Likewise.
17422         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
17423         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
17424         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
17425         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
17426         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
17427         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
17428         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
17429         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
17430         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17431         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
17432         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
17433         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
17434         * sysdeps/unix/sysv/linux/listen.S: Likewise.
17435         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
17436         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
17437         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
17438         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
17439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
17440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
17441         * sysdeps/unix/sysv/linux/recv.S: Likewise.
17442         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
17443         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
17444         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
17445         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17446         * sysdeps/unix/sysv/linux/send.S: Likewise.
17447         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
17448         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
17449         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
17450         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
17451         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
17452         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
17453         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
17454         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
17455         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
17456         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
17457         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
17458         socketcall is implemented in GLIBC.
17460 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17462         * soft-fp/fmadf4.c: Include <libc-internal.h>.
17463         (__fma): Ignore uninitialized warnings around packing.
17464         * soft-fp/fmasf4.c: Include <libc-internal.h>.
17465         (__fmaf): Ignore uninitialized warnings around packing.
17466         * soft-fp/fmatf4.c: Include <libc-internal.h>.
17467         (__fmal): Ignore uninitialized warnings around packing.
17469         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
17470         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17471         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
17472         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17474         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
17475         switch statement into default case.
17476         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
17478         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
17479         a conditional in forcing "inexact".
17480         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17481         Likewise.
17483 2015-05-22  Roland McGrath  <roland@hack.frob.com>
17485         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17486         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
17487         for each INTERNAL_SYSCALL use.
17489 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17491         [BZ #438]
17492         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
17493         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
17494         variable.
17496         [BZ #18444]
17497         * string/basename.c (basename): Rename to __basename and define as
17498         weak alias of __basename.  Use libc_hidden_weak.
17499         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
17500         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
17501         __basename instead of basename.
17502         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
17503         Remove variable.
17504         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17506 2015-05-18  Florian Weimer  <fweimer@redhat.com>
17508         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
17509         (_IO_JUMPS_FILE_plus): New.
17510         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
17511         _IO_CAST_FIELD_ACCESS.
17512         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
17513         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
17514         * libio/freopen.c (freopen): Likewise.
17515         * libio/freopen64.c (freopen64): Likewise.
17516         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
17517         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
17518         * libio/iofwide.c (_IO_fwide): Likewise.
17519         * libio/memstream.c (open_memstream): Likewise.
17520         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17521         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17522         * libio/oldiopopen.c (_IO_old_popen): Likewise.
17524 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
17526         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
17527         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
17528         NADJ.
17529         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
17530         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
17531         NADJ.
17532         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
17533         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
17534         NADJ.
17536         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
17537         (p == 4) case.
17539         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
17540         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
17541         Remove variable.
17542         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17543         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17544         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17546 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17548         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
17549         Adjust jump table label generation macros.
17551 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17553         * stdio-common/vfprintf.c (vfprintf): Move local variables
17554         args_malloced, specs, specs_malloced, and the code after
17555         do_positional to the printf_positional function.
17556         (printf_positional): New function.
17558 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17560         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
17561         function.
17562         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
17563         STEP4_TABLE, process_arg): Move macro definitions
17564         out of the vfprintf function.  (Cosmetic change only.)
17566 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
17568         * benchtests/Makefile (stdio-common-bench): Define.
17569         (benchset): Add stdio-common-bench.
17570         * sprintf-inputs: New file.
17571         * sprintf-source.c: New file.
17573 2015-05-21  Andreas Schwab  <schwab@suse.de>
17575         [BZ #13028]
17576         [BZ #17053]
17577         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
17578         of struct __res_state.
17579         * resolv/res_send.c (__libc_res_nsend): Likewise.
17580         (get_nsaddr): New function.
17581         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
17582         statp directly.
17584 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
17586         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
17587         -D_POSIX_C_SOURCE=199506L.
17589         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
17591         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
17592         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
17593         Do not mention otherwise.
17594         [POSIX] (_XOPEN_VERSION): Do not expect.
17595         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
17596         [POSIX] (_POSIX2_C_BIND): Likewise.
17597         [POSIX] (_POSIX2_VERSION): Likewise.
17598         [POSIX] (_XOPEN_XPG2): Likewise.
17599         [POSIX] (_XOPEN_XPG3): Likewise.
17600         [POSIX] (_XOPEN_XPG4): Likewise.
17601         [POSIX] (_XOPEN_UNIX): Likewise.
17602         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
17603         [POSIX] (_POSIX_BARRIERS): Likewise.
17604         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
17605         [POSIX] (_POSIX_CPUTIME): Likewise.
17606         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
17607         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
17608         [POSIX] (_POSIX_SHELL): Likewise.
17609         [POSIX] (_POSIX_SPAWN): Likewise.
17610         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
17611         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
17612         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
17613         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
17614         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
17615         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
17616         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
17617         [POSIX] (_XBS5_LP64_OFF64): Likewise.
17618         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
17619         [POSIX] (_POSIX_TIMEOUTS): Likewise.
17620         [POSIX] (_POSIX2_PBS): Likewise.
17621         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
17622         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
17623         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
17624         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
17625         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
17626         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
17627         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
17628         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
17629         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
17630         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
17631         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
17632         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
17633         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
17634         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
17635         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
17636         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
17637         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
17638         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
17639         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
17640         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
17641         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
17642         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
17643         [POSIX] (_SC_2_C_BIND): Likewise.
17644         [POSIX] (_SC_2_C_VERSION): Likewise.
17645         [POSIX] (_SC_2_PBS): Likewise.
17646         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
17647         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
17648         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
17649         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
17650         [POSIX] (_SC_2_PBS_TRACK): Likewise.
17651         [POSIX] (_SC_ATEXIT_MAX): Likewise.
17652         [POSIX] (_SC_BARRIERS): Likewise.
17653         [POSIX] (_SC_BASE): Likewise.
17654         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
17655         [POSIX] (_SC_DEVICE_IO): Likewise.
17656         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
17657         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
17658         [POSIX] (_SC_FD_MGMT): Likewise.
17659         [POSIX] (_SC_FIFO): Likewise.
17660         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
17661         [POSIX] (_SC_FILE_LOCKING): Likewise.
17662         [POSIX] (_SC_FILE_SYSTEM): Likewise.
17663         [POSIX] (_SC_IOV_MAX): Likewise.
17664         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
17665         [POSIX] (_SC_NETWORKING): Likewise.
17666         [POSIX] (_SC_PAGE_SIZE): Likewise.
17667         [POSIX] (_SC_PASS_MAX): Likewise.
17668         [POSIX] (_SC_PIPE): Likewise.
17669         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
17670         [POSIX] (_SC_REGEXP): Likewise.
17671         [POSIX] (_SC_SHELL): Likewise.
17672         [POSIX] (_SC_SIGNALS): Likewise.
17673         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
17674         [POSIX] (_SC_SPIN_LOCKS): Likewise.
17675         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
17676         [POSIX] (_SC_USER_GROUPS): Likewise.
17677         [POSIX] (_SC_USER_GROUPS_R): Likewise.
17678         [POSIX] (_SC_STREAMS): Likewise.
17679         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
17680         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
17681         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
17682         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
17683         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
17684         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
17685         [POSIX] (_PC_FILESIZEBITS): Likewise.
17686         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
17687         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
17688         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
17689         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
17690         [POSIX] (uid_t): Likewise.
17691         [POSIX] (gid_t): Likewise.
17692         [POSIX] (off_t): Likewise.
17693         [POSIX] (pid_t): Likewise.
17694         [POSIX] (cuserid): Allow.
17695         (_SC_2_CHAR_TERM): Require constant.
17696         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
17697         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
17698         variable.
17700 2015-05-20  Roland McGrath  <roland@hack.frob.com>
17702         * sysdeps/nacl/pthread-pids.h: New file.
17703         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
17704         (create_thread): Use __nacl_get_tid to initialize PD->tid.
17706         * nptl/pthread-pids.h: New file.
17707         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
17708         * nptl/nptl-init.c: Include <pthread-pids.h>.
17709         (__pthread_initialize_minimal_internal):
17710         Call __pthread_initialize_pids instead of set_tid_address syscall.
17712         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
17713         * sysdeps/posix/usleep.c: ... here.
17715 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17717         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
17718         call_pselect6 object.
17719         [$(subdir) = io]: Remove call_sync_file_range object.
17720         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
17721         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
17722         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
17723         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
17725 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
17727         * math/s_cproj.c: Add include "math_private.h".
17728         * math/s_cprojf.c: Likewise.
17729         * math/s_cprojl.c: Likewise.
17731 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
17733         [BZ #18244]
17734         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
17735         high mantissa bit when testing whether P is a NaN.
17736         * math/libm-test.inc (remainder_test_data): Add more tests.
17737         (remquo_test_data): Likewise.
17739         [BZ #18049]
17740         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
17741         below -32, return the argument, with underflow if subnormal.
17742         * math/auto-libm-test-in: Add more tests of atanh.
17743         * math/auto-libm-test-out: Regenerated.
17745 2015-05-19  Roland McGrath  <roland@hack.frob.com>
17747         [BZ #18434]
17748         * nptl/tst-sem15.c: New file.
17749         * nptl/Makefile (tests): Add it.
17750         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
17751         s/<</>>/ to fix typo in EOVERFLOW check.
17752         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
17754 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17756         * manual/strings.texi (envz_remove): Fix typo in safety
17757         annotations.
17759 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
17760             Steve Ellcey  <sellcey@imgtec.com>
17762         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
17763         in order to avoid strict alias warnings.
17764         (iruserok_af): Ditto for ra.
17766 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
17768         [BZ #17581]
17769         * malloc/hooks.c
17770         (magicbyte): Convert to a function and avoid returning 0x01.
17771         (mem2mem_check): Avoid using a length byte equal to the magic byte.
17772         (mem2chunk_check): Fix unsigned comparisons to zero.
17773         Hoist defs of sz and magic.
17775 2015-05-19  Richard Henderson  <rth@redhat.com>
17777         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
17779         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17781 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17783         [BZ #16159]
17784         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
17785         * malloc/arena.c (arena_lock): Check if arena is corrupt.
17786         (reused_arena): Find a non-corrupt arena.
17787         (heap_trim): Pass arena to unlink.
17788         * malloc/hooks.c (malloc_check_get_size): Pass arena to
17789         malloc_printerr.
17790         (top_check): Likewise.
17791         (free_check): Likewise.
17792         (realloc_check): Likewise.
17793         * malloc/malloc.c (malloc_printerr): Add arena argument.
17794         (unlink): Likewise.
17795         (munmap_chunk): Adjust.
17796         (ARENA_CORRUPTION_BIT): New macro.
17797         (arena_is_corrupt): Likewise.
17798         (set_arena_corrupt): Likewise.
17799         (sysmalloc): Use mmap if there are no usable arenas.
17800         (_int_malloc): Likewise.
17801         (__libc_malloc): Don't fail if arena_get returns NULL.
17802         (_mid_memalign): Likewise.
17803         (__libc_calloc): Likewise.
17804         (__libc_realloc): Adjust for additional argument to
17805         malloc_printerr.
17806         (_int_free): Likewise.
17807         (malloc_consolidate): Likewise.
17808         (_int_realloc): Likewise.
17809         (_int_memalign): Don't touch corrupt arenas.
17810         * malloc/tst-malloc-backtrace.c: New test case.
17812         * Makefile (summarize-tests): Fix return value on success.
17814         * manual/string.texi (Envz Functions): Add envz_remove.
17816 2015-05-18  Roland McGrath  <roland@hack.frob.com>
17818         * sysdeps/posix/opendir.c: Include <stdbool.h>.
17819         (invalid_name): New function, broken out of ...
17820         (__opendirat): ... here.  Call it.
17821         (need_isdir_precheck): New function, broken out of ...
17822         (__opendirat): ... here.  Call it.
17823         Use __fxstatat64, not __xstatat64.
17824         (opendir_oflags): New function, broken out of ...
17825         (__opendirat): ... here.  Call it.
17826         (opendir_tail): New function, broken out of ...
17827         (__opendirat): ... here.  Call it.
17828         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
17829         opendir_tail, rather than punting to __opendirat.
17830         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
17832 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17834         * .gitignore: Ignore generated *.pyc.
17836 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
17838         * include/stdio.h: Define __need_wint_t.
17839         * test-skeleton.c: Avoid `for' loop initial declaration.
17840         * nptl/tst-initializers1.c: Use test-skeleton.c.
17842 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17844         [BZ #18418]
17845         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
17847 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17849         [BZ #16352]
17850         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
17851         (__ieee754_atanh): Force underflow exception for results with
17852         small absolute value.
17853         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
17854         (__ieee754_atanhf): Force underflow exception for results with
17855         small absolute value.
17856         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
17857         (__ieee754_atanh): Force underflow exception for results with
17858         small absolute value.
17859         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
17860         (__ieee754_atanhf): Force underflow exception for results with
17861         small absolute value.
17862         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
17863         (__ieee754_atanhl): Force underflow exception for results with
17864         small absolute value.
17865         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
17866         (__ieee754_atanhl): Force underflow exception for results with
17867         small absolute value.
17868         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
17869         (__ieee754_atanhl): Force underflow exception for results with
17870         small absolute value.
17871         * math/auto-libm-test-in: Do not allow missing underflow
17872         exceptions from atanh.
17873         * math/auto-libm-test-out: Regenerated.
17875         [BZ #18221]
17876         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
17877         2**-28 as threshold for returning x or +/- 1/x.
17878         * math/auto-libm-test-in: Add more tests of tan.
17879         * math/auto-libm-test-out: Regenerated.
17881         [BZ #18220]
17882         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17883         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
17884         * math/auto-libm-test-in: Add another test of lgamma.
17885         * math/auto-libm-test-out: Regenerated.
17887 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
17889         * stdio-common/printf_fp.c (___printf_fp): Use abs.
17890         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
17891         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
17892         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
17893         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
17894         (ADD2A): Use fabs.  (SUB2A): Use fabs.
17895         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
17896         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
17897         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
17898         (log1): Use fabs.  (my_log2): Use fabs.
17899         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
17900         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
17901         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
17902         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
17903         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
17904         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
17905         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
17906         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
17907         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
17908         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
17909         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
17911 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17913         [BZ #18217]
17914         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
17915         as threshold for returning 1 - x.
17916         * math/auto-libm-test-in: Add more tests of erfc.
17917         * math/auto-libm-test-out: Regenerated.
17919 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
17921         [BZ #18196]
17922         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
17923         threshold for large arguments.
17924         * math/auto-libm-test-in: Add another test of atan.
17925         * math/auto-libm-test-out: Regenerated.
17927         [BZ #16339]
17928         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
17929         (__log1p): Force underflow exception for results with small
17930         absolute value.
17931         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
17932         (__log1pf): Force underflow exception for results with small
17933         absolute value.
17934         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
17935         (__log1p): Force underflow exception for results with small
17936         absolute value.
17937         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
17938         (__log1pf): Force underflow exception for results with small
17939         absolute value.
17940         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
17941         (__log1pl): Force underflow exception for results with small
17942         absolute value.
17943         * math/auto-libm-test-in: Do not allow missing underflow
17944         exceptions from log1p.
17945         * math/auto-libm-test-out: Regenerated.
17947 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
17948             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17950         [BZ #16704]
17951         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
17953 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
17955         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
17956         (libmvec): New variable.
17957         * configure.ac: Added option for mathvec build.
17958         * configure: Regenerated.
17959         * mathvec/Depend: New file.
17960         * mathvec/Makefile: New file.
17961         * shlib-versions: Added libmvec.
17962         * math/Makefile: Added rule for libm.so installation.
17964         * bits/math-vector.h: New file.
17965         * bits/libm-simd-decl-stubs.h: New header.
17966         * math/Makefile (headers): Added new header
17967         libm-simd-decl-stubs.h.
17968         * math/math.h (__MATHCALL_VEC): New macro.
17970         * math/gen-libm-have-vector-test.sh: Script generates series of macros
17971         for conditions in testing functions.
17972         * math/Makefile: Added call of libm-have-vector-test.sh.
17973         * math/libm-test.inc (HAVE_VECTOR): New macros.
17975         * math/libm-test.inc: START refactored.
17976         * math/test-double.c (TEST_MATHVEC): Add define.
17977         * math/test-float.c: Likewise.
17978         * math/test-idouble.c: Likewise.
17979         * math/test-ifloat.c: Likewise.
17980         * math/test-ildoubl.c: Likewise.
17981         * math/test-ldouble.c: Likewise.
17982         * sysdeps/generic/math-tests-arch.h
17983         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
17984         architecture check.
17986         * math/test-double.c (FUNC_TEST): New macro.
17987         * math/test-float.c: Likewise.
17988         * math/test-idouble.c: Likewise.
17989         * math/test-ifloat.c: Likewise.
17990         * math/test-ildoubl.c: Likewise.
17991         * math/test-ldouble.c: Likewise.
17992         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
17994 2015-05-13  Roland McGrath  <roland@hack.frob.com>
17996         * sysdeps/nacl/fdopendir.c: New file.
17998         * dirent/scandir-tail.c: New file.
17999         * dirent/scandir64-tail.c: New file.
18000         * dirent/Makefile (routines): Add them.
18001         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
18002         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
18003         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
18004         [!SCANDIR] (SCANDIR_TAIL): New macro.
18005         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
18006         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
18007         (SCANDIRAT): Macro removed.
18008         (SCANDIR_TAIL): New macro.
18009         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
18010         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
18011         (SCANDIRAT): Just call __opendirat and __scandir_tail.
18012         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
18013         (READDIR): Macro removed.
18014         (SCANDIR_TAIL): New macro.
18015         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
18016         (SCANDIR_TAIL): New macro.
18018         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
18019         * dirent/scandir-cancel.c: ... to this new file.
18020         * dirent/Makefile (routines): Add it.
18021         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
18022         * sysdeps/unix/sysv/linux/i386/scandir64.c
18023         (SKIP_SCANDIR_CANCEL): Macro removed.
18024         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
18026         * dirent/tst-scandir.c: New file.
18027         * dirent/tst-scandir64.c: New file.
18028         * dirent/Makefile (tests): Add them.
18030 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18032         [BZ #18409]
18033         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
18035 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18037         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
18038         list.
18040 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
18042         * benchtests/bench-strcoll.c: New benchmark.
18043         * benchtests/Makefile: Generate locales and run benchmark.
18044         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
18045         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18046         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
18047         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
18048         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
18049         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
18050         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
18051         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
18052         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
18053         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
18054         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
18055         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
18056         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
18057         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
18058         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
18059         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
18060         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
18061         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
18062         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
18063         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
18064         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
18065         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
18066         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
18067         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
18069 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
18071         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
18072         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18074 2015-05-12  Roland McGrath  <roland@hack.frob.com>
18076         * posix/uname-values.h: New file.
18077         * posix/uname.c: Include that instead of <config-name.h>.
18078         * sysdeps/nacl/uname-values.h: New file.
18079         * sysdeps/arm/nacl/uname-values.h: New file.
18081 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
18083         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
18084         splitting into fields.
18086 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
18088         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
18089         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
18090         * locale/localeinfo.h: Add enum collation_encoding_type.
18091         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
18092         * programs/ld-collate.c (collate_output): Add encoding type info.
18093         * string/strcoll_l.c (STRDIFF): New function.
18094         * (STRCOLL): Use STRDIFF to skip over equal prefix.
18095         * wcsmbs/wcscoll_l.c: Define STRDIFF.
18097 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
18099         [BZ #18397]
18100         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
18101         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
18102         <fpu_control.h> instead of <math/fpu_control.c>.
18103         * sysdeps/mips/mips32/fpu/Makefile: New file.
18105 2015-05-11  Andreas Schwab  <schwab@suse.de>
18107         [BZ #18007]
18108         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
18109         nss_endgrent.
18110         (_nss_compat_endgrent): Call nss_endgrent.
18111         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
18112         nss_endpwent.
18113         (_nss_compat_endpwent): Call nss_endpwent.
18114         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
18115         needent, call nss_setspent only if non-zero.
18116         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
18117         (internal_endspent): Don't call nss_endspent.
18118         (_nss_compat_endspent): Call nss_endspent.
18119         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
18120         Remove.  All uses removed.
18121         (internal_setent): Remove parameter stayopen, add parameter
18122         stream.  Use it instead of global variable.
18123         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
18124         (internal_endent, internal_getent): Add parameter stream.  Use it
18125         instead of global variable.
18126         (CONCAT(_nss_files_end,ENTNAME))
18127         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
18128         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
18129         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
18130         uses removed.
18131         (internal_setent, internal_endent): Add parameter stream.  Use it
18132         instead of global variable.
18133         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
18134         stream.
18135         (get_next_alias): Add parameter stream.
18136         (_nss_files_getaliasent_r): Pass global stream.
18137         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
18138         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
18139         (_nss_files_gethostbyname4_r): Pass local stream to
18140         internal_setent, internal_getent and internal_endent.  Remove
18141         locking.
18143 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18145         * tst-strfmon1.c (tests): Update expected currency symbol.
18147 2015-05-08  Roland McGrath  <roland@hack.frob.com>
18149         * sysdeps/nacl/gethostname.c: New file.
18151 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
18153         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
18154         and sinh.
18155         * math/auto-libm-test-out: Regenerated.
18156         * sysdeps/i386/fpu/libm-test-ulps: Update.
18157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18159 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
18161         [BZ #18125]
18162         * stdlib/tst-setcontext3.c: New file.
18163         * stdlib/tst-setcontext3.sh: New file.
18164         * stdlib/Makefile (tests): Add tst-setcontext3.
18165         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
18166         to verify test program created output file.
18167         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
18168         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
18169         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
18170         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
18172 2015-05-06  Roland McGrath  <roland@hack.frob.com>
18174         [BZ #18383]
18175         * elf/tst-tlsalign.c: New file.
18176         * elf/tst-tlsalign-static.c: New file.
18177         * elf/tst-tlsalign-lib.c: New file.
18178         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
18179         (tests-static): Add tst-tlsalign-static.
18180         (modules-names): Add tst-tlsalign-lib.
18181         (test-xfail-tst-tlsalign): New variable.
18182         (test-xfail-tst-tlsalign-static): New variable.
18184         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
18185         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
18187 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
18189         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
18190         csqrt, erfc, sin and sincos.
18191         * math/auto-libm-test-out: Regenerated.
18192         * sysdeps/i386/fpu/libm-test-ulps: Update.
18193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18195 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18197         * sysdeps/aarch64/libm-test-ulps: Update.
18199 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
18201         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
18202         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
18203         * math/auto-libm-test-out: Regenerated.
18204         * sysdeps/i386/fpu/libm-test-ulps: Update.
18205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18207 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18209         [BZ #18265]
18210         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
18211         (wcsncpy): Likewise.
18213 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18215         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18216         Assume __ASSUME_FALLOCATE is always true.
18217         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18218         (__posix_fallocate64_l64): Likweise.
18219         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
18220         (posix_fallocate): Likewise.
18221         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
18222         (__posix_fallocate64_l64): Likewise.
18223         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18224         [!__ASSUME_FALLOCATE]: Add comment.
18226 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18228         * sysdeps/unix/sysv/linux/i386/Makefile
18229         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
18230         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
18231         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
18232         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18233         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18234         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
18235         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
18237 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
18239         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
18240         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
18241         tgamma.
18242         * math/auto-libm-test-out: Regenerated.
18243         * sysdeps/i386/fpu/libm-test-ulps: Update.
18244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18246 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18248         * math/auto-libm-test-in: Add more tests of tgamma.
18249         * math/auto-libm-test-out: Regenerated.
18250         * sysdeps/i386/fpu/libm-test-ulps: Update.
18251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18253         * math/auto-libm-test-in: Add more tests of tanh.
18254         * math/auto-libm-test-out: Regenerated.
18255         * sysdeps/i386/fpu/libm-test-ulps: Update.
18256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18258         * math/auto-libm-test-in: Add more tests of tan.
18259         * math/auto-libm-test-out: Regenerated.
18260         * sysdeps/i386/fpu/libm-test-ulps: Update.
18261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18263         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
18264         * math/auto-libm-test-out: Regenerated.
18265         * sysdeps/i386/fpu/libm-test-ulps: Update.
18266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18268         * math/auto-libm-test-in: Add another test of pow.
18269         * math/auto-libm-test-out: Regenerated.
18270         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18272         * math/auto-libm-test-in: Add more tests of lgamma.
18273         * math/auto-libm-test-out: Regenerated.
18274         * sysdeps/i386/fpu/libm-test-ulps: Update.
18275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18277         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
18278         log1p.
18279         * math/auto-libm-test-out: Regenerated.
18280         * sysdeps/i386/fpu/libm-test-ulps: Update.
18281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18283 2015-05-01  Mark Wielaard  <mjw@redhat.com>
18285         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
18286         Elf64_Chdr structs and ELFCOMPRESS constants.
18288 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18290         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
18291         expm1.
18292         * math/auto-libm-test-out: Regenerated.
18293         * sysdeps/i386/fpu/libm-test-ulps: Update.
18294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18296         * math/auto-libm-test-in: Add more tests of erf and erfc.
18297         * math/auto-libm-test-out: Regenerated.
18298         * sysdeps/i386/fpu/libm-test-ulps: Update.
18299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18301 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18303         * config.h.in (HAVE_AARCH64_BE): Add.
18305 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
18307         * math/auto-libm-test-in: Add more tests of csqrt.
18308         * math/auto-libm-test-out: Regenerated.
18309         * sysdeps/i386/fpu/libm-test-ulps: Update.
18310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18312         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18313         * math/auto-libm-test-out: Regenerated.
18314         * sysdeps/i386/fpu/libm-test-ulps: Update.
18315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18317         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
18319 2015-04-29  Roland McGrath  <roland@hack.frob.com>
18321         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
18322         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
18324         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
18325         (euidaccess, eaccess): Define as weak aliases.
18327         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
18328         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
18329         but __suseconds_t is often 'long int' so some sources assume that
18330         type is being used (e.g. they use %ld to print tv_usec).
18332 2015-04-29  Florian Weimer  <fweimer@redhat.com>
18334         [BZ #18007]
18335         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
18336         (CVE-2014-8121)
18337         * nss/tst-nss-getpwent.c: New file.
18338         * nss/Makefile (tests): Add new test.
18340 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
18342         [BZ #18346]
18343         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
18344         exponents less than 48 as cases where high part of mantissa needs
18345         examining to determine whether argument is integral.
18346         * math/libm-test.inc (round_test_data): Add more tests.
18348 2015-04-28  Mark Wielaard  <mjw@redhat.com>
18350         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
18352 2015-04-27  David S. Miller  <davem@davemloft.net>
18354         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
18355         __tls_get_addr.
18356         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18358 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
18360         [BZ#18333]
18361         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
18363 2015-04-27  Florian Weimer  <fweimer@redhat.com>
18365         [BZ#18333]
18366         * time/tzset.c (parse_tzname): Return error on memory allocation
18367         failure.
18368         * test-skeleton.c (struct temp_name_list): Change type of name
18369         member to non-const.
18370         (add_temp_file): Create a copy of the file name.
18371         (delete_temp_files): Deallocate memory.
18372         (create_temp_file): Add comment.
18374 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18376         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
18377         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
18379 2015-04-24  Roland McGrath  <roland@hack.frob.com>
18381         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
18382         * sysdeps/arm/configure: Regenerated.
18384 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18386         [BZ #17715]
18387         * time/tzfile.c (__tzfile_read): Check for large values of
18388         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
18389         * time/tzset.c (__tzstring_len): New function, based on the old
18390         __tzstring function.
18391         (__tzstring): Call __tzstring_len.
18392         (parse_tzname): New helper function extracted from
18393         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
18394         the input string.
18395         (parse_offset): New helper function extracted from
18396         __tzset_parse_tz.  Replace switch with fallthrough with
18397         initialization before sscanf.
18398         (parse_rule): Likewise.
18399         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
18400         new-style function definition.
18401         * timezone/Makefile (tests): Add tst-tzset.
18402         (tst-tzset.out): Dependencies on time zone files.
18403         (tst-tzset-ENV): Set TZDIR.
18404         (testdata/XT%): Copy crafted time zone files.
18405         * timezone/README: Mention crafted time zone files.
18406         * timezone/testdata/XT1, timezone/testdata/XT2,
18407         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
18408         files.
18409         * timezone/tst-tzset.c: New test.
18411 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18413         * Makeconfig (+gccwarn): Remove -Winline.
18415 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18417         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
18419 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18421         * NEWS: Mention sysconf() cache information support for s390.
18422         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
18424 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
18426         * math/k_casinh.c (__kernel_casinh): Use __copysign.
18427         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
18428         (__nearbyint): Likewise.
18429         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
18430         (copysignl): Likewise.
18432 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
18434         [BZ #18287]
18435         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
18436         based on padding.  (CVE-2015-1781)
18438 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18440         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
18441         libc-vdso.h.
18442         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
18443         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
18444         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
18445         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18446         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18447         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
18448         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
18449         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18450         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18451         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
18452         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18453         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18454         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18455         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
18456         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18457         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
18458         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
18459         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
18460         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
18461         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
18462         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
18463         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
18464         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
18466 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
18468         * stdlib/setenv.c (__add_to_environ):
18469         Dump core quickly if setenv (..., NULL, ...) is called.
18470         This time, do it the right way, and pacify GCC with a pragma.
18472 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18474         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
18475         IMAP->l_prev cannot be null, and #if out the code for the contrary
18476         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
18477         believe that NS (&_dl_ns[NSID]) could point outside the array.
18479         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
18480         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
18481         before using NSID as an index.
18483 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
18485         [BZ #17825]
18486         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
18487         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
18488         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18490 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18492         Add preliminary port to Google Native Client on ARM.
18493         * abi-tags (.*-.*-nacl.*): New entry.
18494         * sysdeps/arm/nacl: New directory.
18495         * sysdeps/nacl: New directory.
18497 2015-04-16  David S. Miller  <davem@davemloft.net>
18499         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
18500         lowlevellock-futex.h
18502 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
18504         * sysdeps/tile/configure.ac: New file.
18505         * sysdeps/tile/configure: Regenerated.
18507 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18509         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
18510         conditionals for weak_alias and libc_hidden_weak.
18511         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
18512         libc_hidden_weak and weak_alias.
18513         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
18514         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
18515         and weak_alias for static one.
18517 2015-04-15  David S. Miller  <davem@davemloft.net>
18519         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18521 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18523         [BZ #18206]
18524         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
18525           Use signed comparision instead of substraction to avoid
18526           overflow bug.
18527         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
18528           Take the sign of ret.
18529         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
18530           Do not expect precise return values. Only the sign matters.
18531         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
18532         * wcsmbs/test-wcsncmp.c: New File.
18533         * string/test-strncmp.c: Add wcsncmp support.
18535 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18537         [BZ #6792]
18538         * math/w_log1p.c: New file.
18539         * math/w_log1pf.c: Likewise.
18540         * math/w_log1pl.c: Likewise.
18541         * math/Makefile (libm-calls): Add w_log1p.
18542         * math/s_log1pl.c (log1pl): Remove weak_alias.
18543         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
18544         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
18545         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
18546         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
18547         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
18548         [NO_LONG_DOUBLE] (log1pl): Likewise.
18549         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
18550         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
18551         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
18552         (log1p): Remove long_double_symbol.
18553         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
18554         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
18555         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
18556         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
18557         remove weak_alias for corresponding log1p function.
18558         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
18559         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
18560         * sysdeps/ia64/fpu/w_log1p.c: New file.
18561         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
18562         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
18563         * math/libm-test.inc (log1p_test_data): Add errno expectations.
18565 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
18567         [BZ #18247]
18568         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
18569         decimal exponent by 1.
18570         * stdlib/tst-strtod-round-data: Add more tests.
18571         * stdlib/tst-strtod-round.c (tests): Regenerated.
18573 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
18575         * math/auto-libm-test-in: Add more tests of clog and clog10.
18576         * math/auto-libm-test-out: Regenerated.
18577         * sysdeps/i386/fpu/libm-test-ulps: Update.
18578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18580 2015-04-09  Roland McGrath  <roland@hack.frob.com>
18582         * Makeconfig (module-cppflags): Exclude all .v.i files.
18583         (skip-module-cppflags): Variable removed.
18585         * configure.ac (libc_config_ok): Initialize before reading
18586         preconfigure scripts, not after.
18587         * configure: Regenerated.
18589         * test-skeleton.c (TIMEOUT): Move #define to top level.
18590         (main): Grok environment variable TEST_DIRECT.  If set, print
18591         test expectation details into that file and then behave as if
18592         given --direct.
18594 2015-04-09  Florian Weimer  <fweimer@redhat.com>
18596         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
18597         warning on 32-bit.
18599 2015-04-08  David S. Miller  <davem@davemloft.net>
18601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18603 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18605         * math/auto-libm-test-in: Add more tests of atanh.
18606         * math/auto-libm-test-out: Regenerated.
18607         * sysdeps/i386/fpu/libm-test-ulps: Update.
18608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18610         * math/auto-libm-test-in: Add more tests of atan.
18611         * math/auto-libm-test-out: Regenerated.
18612         * sysdeps/i386/fpu/libm-test-ulps: Update.
18613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18615 2015-04-08  Florian Weimer  <fweimer@redhat.com>
18617         * elf/pldd.c (main): Rewrite to use struct
18618         scratch_buffer instead of extend_alloca.
18619         * elf/pldd-xx.c (find_maps): Likewise.
18620         * grp/initgroups.c: Include <scratch_buffer.h> instead of
18621         <alloca.h>.
18622         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
18623         scratch_buffer instead of extend_alloca.
18624         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
18625         grp/compat-initgroups.c.
18626         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
18627         Rewrite to use struct scratch_buffer instead of extend_alloca.
18628         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
18629         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18631 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18633         * math/auto-libm-test-in: Add more tests of cbrt.
18634         * math/auto-libm-test-out: Regenerated.
18635         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18637         * math/auto-libm-test-in: Add more tests of cabs.
18638         * math/auto-libm-test-out: Regenerated.
18639         * sysdeps/i386/fpu/libm-test-ulps: Update.
18640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18642         [BZ #18210]
18643         [BZ #18211]
18644         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
18645         (__ieee754_atan2): Set FE_TONEAREST mode for internal
18646         computations.
18647         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
18648         clog10.
18649         * math/auto-libm-test-out: Regenerated.
18650         * sysdeps/i386/fpu/libm-test-ulps: Update.
18651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18653         [BZ #18197]
18654         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
18655         (atan): Set FE_TONEAREST mode for internal computations.
18656         * math/auto-libm-test-in: Add more tests of atan.
18657         * math/auto-libm-test-out: Regenerated.
18659 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
18661         [BZ #17930]
18662         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
18664 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18666         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
18668 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18670         * include/scratch_buffer.h: New file.
18671         * malloc/scratch_buffer_grow.c: Likewise.
18672         * malloc/scratch_buffer_grow_preserve.c: Likewise.
18673         * malloc/scratch_buffer_set_array_size.c: Likewise.
18674         * malloc/tst-scratch_buffer.c: Likewise.
18675         * malloc/Makefile (routines): Add scratch_buffer_grow.
18676         (tests): Add test case.
18677         * malloc/Versions (GLIBC_PRIVATE): Export
18678         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
18679         __libc_scratch_buffer_set_array_size.
18681 2015-04-06  Richard Henderson  <rth@redhat.com>
18683         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
18684         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18686         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
18687         unsigned int before printing.
18689 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18691         [BZ #17596]
18692         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
18693         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18695 2015-04-02  Florian Weimer  <fweimer@redhat.com>
18697         * include/libc-internal.h (libc_max_align_t): Define.
18699 2015-04-02  Andreas Schwab  <schwab@suse.de>
18701         [BZ #16850]
18702         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
18704 2015-04-02  Mel Gorman  <mgorman@suse.de>
18706         [BZ #17195]
18707         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
18708         as well as the main arena.
18710 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18712         [BZ #18185]
18713         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
18714         sharing L2 cache to 2 for Silvermont/Knights Landing.
18716 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18718         [BZ #17711]
18719         * config.make.in (have-protected-data): New.
18720         * configure.ac: Check linker support for protected data symbol.
18721         * configure: Regenerated.
18722         * elf/Makefile (modules-names): Add tst-protected1moda and
18723         tst-protected1modb if $(have-protected-data) is yes.
18724         (tests): Add tst-protected1a and tst-protected1b if
18725         $(have-protected-data) is yes.
18726         ($(objpfx)tst-protected1a): New.
18727         ($(objpfx)tst-protected1b): Likewise.
18728         (tst-protected1modb.so-no-z-defs): Likewise.
18729         * elf/tst-protected1a.c: New file.
18730         * elf/tst-protected1b.c: Likewise.
18731         * elf/tst-protected1mod.h: Likewise.
18732         * elf/tst-protected1moda.c: Likewise.
18733         * elf/tst-protected1modb.c: Likewise.
18735 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18737         [BZ #17711]
18738         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
18739         indicates it is called from do_lookup_x on relocation against
18740         protected data, skip the data definion in the executable from
18741         copy reloc.
18742         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
18743         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
18744         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
18745         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
18746         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
18747         otherwise to 0.
18748         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18749         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
18750         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
18751         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18752         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
18753         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
18755 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
18757         * sysdeps/nptl/pthread.h: Remove duplicate definition of
18758         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
18760 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
18762         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
18763         THREAD_SETMEM_NC.
18764         * sysdeps/x86_64/nptl/tls.h: Ditto.
18766 2015-03-27  Roland McGrath  <roland@hack.frob.com>
18768         * dlfcn/tststatic.c (main): Converted to ...
18769         (do_test): ... this.
18770         (TEST_FUNCTION): New macro.
18771         Include test-skeleton.c.
18773 2015-03-26  Alan Modra  <amodra@gmail.com>
18775         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
18776         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
18777         zero for undefined weak.
18778         (elf_machine_plt_conflict): Similarly.
18780 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18782         * math/auto-libm-test-in: Add more tests of acosh, asinh and
18783         atanh.
18784         * math/auto-libm-test-out: Regenerated.
18785         * sysdeps/i386/fpu/libm-test-ulps: Update.
18786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18788         * math/auto-libm-test-in: Add another test of asin.
18789         * math/auto-libm-test-out: Regenerated.
18790         * sysdeps/i386/fpu/libm-test-ulps: Update.
18791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18793         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
18794         Remove macro.
18795         (LLL_EBX_REG): Likewise.
18796         (LLL_ENTER_KERNEL): Likewise.
18798         * math/auto-libm-test-in: Add more tests of asin.
18799         * math/auto-libm-test-out: Regenerated.
18800         * sysdeps/i386/fpu/libm-test-ulps: Update.
18801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18803         [BZ #18138]
18804         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
18805         libc_do_syscall_args): New structure.
18806         (INTERNAL_SYSCALL_MAIN_0): New macro.
18807         (INTERNAL_SYSCALL_MAIN_1): Likewise.
18808         (INTERNAL_SYSCALL_MAIN_2): Likewise.
18809         (INTERNAL_SYSCALL_MAIN_3): Likewise.
18810         (INTERNAL_SYSCALL_MAIN_4): Likewise.
18811         (INTERNAL_SYSCALL_MAIN_5): Likewise.
18812         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
18813         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
18814         Replace conditional definitions by conditional definitions of ....
18815         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
18816         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
18817         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
18818         (libpthread-sysdep_routines): Add libc-do-syscall.
18819         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
18820         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
18821         to __NR_futex not 240.
18823 2015-03-25  Alan Modra  <amodra@gmail.com>
18825         * NEWS: Advertise TLS optimization.
18826         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
18827         (DT_PPC_NUM): Increment.
18828         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
18829         (CHECK_STATIC_TLS): Use here.
18830         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
18831         TLS descriptors.
18832         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18833         * sysdeps/powerpc/dl-tls.c: New file.
18834         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
18835         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
18836         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
18837         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
18838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
18839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18842 2015-03-25  Alan Modra  <amodra@gmail.com>
18844         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
18845         for overlapping .opd entries" to "support...".
18846         * sysdeps/powerpc/powerpc64/configure: Regenerate
18848 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18850         * math/auto-libm-test-in: Add more tests of acos.
18851         * math/auto-libm-test-out: Regenerated.
18852         * sysdeps/i386/fpu/libm-test-ulps: Update.
18853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18855         * math/auto-libm-test-in: Add more tests of expm1.
18856         * math/auto-libm-test-out: Regenerated.
18857         * sysdeps/i386/fpu/libm-test-ulps: Update.
18858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18860 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
18862         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18863         * math/auto-libm-test-out: Regenerated.
18864         * sysdeps/i386/fpu/libm-test-ulps: Update.
18865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18867         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18870         * math/auto-libm-test-in: Add more tests of log2.
18871         * math/auto-libm-test-out: Regenerated.
18872         * sysdeps/i386/fpu/libm-test-ulps: Update.
18873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18875 2015-03-23  Roland McGrath  <roland@hack.frob.com>
18877         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
18878         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
18879         _IO_IS_APPENDING bit in READ_WRITE instead.
18881 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18883         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18884         (__determine_cpumask_size): Replace extend_alloca with a
18885         variable-length array.  Do not treat res == 0 as an error.
18887 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18889         [BZ #18100]
18890         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
18891         and integer overflow.
18892         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
18893         (main): Add integer overflow tests.
18894         * manual/pattern.texi (Calling Wordexp): Document additional use
18895         for WRDE_SYNTAX.
18897 2015-03-23  Alan Modra  <amodra@gmail.com>
18899         * config.h.in: Remove HAVE_ASM_PPC_REL16.
18900         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
18901         and false branch of conditional.
18902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18903         Likewise.
18905 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
18907         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
18908         libc-modules.h
18909         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
18910         unused declaration of _hurd_intr_rpc_msg_in_trap.
18911         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
18912         defined instead of whether it is non-zero.
18913         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
18914         input constraint instead of both input and output constraint.  Use ecx
18915         clobber instead of %ecx.
18916         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
18917         mutex_unlock): Use a statement expression instead of an expression list.
18918         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
18919         type to vm_size_t instead of vm_address_t.
18920         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
18921         defined instead of whether it is non-zero.
18922         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
18923         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
18924         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
18925         comparisons with mapaddr.
18926         * nscd/nscd-client.h: Include <time.h>.
18927         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
18928         9th parameter to __vm_region instead of int.
18929         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
18930         * scripts/check-local-headers.sh (exclude): Add device/,
18931         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
18932         cthreads.h.
18934 2015-03-19  Roland McGrath  <roland@hack.frob.com>
18936         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
18937         to account for alignment padding.
18938         * sysdeps/arm/memmove.S: Likewise.
18940 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
18942         * sysdeps/unix/sysv/linux/generic/README: New file.
18944 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
18946         [BZ #18138]
18947         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
18948         (futex_abstimed_wait)
18949         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
18950         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
18951         of lll_futex_timed_wait.
18953 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
18955         [BZ #17542]
18956         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
18958 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
18960         [BZ #17090]
18961         [BZ #17620]
18962         [BZ #17621]
18963         [BZ #17628]
18964         * NEWS: Update.
18965         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
18966         entries with Static TLS too.  Skip entries past the end of the
18967         allocated DTV, from Alan Modra.
18968         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
18969         Static TLS DTV entry set up from...
18970         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
18971         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
18972         * nptl/allocatestack.c (init_one_static_tls): ... and here...
18973         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
18974         for Static TLS.
18975         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
18976         that the slot we find is associated with the given map before
18977         using its generation count.
18978         * nptl_db/db_info.c: Include ldsodefs.h.
18979         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
18980         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
18981         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
18982         (link_map::l_tls_offset): New struct field.
18983         (dtv_t::counter): Likewise.
18984         (rtld_global): New struct.
18985         (_rtld_global): New rtld variable.
18986         (dl_tls_dtv_slotinfo_list): New rtld global field.
18987         (dtv_slotinfo_list): New struct.
18988         (dtv_slotinfo): Likewise.
18989         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
18990         (td_lookup): Rename to...
18991         (td_mod_lookup): ... this.  Use new mod parameter instead of
18992         LIBPTHREAD_SO.
18993         * nptl_db/td_thr_tlsbase.c: Include link.h.
18994         (dtv_slotinfo_list, dtv_slotinfo): New functions.
18995         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
18996         addresses even if the DTV is out of date or missing them.
18997         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
18998         index zero-length arrays.
18999         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
19000         (td_lookup): Make it a macro implemented in terms of...
19001         (td_mod_lookup): ... this declaration.
19002         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
19003         (DB_MAIN_VARIABLE): Likewise.
19005 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
19007         [BZ #18134]
19008         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19010 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
19012         * stdlib/setenv.c (__add_to_environ): Revert previous change.
19014 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
19016         [BZ #18128]
19017         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
19018         (atomic_add, atomic_increment_and_test)
19019         (atomic_decrement_and_test): Fix 64-bit arithmetic.
19021 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
19023         * stdlib/setenv.c (__add_to_environ):
19024         Dump core quickly if setenv (..., NULL, ...) is called.
19026 2015-03-13  Roland McGrath  <roland@hack.frob.com>
19028         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
19029         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
19030         all the necessary asm magic in one place.
19031         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
19032         using those.
19034 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
19036         [BZ #14906]
19037         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
19038         traced file mtime. Use consistent log message.
19039         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
19040         (register_traced_file): Call install_watches. Always set mtime.
19041         (invalidate_cache): Iterate over all trace files. Call install_watches.
19042         (inotify_check_files): Don't inline. Handle watching parent
19043         directories and configuration file movement in and out.
19044         (handle_inotify_events): New function.
19045         (main_loop_poll): Call handle_inotify_events.
19046         (main_loop_epoll): Likewise.
19047         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
19048         (struct traced_file): Use array of inotify fds. Add parent directory,
19049         and basename.
19050         (struct database_dyn): Remove unused file_mtime.
19051         (init_traced_file): New inline function.
19052         (define_traced_file): New macro.
19053         * nss/nss_db/db-init.c: Use define_traced_file.
19054         (_nss_db_init): Use init_traced_file.
19055         * nss/nss_files/files-init.c: Use define_traced_file.
19056         (_nss_files_init): Use init_traced_file.
19058 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
19060         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
19061         [_LIBC]: Do not include <stdlib.h>.
19062         [!_LIBC] (abort): Remove declaration.
19063         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
19064         _FP_STATIC_ASSERT instead of conditionally calling abort.
19065         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
19066         (_FP_EXTEND_CNAN): Likewise.
19067         (FP_TRUNC): Likewise.
19068         (__FP_CLZ): Likewise.
19069         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
19071 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
19073         * manual/string.texi (XPG basename): Fix prototype.
19075 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19077         [BZ #18080]
19078         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
19079         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19080         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
19081         (__setcontext): Likewise.
19082         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
19083         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19084         Call rt_sigprocmask syscall one time to set new signal mask
19085         and retrieve the current signal mask instead of two calls.
19086         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
19087         (__swapcontext): Likewise.
19088         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
19089         * stdlib/tst-setcontext2.c: New file.
19091 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19093         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19095 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
19097         [BZ #18093]
19098         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
19099         the wrong size.
19101 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19103         [BZ #18043]
19104         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
19106 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19108         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
19109         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
19110         Remove define.
19111         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
19112         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
19113         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
19114         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
19115         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
19116         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
19117         define.
19118         * nptl_db/td_symbol_list.c (td_lookup): Remove
19119         HAVE_ASM_GLOBAL_DOT_NAME code.
19120         * sysdeps/powerpc/powerpc64/configure.ac: Remove
19121         HAVE_ASM_GLOBAL_DOT_NAME check.
19122         * sysdeps/powerpc/powerpc64/configure: Regenerate.
19123         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
19124         (DOT_LABEL): Remove define.
19125         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
19126         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
19127         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
19128         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
19129         (__TLS_GET_ADDR): Likewise.
19130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
19131         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
19133 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
19135         [BZ #18111]
19136         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
19137         (_FPU_SETCW): Initialize cw from fpsr before storing.
19138         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
19139         (fesetexceptflag): Rewrite using fpu_control.h.
19140         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
19142 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
19144         [BZ #18110]
19145         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
19146         asms.
19147         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19149 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
19151         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
19152         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
19153         abort.
19154         (_FP_FMA): Likewise.
19155         (_FP_DIV): Likewise.
19157 2015-03-10  Roland McGrath  <roland@hack.frob.com>
19159         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
19160         with 0 in that case.
19161         * Makefile (summarize-tests): New canned sequence, factored out of
19162         commands for targets tests and xtests.  Display summary lines that
19163         don't start with PASS: or XFAIL: rather than ones that do start with
19164         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
19165         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
19166         do start with ERROR: or FAIL:.
19167         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
19168         (except for [$(build-shared) = yes]).
19169         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
19170         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
19171         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
19172         * nptl/Makefile: Revert 2015-03-04 changes.
19173         [$(CXX) empty] (tests-unsupported): New variable.
19174         * debug/Makefile: Likewise.
19176         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
19177         gnulib file.  Replace __attribute with __attribute__ throughout.
19179 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
19181         * sysdeps/hppa/fpu/libm-test-ulps: Update.
19183 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19185         [BZ #18104]
19186         * math/auto-libm-test-in: Add another test of pow.
19187         * math/auto-libm-test-out: Regenerated.
19189 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19191         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
19192         $(config-cflags-nofma).
19194 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19196         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
19197         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
19198         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
19199         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
19200         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
19201         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
19202         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
19203         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
19204         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
19205         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
19206         Add comment on closing #endif.
19208 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19210         * posix/wordexp.c (CHAR_IN_SET): New macro.
19211         (parse_param): Use it.
19213 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19215         * sysdeps/powerpc/fpu/libm-test-ulps: update.
19217 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19219         [BZ #18043]
19220         * posix/wordexp.c (parse_param): Fix buffer overflow.
19221         * posix/wordexp-test.c (test_case): Add test case.
19223 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19225         [BZ #18042]
19226         * posix/wordexp.c (parse_backtick): Fix off-by-one.
19227         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
19229 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19231         [BZ #18043]
19232         * posix/wordexp-test.c (test_case): Add test for BZ #18043
19233         (do_bz18043): Delete.
19234         (at_page_end): New.
19235         (testit): Refactor to have words at the edge of unreadable page.
19237 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19239         [BZ #16734]
19240         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
19241         Cleanup read-only streams as well.
19242         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
19244 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19246         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
19247         <bits/libc-lockP.h>
19249 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
19251         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
19252         on [__KERNEL__].
19253         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
19254         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
19255         * soft-fp/op-common.h (_FP_DECL): Likewise.
19257 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19259         * elf/ifuncdep2.c (global): Replace
19260         __attribute__((visibility("protected"))) with
19261         asm (".protected global").
19262         * elf/ifuncmod1.c (global): Likewise.
19263         * elf/ifuncmod5.c (global): Likewise.
19265 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
19267         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
19268         <asm/sfp-machine.h> instead of <sfp-machine.h>.
19270 2015-03-06  Roland McGrath  <roland@hack.frob.com>
19272         * manual/install.texi (Configuring and compiling):
19273         Document test-wrapper-env-only.
19274         * INSTALL: Regenerated.
19276 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19278         [BZ #18043]
19279         * posix/wordexp.c (parse_param): Fix buffer overflow.
19280         * posix/wordexp-test.c (do_bz18043): Add test case.
19282 2015-03-06  Vincent Bernat  <vincent@bernat.im>
19284         * time/tst-strptime2.c (do_test): Ensure failing tests are
19285         reported correctly.
19286         * time/tst-strptime3.c (do_test): Likewise.
19288 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
19290         Fix aio_error thread-safety.
19291         * sysdeps/pthread/aio_error.c: New file
19292         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
19293         synchronization.
19295 2015-03-06  Florian Weimer  <fweimer@redhat.com>
19297         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
19298         (group_number, vfprintf): Use it.
19299         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
19300         (JUMP, REF): Use it.
19301         (WORK_BUFFER_SIZE): New enum constant.
19302         (process_arg, vfprintf): Use it.
19304 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
19306         * manual/errno.texi (Error Messages): Complete example function
19307         by adding missing #define.
19308         (program_invocation_name): Add statement indicating GNU
19309         extension and reference which header file declares the variable.
19310         (program_invocation_short_name): Likewise.
19312 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
19314         * manual/errno.texi (Error Messages): Delete strerror ISO C89
19315         compatibility note.
19317 2015-03-05  Roland McGrath  <roland@hack.frob.com>
19319         * Makeconfig (test-wrapper-env-only): New variable.
19320         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
19321         then use that with $(test-wrapper-env-only) rather than using
19322         $(test-wrapper-env) $(run-program-env) $($*-ENV).
19324 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19326         [BZ #18082]
19327         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
19328         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
19329         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
19330         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
19331         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
19332         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
19333         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
19334         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
19335         Likewise.
19336         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
19337         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
19338         Likewise.
19339         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
19340         Likewise.
19341         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
19342         Likewise.
19343         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
19344         Likewise.
19345         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
19346         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
19347         Likewise.
19348         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
19349         Likewise.
19350         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
19351         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
19353 2015-03-04  Roland McGrath  <roland@hack.frob.com>
19355         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
19356         (ETH_ALEN): New macro.
19357         (struct ether_addr): Use it for length of ether_addr_octet.
19359         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
19360         (setdb): Don't call __nss_configure_lookup for "rpc".
19361         (do_test): Don't call test_rpc.
19362         (output_rpcent, test_rpc): Functions moved ...
19363         * sunrpc/test-rpcent.c: ... to this new file.
19364         * sunrpc/Makefile (tests): Add it.
19366         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
19367         __xpg_sigpause.
19368         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
19369         * nptl/tst-signal6.c: Likewise.
19370         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
19371         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
19373         * configure.ac (libc_cv_cxx_link_ok): New check.
19374         Reset CXX to empty if it fails to link.
19375         * configure: Regenerated.
19376         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
19377         bug-atexit3-lib only if $(CXX) is nonempty.
19378         * nptl/Makefile (tests): Likewise for tst-cancel24.
19379         (tests, tests-static): Likewise for tst-cancel24-static.
19380         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
19381         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
19382         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
19383         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
19385 2015-03-04  Andreas Schwab  <schwab@suse.de>
19387         [BZ #17631]
19388         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
19389         for non-GCC compilers.
19390         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19391         Likewise.
19393 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19395         [BZ #17776]
19396         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
19397         integer before bitwise and assembly operations.
19398         (feclearexcept): Likewise.
19399         * math/test-fenvinline.c: New file.
19400         * math/Makefile: Add test-fenvinline test.
19402 2015-03-03  Alan Modra  <amodra@gmail.com>
19404         [BZ #16512]
19405         * scripts/localplt.awk: Strip off symbol version.
19406         * NEWS: Mention bug fix.
19408 2015-03-02  Roland McGrath  <roland@hack.frob.com>
19410         * sysdeps/pthread/timer_routines.c
19411         (timer_free_list, thread_free_list, thread_active_list): Make static.
19413 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
19415         [BZ #17779]
19416         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19417         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19418         Undefine.
19419         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19420         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19421         Likewise.
19422         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19423         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19424         Likewise.
19426 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
19428         [BZ #18036]
19429         * posix/fnmatch_loop.c (END): Detect invalid pattern.
19430         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
19432 2015-03-02  Andreas Schwab  <schwab@suse.de>
19434         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
19435         variable name.
19437 2015-03-02  Florian Weimer  <fweimer@redhat.com>
19439         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
19440         Return error status.
19442 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
19444         [BZ #15969]
19445         * locale/findlocale.c (_nl_find_locale): Introduce const
19446         version of loc_name and drop unsafe type casts.
19448 2015-02-27  Roland McGrath  <roland@hack.frob.com>
19450         * dlfcn/tststatic2.c (main): Converted to ...
19451         (do_test): ... this.
19452         (TEST_FUNCTION): New macro.
19453         Include test-skeleton.c.
19455 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
19457         [BZ #17711]
19458         * elf/Makefile (tests): Add vismain only if PIE is enabled.
19459         (tests-pie): Add vismain.
19460         (CFLAGS-vismain.c): New.
19461         * elf/vismain.c: Add comments for PIE requirement.
19463 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19465         [BZ #18046]
19466         [BZ #18047]
19467         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
19468         0x1p-56L as threshold for just returning the argument.
19469         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
19470         0x1p-32L as threshold for just returning the argument.
19471         * math/auto-libm-test-in: Add more tests of atanh.
19472         * math/auto-libm-test-out: Regenerated.
19473         * sysdeps/i386/fpu/libm-test-ulps: Update.
19474         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
19476 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19478         * string/bcopy.c (bcopy): Call memmove for performance.
19480 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19482         * string/bzero.c (__bzero): Call memset for performance.
19484 2015-02-27  John David Anglin  <dave.anglin@bell.net>
19486         [BZ #18068]
19487         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
19488         to 00100000.
19490 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19492         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
19494 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19496         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
19497         (__kernel_standard): Use CSTR macro when setting exc.name.
19498         * sysdeps/ieee754/Makefile [$(subdir) = math]
19499         (CFLAGS-k_standard.c): Remove variable.
19501         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
19502         setting p and q from "else if" to "else".
19503         (qzero): Likewise.
19504         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
19505         (qone): Likewise.
19506         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
19507         (qzerof): Likewise.
19508         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
19509         (qonef): Likewise.
19510         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
19511         (qzero): Likewise.
19512         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
19513         (qone): Likewise.
19515         [BZ #18038]
19516         [BZ #18039]
19517         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
19518         return pi/2 for arguments below 0x1p-113L.
19519         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
19520         return pi/2 for arguments below 0x1p-106L.
19521         * math/auto-libm-test-in: Add more tests of acos.
19522         * math/auto-libm-test-out: Regenerated.
19524         [BZ #16351]
19525         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
19526         (MO): New macro.
19527         (__ieee754_asin): Force underflow exception for results with small
19528         absolute value.
19529         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
19530         (MO): New macro.
19531         (__ieee754_asinf): Force underflow exception for results with
19532         small absolute value.
19533         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
19534         (__ieee754_asin): Force underflow exception for results with small
19535         absolute value.
19536         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
19537         (__ieee754_asinf): Force underflow exception for results with
19538         small absolute value.
19539         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
19540         (__ieee754_asinl): Force underflow exception for results with
19541         small absolute value.
19542         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
19543         (__ieee754_asinl): Force underflow exception for results with
19544         small absolute value.
19545         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
19546         (__ieee754_asinl): Force underflow exception for results with
19547         small absolute value.
19548         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19549         Include <math.h>.
19550         * math/auto-libm-test-in: Do not mark underflow exceptions as
19551         possibly missing for bug 16351.
19552         * math/auto-libm-test-out: Regenerated.
19554         [BZ #18030]
19555         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
19556         of power of 2 down when low part has opposite sign.
19557         * math/libm-test.inc (logb_test_data): Add more tests.
19559 2015-02-26  Andreas Schwab  <schwab@suse.de>
19561         [BZ #18032]
19562         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
19563         over collating symbol inside a bracket expression.  Minor cleanup.
19564         * posix/tst-fnmatch3.c (do_test): Add test case.
19566 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19568         [BZ #18029]
19569         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
19570         Adjust exponent of power of 2 down when low part has opposite
19571         sign.
19572         * math/libm-test.inc (ilogb_test_data): Add more tests.
19574 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
19576         [BZ #15969]
19577         * locale/findlocale.c (_nl_find_locale): Fix constness error in
19578         the previous change.
19580         [BZ #15969]
19581         * locale/findlocale.c (_nl_find_locale): Retry archive search
19582         after alias expansion.
19584 2015-02-25  Roland McGrath  <roland@hack.frob.com>
19586         * iconv/tst-iconv3.c (main): Converted to ...
19587         (do_test): ... this.
19588         (TEST_FUNCTION): New macro.
19589         Include test-skeleton.c.
19591         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
19592         (convert): Make function static.
19593         (test_unalign): Likewise.  Add const to argument pointee types.
19594         (main): Replace with static function do_test.
19595         Print "Succeeded." only if RET is zero.
19596         (TEST_FUNCTION): New macro.
19597         Include test-skeleton.c.
19599         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
19600         returns a null pointer.
19602 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19604         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
19605         to __memcpy_ppc only for static builds.
19607 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
19609         [BZ #18020]
19610         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
19611         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
19612         * math/auto-libm-test-in: Add more tests of asinh.
19613         * math/auto-libm-test-out: Regenerated.
19614         * sysdeps/i386/fpu/libm-test-ulps: Update.
19615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19617 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
19619         [BZ #15850]
19620         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
19621         and ip6_mtuinfo definitions here.
19622         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
19623         in this define too.  Update comment.
19625 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
19627         * elf/sprof.c (load_shobj): Tweak error message to match others.
19629 2015-02-24  Kevin Easton  <kevin@guarana.org>
19631         [BZ #16145] (partial fix)
19632         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
19633         to reduce lock contention.
19635 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
19637         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
19638         (struct timex): Update time comment.
19639         (ADJ_SETOFFSET): Define.
19641 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19643         [BZ #18019]
19644         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19645         2**56 not 2**28 as threshold for log (2x) formula.
19646         * math/auto-libm-test-in: Add more tests of acosh.
19647         * math/auto-libm-test-out: Regenerated.
19648         * sysdeps/i386/fpu/libm-test-ulps: Update.
19649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19651 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19653         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
19654         parenthesis around the buf assignment.
19655         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
19657 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19659         [BZ #16783]
19660         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
19661         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
19662         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
19663         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19664         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19665         * math/libm-test.inc (scalb_test_data): Add more tests.
19667 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19669         [BZ #17916]
19670         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
19671         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
19673 2015-02-24  Eric Rannaud  <e@nanocritical.com>
19675         [BZ #17523]
19676         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
19677         * io/bits/fcntl2.h (open): Use it.
19678         (openat): Likewise.
19679         * io/open.c (__libc_open): Likewise.
19680         * io/open64.c (__libc_open64): Likewise.
19681         * io/open64_2.c (__open64_2): Likewise.
19682         * io/open_2.c (__open_2): Likewise.
19683         * io/openat.c (__openat): Likewise.
19684         * io/openat64.c (__openat64): Likewise.
19685         * io/openat64_2.c (__openat64_2): Likewise.
19686         * io/openat_2.c (__openat_2): Likewise.
19687         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
19688         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
19689         * sysdeps/posix/open64.c (__libc_open64): Likewise.
19690         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19691         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19692         (__open_nocancel): Likewise.
19693         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19694         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19695         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
19697 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19699         [BZ #14841]
19700         * resolv/gethnamaddr.c (getanswer): Skip logging if
19701         RES_USE_DNSSEC is set.
19702         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19704 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19706         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
19708 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
19710         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19711         201304L, for Unicode 7.
19713 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
19715         [BZ #17836]
19716         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
19717         shared library.  Add gmon-start.os otherwise.
19718         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
19719         $(objpfx)gmon-start.os if builing shared library.
19720         ($(objpfx)g$(static-start-installed-name)): Likewise.
19722 2015-02-23  Andreas Schwab  <schwab@suse.de>
19724         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
19726 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19728         [BZ #17269]
19729         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
19730         (enlarge_userbuf): Likewise.
19732 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
19734         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
19735         * math/atest-exp.c (TIMEOUT): Adjust to 200.
19736         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
19737         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
19739 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
19741         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
19742         expression inside statement expression.
19744 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19746         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
19747         <sysdeps/nptl/lowlevellock.h> and remove macros and
19748         functions that are now defined there.
19749         (SYS_futex): Remove.
19750         (lll_compare_and_swap): Remove.
19751         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
19753 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
19755         [BZ #17999]
19756         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
19757         instead of scandirat.
19758         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
19759         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
19760         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
19761         __scandirat.
19762         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
19763         (__scandirat): Declare.  Use libc_hidden_proto.
19764         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
19765         Remove variable.
19766         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19768 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19770         [BZ #15319]
19771         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
19772         (MO): New macro.
19773         (__ieee754_atan2): For results with small absolute value, force
19774         underflow exception and remove excess range and precision from
19775         return value.
19776         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
19777         (MO): New macro.
19778         (__ieee754_atan2f): For results with small absolute value, force
19779         underflow exception and remove excess range and precision from
19780         return value.
19781         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
19782         (MO): New macro.
19783         (__atan): For results with small absolute value, force underflow
19784         exception and remove excess range and precision from return value.
19785         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
19786         (MO): New macro.
19787         (__atanf): For results with small absolute value, force underflow
19788         exception and remove excess range and precision from return value.
19789         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
19790         <math.h>.
19791         (__ieee754_atan2): Force underflow exception for results with
19792         small absolute value.
19793         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
19794         <math_private.h>.
19795         (atan): Force underflow exception for results with small absolute
19796         value.
19797         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
19798         (__atanf): Force underflow exception for results with small
19799         absolute value.
19800         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
19801         <math.h>.
19802         (__atanl): Force underflow exception for results with small
19803         absolute value.
19804         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
19805         (__atanl): Force underflow exception for results with small
19806         absolute value.
19807         * sysdeps/x86/fpu/bits/mathinline.h
19808         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
19809         (__ieee754_atan2): Only define inline for long double.
19810         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19811         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
19812         * math/auto-libm-test-in: Do not mark underflow exceptions as
19813         possibly missing for bug 15319.  Add more tests of atan2.
19814         * math/auto-libm-test-out: Regenerated.
19815         * math/libm-test.inc (casin_test_data): Do not mark underflow
19816         exceptions as possibly missing for bug 15319.
19817         (casinh_test_data): Likewise.
19818         * sysdeps/i386/fpu/libm-test-ulps: Update.
19820 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
19822         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
19823         * sysdeps/mips/bits/endian.h: Fix comments.
19825 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19827         [BZ #17996]
19828         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
19829         (hdestroy_r): Likewise.
19830         (hsearch_r): Likewise.
19831         (__hcreate_r): Declare and use libc_hidden_proto.
19832         (__hdestroy_r): Likewise.
19833         (__hsearch_r): Likewise.
19834         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
19835         (hcreate): Call __hcreate_r instead of hcreate_r.
19836         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
19837         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
19838         as weak alias of __hcreate_r.
19839         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
19840         __hdestroy_r.
19841         (hsearch_r): Rename to __hsearch_r and define as weak alias of
19842         __hsearch_r.
19843         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
19844         Remove variable.
19845         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19846         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19847         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19848         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19850 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19852         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
19853         arena_lock into a single arena_get.
19855 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
19857         * dl-reloc.c: Inlucde libc-internal.h.
19858         (_dl_try_allocate_static_tls): Call ALIGN_UP.
19859         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
19860         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
19861         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
19862         (grow_heap): Likewise.
19863         * malloc/malloc.c: Include libc-internal.h.
19864         (do_check_malloc): Call powerof2.
19865         (sysmalloc): Use pagesize. Call ALIGN_UP.
19866         (systrim): Use pagesize.
19867         (mremap_chunk): Use pagesize. Call ALIGN_UP.
19868         (__libc_valloc): Use pagesize.
19869         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
19871 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19873         [BZ #17991]
19874         * include/sys/resource.h (__getrlimit64): Declare.  Use
19875         libc_hidden_proto.
19876         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
19877         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
19878         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
19879         getrlimit64.
19880         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
19881         __getrlimit64.
19882         [!getrlimit64] (getrlimit64): Define as weak alias of
19883         __getrlimit64.  Use libc_hidden_weak.
19884         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
19885         using __getrlimit64 not __new_getrlimit64.
19886         (__GI_getrlimit64): Likewise.
19887         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
19888         Likewise.
19889         (__GI_getrlimit64): Likewise.
19890         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
19891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
19892         (getrlimit): Add __getrlimit64 alias.
19893         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
19894         Likewise.
19895         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
19896         Remove variable.
19897         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19898         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19900 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
19902         * libio/fileops.c: Add missing sys/mman.h
19903         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
19905 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19907         * manual/math.texi (Errors in Math Functions): Clarify goals
19908         regarding inexact and underflow exceptions.
19910 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19912         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
19913         * sysdeps/mips/memset.S: Ditto.
19915 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19917         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
19919 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19921         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
19922         (__v1longjmp): Remove versioned symbol.
19923         (__v1siglongjmp): Remove alias and versioned symbol.
19924         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
19925         (__v2siglongjmp): Likewise.
19927 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19929         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
19931 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
19933         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
19935 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19937         [BZ #17987]
19938         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
19939         zero result does not depend on the sign resulting from
19940         subtraction.
19941         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19942         Likewise.
19943         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19944         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19945         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19946         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19947         * math/libm-test.inc (remquo_test_data): Add more tests.
19949 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
19951         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
19952         Problem reported by J William Piggott.
19954 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19956         [BZ #17978]
19957         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
19958         products 4 * y and 2 * y where those would overflow.
19959         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19960         Likewise.
19961         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19962         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19963         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19964         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19965         * math/libm-test.inc (remquo_test_data): Add more tests.
19967         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
19969         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
19970         [defined _COMPILING_NEWLIB].
19971         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
19972         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
19974         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
19975         [!defined __mips_isa_rev || __mips_isa_rev < 6].
19977 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19979         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
19980         acquired.
19982 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
19984         [BZ #17792]
19985         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
19986         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
19987         HOST_STACK_END_ADDR): Likewise.
19989 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
19991         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
19992         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
19993         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
19995 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19997         * sysdeps/generic/c++-types.data: New file.
19998         * sysdeps/generic/ld.abilist: New file.
19999         * sysdeps/generic/libBrokenLocale.abilist: New file.
20000         * sysdeps/generic/libanl.abilist: New file.
20001         * sysdeps/generic/libc.abilist: New file.
20002         * sysdeps/generic/libcrypt.abilist: New file.
20003         * sysdeps/generic/libdl.abilist: New file.
20004         * sysdeps/generic/libm.abilist: New file.
20005         * sysdeps/generic/libpthread.abilist: New file.
20006         * sysdeps/generic/libresolv.abilist: New file.
20007         * sysdeps/generic/librt.abilist: New file.
20009 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20011         [BZ #17569]
20012         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20013         Compute absolute value of x as modified by fmod, not original
20014         value of x.
20015         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
20016         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
20017         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
20018         RUN_TEST_ffI_f1_mod8.
20019         (remquo_test_data): Add more tests.
20021 2015-02-13  Roland McGrath  <roland@hack.frob.com>
20023         * sysdeps/init_array/pt-crti.S: New file.
20025 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
20027         [BZ #17967]
20028         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
20029         __builtin_fmaf instead of relying on contraction of a * b + c.
20031 2015-02-12  J William Piggott  <elseifthen@gmx.com>
20033         [BZ #17969]
20034         * manual/time.texi: correct the zoneinfo path in the TZ Variable
20035         node.
20037 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20039         [BZ #17964]
20040         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
20041         __builtin_fma instead of relying on contraction of a * b + c.
20043 2015-02-12  Roland McGrath  <roland@hack.frob.com>
20045         * Makeconfig (ASFLAGS): Add -Werror=undef.
20046         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
20047         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
20048         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
20050         * Makeconfig (after-link): New variable.
20051         (+link-pie, +link-pie-tests): Use it.
20052         (+link-static, +link-static-tests): Likewise.
20053         (+link, +link-tests): Likewise.
20054         * Makerules (build-module, build-module-asneeded): Likewise.
20055         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
20056         Likewise.
20057         * elf/Makefile ($(objpfx)ld.so): Likewise.
20059 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
20061         [BZ #17965]
20062         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
20063         both struct timeval and struct timespec.
20065 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
20067         [BZ #16560]
20068         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20069         and redefine.
20070         (__ieee754_exp2l): Do not multiply small fractional parts by
20071         M_LN2l.
20072         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
20073         small argument.
20074         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20075         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20076         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
20077         * math/auto-libm-test-in: Add more tests of exp2.
20078         * math/auto-libm-test-out: Regenerated.
20080 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20082         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
20083         unaligned path.
20085 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20087         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
20088         little endian.
20090 2015-02-12  Andreas Schwab  <schwab@suse.de>
20092         [BZ #15790]
20093         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20094         Filter out elision flags from value returned in kind.
20095         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
20096         * nptl/tst-pthread-mutexattr.c: New file.
20098 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20100         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
20101         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
20102         into gnu-gnu, and update comment to refer to abi-tags.
20104 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
20106         [BZ #15467]
20107         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
20108         (__sincos): Set errno to EDOM for infinite argument.
20109         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
20110         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
20111         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
20112         (__sincosl): Set errno to EDOM for infinite argument.
20113         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
20114         (__sincosl): Set errno to EDOM for infinite argument.
20115         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
20116         (__sincosl): Set errno to EDOM for infinite argument.
20117         * math/libm-test.inc (sincos_test_data): Test errno setting.
20119 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
20121         * string/strxfrm_l.c: Remove #define STRCMP.
20122         * string/strcoll_l.c: Remove #define STRLEN.
20123         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
20124         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
20126 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
20128         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
20129         * sysdeps/mips/mips32/sfp-machine.h: ... here.
20130         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
20131         * sysdeps/mips/mips64/Makefile: ... here.
20132         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
20133         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
20134         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
20135         * sysdeps/mips/mips64/sfp-machine.h: ... here.
20136         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
20137         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
20138         * sysdeps/mips/mips64/n64/Implies: Likewise.
20140 2015-02-10  Roland McGrath  <roland@hack.frob.com>
20142         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
20143         <sys/time.h>, <string.h>, and <errno.h>.
20144         (dest_offset, dest_address, value, zero): Remove unused variables.
20145         (ldouble): Remove typedef.
20146         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
20147         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
20148         1).  Fix code style.
20149         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
20150         (check): Function removed.
20151         (CHECK): New macro.
20152         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
20153         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
20154         Don't call set_sigaction_FP and remove_sigaction_FP here.
20155         (ldouble_test): Just use 'long double' as macro argument, no need for
20156         the 'ldouble' typedef.
20157         (do_test): Set up SIGFPE handler at start, using plain signal rather
20158         than sigaction.  Fix code style.
20160 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
20162         [BZ #17949]
20163         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
20164         jump label.
20166 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20168         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
20169         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20171         * sysdeps/powerpc/configure.ac: Remove file.
20172         * sysdeps/powerpc/configure: Likewise.
20174         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20175         [sysdep_routines]: Remove wordcopy-power6 object.
20176         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20177         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
20178         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
20179         (__memmove_ppc32): Likewise.
20180         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
20181         file.
20182         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
20183         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
20184         Remove preprocessor.
20186         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20187         [sysdep_routines]: Remove wide chars objects.
20188         [wcsmbs]: New rule for wide char objects.
20190         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20191         Remove wordcopy-power6 obejct.
20192         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
20193         Use local call for wordcopy and memcpy symbols.
20194         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
20195         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
20196         implementation for loader.
20197         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
20199         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20200         Remove wordcopy-power7 object.
20201         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
20202         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
20203         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
20204         (_wordcopy_fwd_dest_aligned): Likewise.
20205         (_wordcopy_bwd_aligned): Likewise.
20206         (_wordcopy_bwd_dest_aligned): Likewise.
20208         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
20209         Rewrite to call __memmove_ppc instead of include default
20210         implementation.
20212         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20213         Remove wide chars objects.
20214         [wcsmbs]: New rule for wide char objects.
20216 2015-02-09  Andreas Schwab  <schwab@suse.de>
20218         [BZ #17912]
20219         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20220         in terms of __O_DIRECTORY.
20222 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20224         * time/getdate.c: Include <stdbool.h>.
20225         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
20226         call PTR_MANGLE.
20227         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
20228         PTR_DEMANGLE.
20230 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
20232         Add ersatz _Static_assert on older C hosts
20233         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
20234         pre-C11 C platform that is not known to support _Static_assert.
20236 2015-02-07  Richard Braun  <rbraun@sceen.net>
20238         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
20239         sigstate.
20240         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
20242 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20244         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
20245         priority against unexistent AIO_PRIO_DELTA_MAX.
20246         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
20247         instead of int.
20248         * misc/fchflags.c (fchflags): Likewise.
20249         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
20250         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
20251         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
20252         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
20253         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
20254         Declare macros.
20255         [__USE_MISC] (chflags, fchflags): Declare functions.
20256         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
20257         EINVAL when nfds is greater than FD_SETSIZE.
20258         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
20259         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
20260         45.
20261         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
20262         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
20263         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
20264         MACH_RCV_TIMED_OUT.
20265         * hurd/hurd/signal.h (_hurd_self_sigstate,
20266         _hurd_critical_section_lock, _hurd_critical_section_unlock):
20267         Explicit casts from void *.
20268         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
20269         * abi-tags: Rename gnu-gnu os into gnu.
20271         [BZ #4719]
20272         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
20273         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
20274         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
20275         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
20276         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
20277         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
20279         [BZ #17944]
20280         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
20281         duplicates ADDR->sun_path with sockaddr LEN limitation.
20282         * sysdeps/mach/hurd/connect.c: Include <string.h>
20283         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
20284         * sysdeps/mach/hurd/sendmsg.c: Likewise.
20285         * sysdeps/mach/hurd/sendto.c: Likewise.
20286         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
20287         implementing it by hand.
20289 2015-02-06  Roland McGrath  <roland@hack.frob.com>
20291         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
20292         Use sfi_breg on ldr.
20293         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
20294         Likewise.
20296         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
20297         it's defined.
20298         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
20299         Test SIGSETXID only if it's defined.
20301         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
20303         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
20304         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
20306         * nptl/tst-align2.c: Moved ...
20307         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
20308         * nptl/Makefile (tests): Remove tst-align2.
20309         * sysdeps/unix/sysv/linux/Makefile
20310         [$(subdir) = nptl] (tests): Add tst-align-clone.
20311         * nptl/tst-getpid1.c: Moved ...
20312         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
20313         * nptl/tst-getpid2.c: Moved ...
20314         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
20315         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
20316         * sysdeps/unix/sysv/linux/Makefile
20317         [$(subdir) = nptl] (tests): ... here.
20318         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
20319         * sysdeps/unix/sysv/linux/Makefile
20320         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
20322         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
20323         Drop trailing \n from perror argument.  Use return rather than exit.
20325         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
20326         on [SA_SIGINFO].
20327         * nptl/tst-cancel21.c (do_test): Likewise.
20328         * debug/tst-backtrace6.c: Include <signal.h> first thing.
20329         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
20330         [!SA_SIGINFO]: Make it a stub test.
20332         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
20333         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
20335         * posix/tst-getlogin.c: Move to ...
20336         * login/tst-getlogin.c: ... here.
20337         * posix/Makefile (tests): Move tst-getlogin to ...
20338         * login/Makefile (tests): ... here.
20340         * libio/tst-atime.c (do_test): Move local variables SV and E
20341         inside [ST_NOATIME] conditional.
20343         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
20345         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
20347         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
20348         (wait_code): New function replaces macro.
20349         Call nanosleep rather than syscall.
20351         * nptl/pt-system.c: Rewritten.  Put everything under
20352         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20353         Use IFUNC to redirect when possible.
20355         * nptl/pt-longjmp.c: Rewritten.  Put everything under
20356         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20357         Use IFUNC to redirect when possible.
20359         * nptl/pt-fork.c: Rewritten.  Put everything under
20360         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20361         Use IFUNC to redirect when possible.
20362         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
20364         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
20365         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
20366         unconditionally nowadays.  This included the only reference to
20367         __vdso_clock_gettime that appears outside libc proper.
20368         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
20369         Remove version set (containing only __vdso_clock_gettime).
20370         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20371         Add attribute_hidden.
20372         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20373         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
20374         libc_hidden_data_def.
20375         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20376         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20378         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
20379         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
20380         setrpcent, and getrpcport to ...
20381         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
20382         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
20383         getrpcbynumber_r, and getrpcent_r to ...
20384         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
20385         * inet/getrpcbyname.c: Moved ...
20386         * sunrpc/getrpcbyname.c: ... here.
20387         * inet/getrpcbyname_r.c: Moved ...
20388         * sunrpc/getrpcbyname_r.c: ... here.
20389         * inet/getrpcbynumber.c: Moved ...
20390         * sunrpc/getrpcbynumber.c: ... here.
20391         * inet/getrpcbynumber_r.c: Moved ...
20392         * sunrpc/getrpcbynumber_r.c: ... here.
20393         * inet/getrpcent.c: Moved ...
20394         * sunrpc/getrpcent.c: ... here.
20395         * inet/getrpcent_r.c: Moved ...
20396         * sunrpc/getrpcent_r.c: ... here.
20397         * inet/Makefile (routines): Move those to ...
20398         * sunrpc/Makefile (routines): ... here.
20399         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
20400         the $(subdirs) list.
20401         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
20402         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
20403         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
20404         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
20406         * elf/Makefile (routines): Include $(all-dl-routines), not just
20407         $(dl-routines).
20408         (rtld-routines): Likewise.  Use = rather than :=.
20409         * sysdeps/aarch64/Makefile [$(subdir) = elf]
20410         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
20411         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
20412         * sysdeps/arm/Makefile: Likewise.
20413         * sysdeps/i386/Makefile: Likewise.
20414         * sysdeps/x86_64/Makefile: Likewise.
20415         * sysdeps/hppa/Makefile [$(subdir) = elf]
20416         (sysdep_routines, sysdep-rtld-routines): Don't add
20417         $(sysdep-dl-routines) to these.
20418         * sysdeps/ia64/Makefile: Likewise.
20419         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
20420         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
20421         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
20422         Don't add dl-static to these; sysdep-dl-routines alone is enough.
20423         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
20424         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
20425         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
20426         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
20427         * sysdeps/powerpc/Makefile [$(subdir) = elf]
20428         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
20429         these; sysdep-dl-routines alone is enough.
20431 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
20433         [BZ #17932]
20434         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
20435         where multiplication results in zero and third argument is finite
20436         and nonzero.
20437         * math/auto-libm-test-in: Add more tests of fma.
20438         * math/auto-libm-test-out: Regenerated.
20440         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
20441         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
20442         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
20443         (_FP_CMP_EQ): Likewise.
20444         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
20446         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
20447         extra argument CHECK_NAN.  Redefine as wrapper around
20448         _FP_EXTEND_CNAN.
20450 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
20452         * version.h (RELEASE): Set to "stable".
20453         (VERSION): Set to "2.21"
20454         * include/features.h (__GLIBC_MINOR__): Set to 21.
20456         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
20458 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20459             Paul Eggert  <eggert@cs.ucla.edu>
20461         [BZ #16618]
20462         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
20463         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
20464         size in bytes. Store needed elements in wpmax. Use needed size
20465         in bytes for extend_alloca.
20467 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
20469         * manual/install.texi: Latest tested versions are GCC 4.9.2,
20470         binutls 2.25, and texinfo 5.2.
20471         * INSTALL: Regenerate.
20472         * sysdeps/nios2/configure: Regenerate.
20473         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
20474         * manual/contrib.texi: Update.
20475         * po/be.po: Update.
20476         * po/bg.po: Update.
20477         * po/ca.po: Update.
20478         * po/cs.po: Update.
20479         * po/da.po: Update.
20480         * po/de.po: Update.
20481         * po/el.po: Update.
20482         * po/eo.po: Update.
20483         * po/es.po: Update.
20484         * po/fi.po: Update.
20485         * po/fr.po: Update.
20486         * po/gl.po: Update.
20487         * po/hr.po: Update.
20488         * po/hu.po: Update.
20489         * po/ia.po: Update.
20490         * po/id.po: Update.
20491         * po/it.po: Update.
20492         * po/ja.po: Update.
20493         * po/ko.po: Update.
20494         * po/lt.po: Update.
20495         * po/nb.po: Update.
20496         * po/nl.po: Update.
20497         * po/pl.po: Update.
20498         * po/pt_BR.po: Update.
20499         * po/ru.po: Update.
20500         * po/rw.po: Update.
20501         * po/sk.po: Update.
20502         * po/sl.po: Update.
20503         * po/sv.po: Update.
20504         * po/tr.po: Update.
20505         * po/uk.po: Update.
20506         * po/vi.po: Update.
20507         * po/zh_CN.po: Update.
20508         * po/zh_TW.po: Update.
20510         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
20511         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
20512         * sysdeps/hppa/dl-irel.h: Remove #warning.
20513         * sysdeps/hppa/entry.h: Provide prototype for
20514         __canonicalize_funcptr_for_compare and cast argument.
20515         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
20516         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
20517         * sysdeps/hppa/sotruss-lib.c: New file.
20518         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
20519         (atomic_compare_and_exchange_val_acq): Use __typeof__.
20520         (atomic_compare_and_exchange_bool_acq): Likewise.
20521         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
20522         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
20524         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
20525         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
20526         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
20528 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
20530         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
20531         called function in non-PIC case.
20533 2015-01-31  David S. Miller  <davem@davemloft.net>
20535         * sysdeps/sparc/sparc32/bits/atomic.h
20536         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
20537         unlock not after it.
20538         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
20539         volatile register usage warnings from the compiler.
20541         * sysdeps/sparc/nptl/sem_init.c: Delete.
20542         * sysdeps/sparc/nptl/sem_post.c: Delete.
20543         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
20544         * sysdeps/sparc/nptl/sem_wait.c: Delete.
20545         * sysdeps/sparc/sparc32/sem_init.c: New file.
20546         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
20547         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
20548         padding explicitly initialized.
20549         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
20550         padding for in-semaphore spinlock.
20551         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
20552         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
20553         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
20554         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
20555         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
20556         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
20557         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
20558         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
20559         version.
20560         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
20561         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
20563 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
20565         [BZ #17801]
20566         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20567         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
20568         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
20569         New.
20570         (index_AVX_Fast_Unaligned_Load): Likewise.
20571         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
20572         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
20573         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
20574         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
20575         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
20576         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
20577         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
20578         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
20579         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
20581 2015-01-29  Andreas Schwab  <schwab@suse.de>
20583         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
20585 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
20587         [BZ #17892]
20588         * nscd/nscd_stat.c (send_stats): Initialize DATA.
20590 2015-01-28  Martin Sebor  <msebor@redhat.com>
20592         * math/README.libm-test: Clarify. Add "How to read the test output."
20594 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
20596         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
20597         Define to 0.
20599 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
20601         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
20602         (__HAVE_64B_ATOMICS): Define to 0.
20604 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20606         [BZ #17885]
20607         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
20608         value to set as new flag.
20610         [BZ #16576]
20611         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
20612         and use _ARCH_PPCSQ instead.
20613         (__ieee754_sqrt): Likewise.
20614         (__ieee754_sqrtf): Likewise.
20615         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
20616         _ARCH_PPCSQ is defined.
20617         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
20618         fsqrt instruction.
20619         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
20620         _ARCH_PPCSQ is defined.
20621         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
20622         fsqrts instruction.
20623         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
20625 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20627         * iconv/loop.c: Suppress array out of bound warning caused by GCC
20628         bug (GCC BZ #64739).
20630 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
20632         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
20633         Mark _retval as used.
20634         (lll_futex_wake_unlock): Likewise.
20635         (lll_futex_timed_wait_requeue_pi): Likewise.
20637         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20638         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
20639         register variables.
20641         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
20642         libm_hidden_def.
20644         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
20645         (__bswap_64): Mark as __always_inline.
20647 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
20649         [BZ #15378]
20650         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
20651         when none of the search directories exist.
20653 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20655         [BZ #17869]
20656         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
20657         power8 in .machine directive.
20659         [BZ #17868]
20660         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
20661         set dependency from opd value.
20663 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20665         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20666         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
20667         architecture.
20669 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20671         [BZ #17870]
20672         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
20673         with uint64_t.
20674         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
20675         (uint64_t) 1.
20676         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
20677         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
20678         Replace 1UL with (uint64_t) 1.
20679         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
20680         int with uint64_t.
20682 2015-01-23  Roland McGrath  <roland@hack.frob.com>
20684         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
20685         (if_freenameindex): Likewise.
20687         * resource/getrlimit64.c: Add missing libc_hidden_def.
20689 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
20691         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
20692         __label__.
20693         (_FP_FMA): Likewise.
20694         (_FP_TO_INT_ROUND): Likewise.
20695         (_FP_FROM_INT): Likewise.
20697 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20699         [BZ #16418]
20700         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
20701         Make code racy and cancel safe.
20703 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
20705         * sysdeps/arm/unwind-resume.h: Fix copyright year.
20706         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
20707         attribution.
20709         * pwd/tst-getpw.c: Rewrite.
20711         [BZ #17702]
20712         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
20713         (modules-names): Add moddummy1 and moddummy2.
20714         ($(objpfx)tst-rec-dlopen): Define.
20715         * dlfcn/moddummy1.c: New file.
20716         * dlfcn/moddummy2.c: New file.
20717         * dlfcn/tst-rec-dlopen.c: New file.
20718         * elf/dl-cache.c (_dl_load_cache_lookup):
20719         Return char*. Copy result with alloca/strcpy/strdup.
20720         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
20721         returns char*. Free cached. If not saving realname
20722         free cached.
20723         * elf/dl-open.c (dl_open_worker): Do not assert that
20724         _r_debug->r_state is RT_CONSISTENT.
20725         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
20726         returns char*.
20728 2015-01-21  Torvald Riegel  <triegel@redhat.com>
20729             Carlos O'Donell  <carlos@redhat.com>
20731         [BZ #12674]
20732         * nptl/sem_waitcommon.c: New file.
20733         * nptl/sem_wait.c: Include sem_waitcommon.c.
20734         (__sem_wait_cleanup, do_futex_wait): Remove.
20735         (__new_sem_wait): Adapt.
20736         (__new_sem_trywait): New function.
20737         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
20738         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
20739         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
20740         (sem_timedwait): Adapt.
20741         * nptl/sem_post.c (__new_sem_post): Adapt.
20742         (futex_wake): New function.
20743         (__old_sem_post): Add release MO fence.
20744         * nptl/sem_open.c (sem_open): Adapt.
20745         * nptl/sem_init.c (__new_sem_init): Adapt.
20746         (futex_private_if_supported): New function.
20747         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
20748         (__old_sem_getvalue): Add using previous code.
20749         * sysdeps/nptl/internaltypes.h: Adapt.
20750         * nptl/tst-sem13.c (do_test): Adapt.
20751         * nptl/tst-sem11.c (main): Adapt.
20752         * nptl/sem_trywait.c: Remove.
20753         * nptl/DESIGN-sem.txt: Remove.
20754         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
20755         (gen-as-const-headers): Remove structsem.sym.
20756         * nptl/structsem.sym: Remove.
20757         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
20758         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
20759         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
20760         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
20761         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
20762         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
20763         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
20764         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
20765         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
20766         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
20767         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
20768         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
20769         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
20770         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
20771         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
20772         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
20773         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
20774         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
20775         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
20776         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
20777         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
20778         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
20780 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
20782         * INSTALL: Regenerated.
20784         * po/libc.pot: Regenerated.
20786 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
20787             Sandra Loosemore  <sandra@codesourcery.com>
20788             Andrew Jenner  <andrew@codesourcery.com>
20789             Joseph Myers  <joseph@codesourcery.com>
20790             Nathan Sidwell  <nathan@codesourcery.com>
20792         * NEWS: Mention new Nios II port.
20793         * sysdeps/nios2/Implies: New file.
20794         * sysdeps/nios2/Makefile: New file.
20795         * sysdeps/nios2/Subdirs: New file.
20796         * sysdeps/nios2/Versions: New file.
20797         * sysdeps/nios2/__longjmp.S: New file.
20798         * sysdeps/nios2/abort-instr.h: New file.
20799         * sysdeps/nios2/backtrace.c: New file.
20800         * sysdeps/nios2/bits/endian.h: New file.
20801         * sysdeps/nios2/bits/fenv.h: New file.
20802         * sysdeps/nios2/bits/link.h: New file.
20803         * sysdeps/nios2/bits/setjmp.h: New file.
20804         * sysdeps/nios2/bsd-_setjmp.S: New file.
20805         * sysdeps/nios2/bsd-setjmp.S: New file.
20806         * sysdeps/nios2/configure: New generated file.
20807         * sysdeps/nios2/configure.ac: New file.
20808         * sysdeps/nios2/crti.S: New file.
20809         * sysdeps/nios2/crtn.S: New file.
20810         * sysdeps/nios2/dl-init.c: New file.
20811         * sysdeps/nios2/dl-machine.h: New file.
20812         * sysdeps/nios2/dl-sysdep.h: New file.
20813         * sysdeps/nios2/dl-tls.h: New file.
20814         * sysdeps/nios2/dl-trampoline.S: New file.
20815         * sysdeps/nios2/gccframe.h: New file.
20816         * sysdeps/nios2/gmp-mparam.h: New file.
20817         * sysdeps/nios2/jmpbuf-offsets.h: New file.
20818         * sysdeps/nios2/jmpbuf-unwind.h: New file.
20819         * sysdeps/nios2/ldsodefs.h: New file.
20820         * sysdeps/nios2/libc-tls.c: New file.
20821         * sysdeps/nios2/libm-test-ulps: New file.
20822         * sysdeps/nios2/machine-gmon.h: New file.
20823         * sysdeps/nios2/math-tests.h: New file.
20824         * sysdeps/nios2/math_private.h: New file.
20825         * sysdeps/nios2/memusage.h: New file.
20826         * sysdeps/nios2/nptl/Makefile: New file.
20827         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
20828         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
20829         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
20830         * sysdeps/nios2/nptl/pthreaddef.h: New file.
20831         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
20832         * sysdeps/nios2/nptl/tls.h: New file.
20833         * sysdeps/nios2/preconfigure: New file.
20834         * sysdeps/nios2/s_fma.c: New file.
20835         * sysdeps/nios2/s_fmaf.c: New file.
20836         * sysdeps/nios2/setjmp.S: New file.
20837         * sysdeps/nios2/sfp-machine.h: New file.
20838         * sysdeps/nios2/sotruss-lib.c: New file.
20839         * sysdeps/nios2/stackguard-macros.h: New file.
20840         * sysdeps/nios2/stackinfo.h: New file.
20841         * sysdeps/nios2/start.S: New file.
20842         * sysdeps/nios2/sysdep.h: New file.
20843         * sysdeps/nios2/tls-macros.h: New file.
20844         * sysdeps/nios2/tst-audit.h: New file.
20845         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
20846         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
20847         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
20848         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
20849         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
20850         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
20851         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
20852         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
20853         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
20854         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
20855         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
20856         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
20857         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
20858         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
20859         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
20860         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
20861         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
20862         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
20863         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
20864         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
20865         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
20866         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
20867         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
20868         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
20869         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
20870         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
20871         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
20872         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
20873         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
20874         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
20875         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
20876         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
20877         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
20878         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
20879         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
20880         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
20881         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
20882         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
20883         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
20884         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
20885         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
20886         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
20887         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
20888         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
20890 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20892         [BZ #17844]
20893         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
20894         (getutent): Use weak_alias in non SHARED case
20895         and default_symbol_version in SHARED case.
20896         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
20897         (getutent_r, pututline): Likewise.
20898         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
20899         (getutid): Likewise.
20900         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
20901         (getutid_r): Likewise.
20902         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
20903         (getutline): Likewise.
20904         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
20905         (getutline_r): Likewise.
20906         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
20907         (updwtmp): Likewise.
20909 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20911         [BZ #17848]
20912         * sysdeps/s390/s390-32/memcmp.S
20913         (memcmp_g5): Rename to __memcmp_g5.
20914         * sysdeps/s390/s390-32/memcpy.S
20915         (memcpy_g5): Rename to __memcpy_g5.
20916         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20917         (memcpy_mvcle) Rename to __memcpy_mvcle.
20918         * sysdeps/s390/s390-32/memset.S
20919         (memset_g5): Rename to __memset_g5.
20920         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20921         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20922         and use prefixed functions.
20923         * sysdeps/s390/s390-32/multiarch/memcmp.S
20924         (memcmp_z196): Rename to __memcmp_z196.
20925         (memcmp_z10): Rename to __memcmp_z10.
20926         (memcmp): Set alias to __memcmp_g5.
20927         (bcmp): Set alias to __memcmp_g5.
20928         * sysdeps/s390/s390-32/multiarch/memcpy.S
20929         (memcpy_z196): Rename to __memcpy_z196.
20930         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20931         (memcpy_z10): Rename to __memcpy_z10.
20932         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20933         (memcpy): Set alias to __memcpy_g5.
20934         * sysdeps/s390/s390-32/multiarch/memset.S
20935         (memset_z196): Rename to __memset_z196.
20936         Jump to __memset_mvcle instead of memset_mvcle.
20937         (memset_z10): Rename to __memset_z10.
20938         Jump to __memset_mvcle instead of memset_mvcle.
20939         (memset_mvcle) Rename to __memset_mvcle.
20940         (memset): Set alias to __memset_g5.
20941         * sysdeps/s390/s390-64/memcmp.S
20942         (memcmp_z900): Rename to __memcmp_z900.
20943         * sysdeps/s390/s390-64/memcpy.S
20944         (memcpy_z900): Rename to __memcpy_z900.
20945         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20946         (memcpy_mvcle) Rename to __memcpy_mvcle.
20947         * sysdeps/s390/s390-64/memset.S
20948         (memset_z900): Rename to __memset_z900.
20949         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
20950         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20951         and use prefixed functions.
20952         * sysdeps/s390/s390-64/multiarch/memcmp.S
20953         (memcmp_z196): Rename to __memcmp_z196.
20954         (memcmp_z10): Rename to __memcmp_z10.
20955         (memcmp): Set alias to __memcmp_z900.
20956         (bcmp): Set alias to __memcmp_z900.
20957         * sysdeps/s390/s390-64/multiarch/memcpy.S
20958         (memcpy_z196): Rename to __memcpy_z196.
20959         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20960         (memcpy_z10): Rename to __memcpy_z10.
20961         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20962         (memcpy): Set alias to __memcpy_z900.
20963         * sysdeps/s390/s390-64/multiarch/memset.S
20964         (memset_z196): Rename to __memset_z196.
20965         Jump to __memset_mvcle instead of memset_mvcle.
20966         (memset_z10): Rename to __memset_z10.
20967         Jump to __memset_mvcle instead of memset_mvcle.
20968         (memset_mvcle) Rename to __memset_mvcle.
20969         (memset): Set alias to __memset_z900.
20971 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
20973         [BZ #17748]
20974         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
20975         __fesetenv instead of fesetenv.
20977 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20979         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
20980         macro.
20982 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20984         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
20985         regression on LE.
20987         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
20988         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
20989         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20990         strncmp-power8 object.
20991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20992         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
20993         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
20994         * NEWS: Update.
20996 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20997             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20999         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
21000         trailing byte check.
21002 2015-01-13  David S. Miller  <davem@davemloft.net>
21004         * include/signal.h (__sigreturn): Guard with __USE_MISC.
21006 2015-01-13  Roland McGrath  <roland@hack.frob.com>
21008         * login/logout.c (logout): Use memset rather than bzero.
21009         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
21010         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
21011         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
21012         (_gethtbyaddr): Likewise.
21013         * locale/programs/simple-hash.c (bcopy): Macro removed.
21015 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21017         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21018         Add strcmp-power8 object.
21019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21020         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
21021         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
21022         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
21023         __strcmp_power8 implementation.
21024         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
21025         * NEWS: Update.
21027         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21028         Add strncpy-power8 and stpncpy-power8 objects.
21029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21030         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
21031         implementations.
21032         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
21033         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
21034         __stpncpy_power8 implementation.
21035         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
21036         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
21037         __strncpy_power8 implementation.
21038         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
21039         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
21040         * NEWS: Update.
21042         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
21043         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
21044         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
21046         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21047         strncat-power8 object.
21048         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
21049         __strcat_power8 implementation.
21050         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21051         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
21052         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
21053         optimized strcat for power8.
21055         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21056         strcpy-power8 and stpcpy-power8 objects.
21057         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21058         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
21059         implementations.
21060         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
21061         multiarch stpcpy implementation for POWER8.
21062         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
21063         multiarch strcpy implementation for POWER8.
21064         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
21065         __strcpy_power8 function.
21066         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
21067         stpcpy for POWER8.
21068         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
21069         strcpy for POWER8.
21070         * NEWS: Update.
21072 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
21074         [BZ #16009]
21075         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
21076         weights and rules. Use do_xfrm_cached if data fits in cache,
21077         do_xfrm otherwise.  Moved former main loop to...
21078         * (do_xfrm_cached): New function.
21079         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
21080         find_idx, find_position and stack_push.
21081         * (find_idx): New function.
21082         * (find_position): Likewise.
21083         * localedata/sort-test.sh: Added test run for do_xfrm.
21084         * localedata/xfrm-test.c (main): Added command line option
21085         -nocache to run the test with strings that are too large for
21086         the STRXFRM cache.
21088 2015-01-13  Torvald Riegel  <triegel@redhat.com>
21090         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
21091         variable to lll_futex_wake call, not the value itself.
21093 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
21095         [BZ #17803]
21096         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
21097         twom64.  Adjust value to 0x1p-64L.
21098         (__scalblnl): Only return standard underflowing result for K <=
21099         -64 not K <= -63; adjust exponent for underflowing result by 64
21100         not 63.
21101         * math/libm-test.inc (scalbn_test_data): Add more tests.
21102         (scalbln_test_data): Likewise.
21104         [BZ #17834]
21105         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
21106         0x1p63L.
21107         (__scalblnl): Get new exponent of adjusted subnormal value from ES
21108         not HX.
21109         * math/libm-test.inc (scalbn_test_data): Add more tests.
21110         (scalbln_test_data): Likewise.
21112 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21113             Stefani Seibold  <stefani@seibold.net>
21115         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
21116         (sysdep_routines): Add dl-vdso here, ...
21117         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
21118         (sysdep_routines): ... not here.
21119         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
21120         fallback when vDSO is not presented.
21121         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21122         Define with libc_hidden_proto/libc_hidden_data_def definitions.
21123         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
21124         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
21125         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
21126         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
21127         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
21128         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
21129         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
21130         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
21131         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
21132         fallback configurable symbol when vDSO is not available.
21133         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
21134         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
21135         be able to redefine fallback symbol when vDSO is not available.
21136         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
21137         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
21139 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21141         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
21142         (TLS_INIT_TP): Add tm_capable initialization.
21143         (TLS_DEFINE_INIT_TP): Likewise.
21144         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
21145         TCB.
21146         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
21147         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
21148         calculation.
21149         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
21150         transactoion is lock elision is built and TCB tm_capable is set.
21151         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
21152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21153         (INTERNAL_SYSCALL_NCS): Likewise.
21154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21155         (INTERNAL_SYSCALL_NCS): Likewise.
21156         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
21158         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
21159         for powerpc.
21160         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21161         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
21162         and remove it for 32 bits case.
21163         [pthread_rwlock_t] (__rwelision): New field for lock elision.
21164         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
21165         initialization.
21166         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
21167         Disable lock elision with rdlocks if elision is not available.
21169         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
21170         (sysdep_routines): Add lock elision objects.
21171         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21172         [pthread_mutex_t] (__spins): Rework to add lock elision field.
21173         [pthread_mutex_t] (__elision): Add field.
21174         [__PTHREAD_SPINS]: Adjust to init lock elision field.
21175         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
21176         elision definitions for powerpc.
21177         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
21178         implementation of lock elision for powerpc.
21179         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
21180         implementation of timed lock elision for powerpc.
21181         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
21182         implementation of trylock with lock elision for powerpc.
21183         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
21184         implementaion of unlock for lock elision for powerpc.
21185         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
21186         automatic enable lock elision for mutexes.
21187         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
21188         transaction execution definitions for powerpc.
21189         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
21190         definitions.
21191         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
21192         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
21193         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
21194         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
21195         * NEWS: Update.
21197 2015-01-09  Roland McGrath  <roland@hack.frob.com>
21199         * sysdeps/posix/shm-directory.c: Use <> rather than ""
21200         for #include of <shm-directory.h>.
21202 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
21204         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
21205         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
21207 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
21209         [BZ #17791]
21210         * NEWS: Mention bug fix.
21211         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
21212         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
21213         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
21215 2015-01-09  Torvald Riegel <triegel@redhat.com>
21217         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
21219 2015-01-09  Torvald Riegel <triegel@redhat.com>
21221         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
21223 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21225         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
21226         pointer and cast to uintptr_t.
21228 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21230         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
21231         removed.
21232         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
21234 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21236         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
21237         of 0.
21239 2015-01-08  Roland McGrath  <roland@hack.frob.com>
21241         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
21242         <nptl/pthreadP.h> instead.
21243         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
21245         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
21246         already defined.
21247         [__SIGRTMIN] (init): Function removed.
21248         [__SIGRTMIN] (initialized): Variable removed.
21249         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
21250         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
21251         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
21252         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
21253         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
21254         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
21255         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
21256         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
21257         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
21258         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
21259         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
21260         * sysdeps/nptl/allocrtsig.c: New file.
21261         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
21262         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
21263         * sysdeps/generic/testrtsig.h: File removed.
21265         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
21266         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
21268         * nptl/nptl-init.c (pthread_functions): Conditionalize
21269         .ptr__nptl_setxid initialization on [SIGSETXID].
21271         * sysdeps/nptl/sys/procfs.h: New file.
21272         * nptl_db/Makefile (headers): Add it.
21273         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
21275         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
21276         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
21277         * nptl/pthread_attr_setaffinity.c: Include it.
21278         * nptl/pthread_setattr_default_np.c: Likewise.
21279         * nptl/check-cpuset.h: New file.
21281 2015-01-08  Richard Henderson  <rth@redhat.com>
21283         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
21284         (CFLAGS-tst-execstack-prog.c): Likewise.
21285         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
21287 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
21288             Sandra Loosemore  <sandra@codesourcery.com>
21289             Andrew Jenner  <andrew@codesourcery.com>
21290             Joseph Myers  <joseph@codesourcery.com>
21291             Nathan Sidwell  <nathan@codesourcery.com>
21293         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
21294         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
21295         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
21296         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
21297         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
21298         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
21299         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
21300         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
21301         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
21302         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
21303         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
21304         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
21305         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
21306         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
21307         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
21308         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
21309         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
21311 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21313         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
21314         timespec struct member in syscall macro.
21315         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21316         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
21317         first timeval struct member in syscall macro.
21318         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
21320 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
21322         [BZ #17748]
21323         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
21324         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
21325         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
21326         __feupdateenv and define as weak alias of __feupdateenv.  Use
21327         libm_hidden_weak.
21328         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
21329         libm_hidden_def.
21330         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
21331         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
21332         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21333         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
21334         libm_hidden_def.
21335         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
21336         __feupdateenv and define as weak alias of __feupdateenv.  Use
21337         libm_hidden_weak.
21338         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
21339         libm_hidden_def.
21340         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
21341         __feupdateenv and define as weak alias of __feupdateenv.  Use
21342         libm_hidden_weak.
21343         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
21344         libm_hidden_def.
21345         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21346         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21347         (__feupdateenv): Likewise.
21348         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
21349         __feupdateenv and define as weak alias of __feupdateenv.  Use
21350         libm_hidden_weak.
21351         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21352         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
21353         libm_hidden_def.
21354         * sysdeps/tile/math_private.h (__feupdateenv): New inline
21355         function.
21356         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
21357         libm_hidden_def.
21358         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
21359         __feupdateenv instead of feupdateenv.
21360         (default_libc_feupdateenv_test): Likewise.
21361         (libc_feresetround_ctx): Likewise.
21363 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21365         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
21366         prototype.
21368 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
21370         * posix/regcomp.c (parse_bracket_exp): Initialize type to
21371         COLL_SYM in a couple of places to avoid uninitialized variable
21372         wanings on tilegx gcc 4.8.2.
21374 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21376         * sysdeps/aarch64/strcpy.S: New file.
21377         * sysdeps/aarch64/stpcpy.S: New file.
21378         * NEWS: Updated.
21380 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21382         * sysdeps/aarch64/strrchr.S: New file.
21383         * NEWS: Updated.
21385 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
21387         [BZ #17658]
21388         * stdlib/setenv.c: Fix memory leak when setting large,
21389         duplicate string.
21391 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
21393         [BZ #17273]
21394         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
21395         and tabs from buffer before parsing fstab entry.
21396         * misc/tst-mntent.c (main): Add test for mount entry with
21397         trailing spaces and tabs.
21399 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
21401         [BZ #17748]
21402         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
21403         * math/fesetround.c (fesetround): Rename to __fesetround and
21404         define as weak alias of __fesetround.  Use libm_hidden_weak.
21405         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
21406         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
21407         * sysdeps/arm/fesetround.c (fesetround): Likewise.
21408         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
21409         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
21410         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
21411         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
21412         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
21413         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
21414         __fesetround_inline.
21415         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
21416         __fesetround_inline instead of __fesetround.
21417         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
21418         __fesetround and define as weak alias of __fesetround.  Use
21419         libm_hidden_weak.  Call __fesetround_inline instead of
21420         __fesetround.
21421         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
21422         __fesetround and define as weak alias of __fesetround.  Use
21423         libm_hidden_weak.
21424         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
21425         Likewise.
21426         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
21427         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21428         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
21429         * sysdeps/tile/math_private.h (__fesetround): New inline function.
21430         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
21431         __fesetround and define as weak alias of __fesetround.  Use
21432         libm_hidden_weak.
21433         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
21434         __fesetround instead of fesetround.
21435         (default_libc_feholdexcept_setround): Likewise.
21436         (libc_feholdsetround_ctx): Likewise.
21437         (libc_feholdsetround_noex_ctx): Likewise.
21439         [BZ #17748]
21440         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
21441         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
21442         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21443         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21444         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21445         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
21446         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21447         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21448         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21449         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21450         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21451         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21452         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21453         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21454         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
21455         libm_hidden_def.
21456         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
21457         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
21458         Likewise.
21459         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21460         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21461         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21462         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21463         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
21464         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21465         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21466         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
21467         __fesetenv instead of fesetenv.
21468         (libc_feresetround_noex_ctx): Likewise.
21469         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21470         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21471         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
21472         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21473         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21474         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21475         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21476         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21477         (__feupdateenv): Likewise.
21478         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21479         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21480         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21481         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
21483 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21485         [BZ #17806]
21486         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
21487         addresses have been freed.
21489 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21491         * resolv/res_init.c (__res_vinit): Improve comments about nserv
21492         and nservall.
21494 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
21496         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
21497         Clean up check_pf allocation pattern. addresses
21499 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21501         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
21502         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
21503         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
21504         * nptl/pthread_exit.c (__pthread_exit): Likewise.
21505         * nptl/pthread_join.c (pthread_join): Likewise.
21506         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21507         * sysdeps/posix/waitid.c (__waitid): Likewise.
21508         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21509         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21510         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21511         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21512         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21513         Likewise.
21514         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21515         (__libc_pread64): Likewise.
21516         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21517         (__libc_pwrite): Likewise.
21518         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21519         (__libc_pwrite64): Likewsie.
21520         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21521         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21522         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21523         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21524         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21525         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21526         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21528         Likewise.
21529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21530         (__libc_pread64): Likewise.
21531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
21532         Likewise.
21533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21534         (__libc_pwrite64): Likewise.
21535         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21536         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21537         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
21538         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
21539         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21540         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21541         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
21542         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21543         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21544         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21545         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
21546         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21547         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21548         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
21549         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21550         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21551         Likewise.
21553 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21555         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
21556         (CFLAGS-test-double.c): Likewise.
21557         (CFLAGS-test-ldouble.c): Likewise.
21558         (CPPFLAGS-test-ifloat.c): Likewise.
21559         (CPPFLAGS-test-idouble.c): Likewise.
21560         (CPPFLAGS-test-ildoubl.c): Likewise.
21561         (CFLAGS-test-test-fenv.c): Remove variable.
21562         (CFLAGS-test-misc.c): Likewise.
21564 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
21566         [BZ #17797]
21567         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
21568         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
21569         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
21570         CLOCKS_PER_SEC == 1000000.
21571         * time/clocktest.c (main): Replace %ld with %jd and cast to
21572         intmax_t.
21574 2015-01-05  Roland McGrath  <roland@hack.frob.com>
21576         * sysdeps/generic/unwind-resume.h: New file.
21577         * sysdeps/gnu/unwind-resume.c: Include it.
21578         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
21579         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
21580         argument list.
21581         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
21582         global rather than static.
21583         (_Unwind_Resume): Update user.
21584         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
21585         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
21586         rather than static.  Add __attribute__ ((cold)).
21587         (_Unwind_Resume, __gcc_personality_v0): Update callers.
21588         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
21589         * sysdeps/arm/arm-unwind-resume.S: New file.
21590         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
21591         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
21592         * sysdeps/arm/Makefile [$(subdir) = csu]
21593         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
21594         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21595         Add rt-arm-unwind-resume.
21596         [$(subdir) = nptl]
21597         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21598         Add pt-arm-unwind-resume.
21599         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
21600         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
21602 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21604         [BZ #17748]
21605         * include/fenv.h (__feholdexcept): Declare.  Use
21606         libm_hidden_proto.
21607         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
21608         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
21609         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21610         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
21611         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
21612         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
21613         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
21614         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21615         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
21616         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
21617         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21618         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
21619         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
21620         (feholdexcept): Likewise.
21621         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21622         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21623         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21624         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21625         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
21626         __feholdexcept instead of feholdexcept.
21627         (default_libc_feholdexcept_setround): Likewise.
21629 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21631         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
21632         to avoid using stl/str to align destination.
21634 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21636         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
21638 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21640         [BZ #17796]
21641         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
21642         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
21643         Define as weak alias not strong alias.
21645 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21647         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
21648         bltzal with addiupc.
21649         (RTLD_START): Ditto.
21651 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
21653         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
21654         for __vdso_* functions in declarations.
21655         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
21656         definitions.
21657         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
21658         INTERNAL_VSYSCALL): Use struct return types to check for error.
21660         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
21661         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
21662         function with cast from llround().
21663         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
21664         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
21665         Define.
21667 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21669         [BZ #17793]
21670         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
21671         Define as weak alias not strong alias.
21673         [BZ #17635]
21674         * ctype/ctype-c99.c: New file.  isblank implementation moved from
21675         ...
21676         * ctype/ctype-extn.c: ... here.
21677         (__isblank_l): Move to ...
21678         * ctype/ctype-c99_l.c: ... here.  New file.
21679         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
21680         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
21681         Remove variable.
21682         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21683         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21684         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21685         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21686         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21688         [BZ #17777]
21689         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
21690         (posix_fadvise64): Define as weak alias not strong alias.
21691         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21692         (posix_fallocate64): Likewise.
21693         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
21694         Remove variable.
21695         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21696         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21697         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21698         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21699         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21701 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
21703         [BZ #16191]
21704         * NEWS: Mention bug fix.
21705         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
21706         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
21707         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
21708         (HOST_STACK_END_ADDR): Likewise.
21710 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21712         [BZ #17748]
21713         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
21714         * math/fegetround.c (fegetround): Rename to __fegetround and
21715         define as weak alias of __fegetround.  Use libm_hidden_weak.
21716         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
21717         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
21718         * sysdeps/arm/fegetround.c (fegetround): Likewise.
21719         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
21720         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21721         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
21722         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
21723         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
21724         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21725         Undefine after rather than before function definition; use
21726         parentheses around function name in definition.
21727         (__fegetround): Also undefine macro after function definition.
21728         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
21729         __fegetround and define as weak alias of __fegetround.  Use
21730         libm_hidden_weak.  Do not undefine as macro.
21731         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21732         Likewise.
21733         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
21734         __fegetround and define as weak alias of __fegetround.  Use
21735         libm_hidden_weak.
21736         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21737         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21738         * sysdeps/tile/math_private.h (__fegetround): New inline function.
21739         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
21740         __fegetround and define as weak alias of __fegetround.  Use
21741         libm_hidden_weak.
21742         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
21743         __fegetround instead of fegetround.
21745         [BZ #17782]
21746         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
21747         Condition macro definition on [__USE_MISC].
21749         [BZ #17781]
21750         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
21751         (struct sigaction): Change type of sa_flags field to int.
21753         [BZ #17780]
21754         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
21755         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
21756         __glibc_reserved0.
21758         * nptl/version.c (banner): Use single year in copyright notice.
21760         * NEWS: Update copyright dates.
21761         * catgets/gencat.c (print_version): Likewise.
21762         * csu/version.c (banner): Likewise.
21763         * debug/catchsegv.sh: Likewise.
21764         * debug/pcprofiledump.c (print_version): Likewise.
21765         * debug/xtrace.sh (do_version): Likewise.
21766         * elf/ldconfig.c (print_version): Likewise.
21767         * elf/ldd.bash.in: Likewise.
21768         * elf/pldd.c (print_version): Likewise.
21769         * elf/sotruss.sh: Likewise.
21770         * elf/sprof.c (print_version): Likewise.
21771         * iconv/iconv_prog.c (print_version): Likewise.
21772         * iconv/iconvconfig.c (print_version): Likewise.
21773         * locale/programs/locale.c (print_version): Likewise.
21774         * locale/programs/localedef.c (print_version): Likewise.
21775         * login/programs/pt_chown.c (print_version): Likewise.
21776         * malloc/memusage.sh (do_version): Likewise.
21777         * malloc/memusagestat.c (print_version): Likewise.
21778         * malloc/mtrace.pl: Likewise.
21779         * manual/libc.texinfo: Likewise.
21780         * nptl/version.c (banner): Likewise.
21781         * nscd/nscd.c (print_version): Likewise.
21782         * nss/getent.c (print_version): Likewise.
21783         * nss/makedb.c (print_version): Likewise.
21784         * posix/getconf.c (main): Likewise.
21785         * scripts/test-installation.pl: Likewise.
21786         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21788 2015-01-02  Will Newton  <will.newton@linaro.org>
21790         * sysdeps/arm/armv7/configure: Removed.
21791         * sysdeps/arm/armv7/configure.ac: Likewise.
21793 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21795         * All files with FSF copyright notices: Update copyright dates
21796         using scripts/update-copyrights.
21797         * intl/plural.c: Regenerated.
21798         * locale/programs/charmap-kw.h: Likewise.
21799         * locale/programs/locfile-kw.h: Likewise.
21801 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21803         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
21805 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21807         [BZ #17748]
21808         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
21809         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
21810         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21811         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21812         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21813         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
21814         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21815         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
21816         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21817         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21818         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21819         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21820         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21821         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21822         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
21823         libm_hidden_def.
21824         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
21825         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
21826         Likewise.
21827         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21828         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21829         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21830         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21831         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
21832         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21833         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21834         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
21835         __fegetenv instead of fegetenv.
21836         (libc_feholdsetround_noex_ctx): Likewise.
21838 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21840         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
21841         (Elf_MIPS_ABIFlags_v0): New structure.
21842         (EF_MIPS_FP64): Define.
21843         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
21844         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
21845         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
21846         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
21847         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
21848         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
21849         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
21850         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
21851         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
21852         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
21853         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
21854         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
21855         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
21856         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
21857         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
21858         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
21859         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
21860         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
21861         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
21862         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
21863         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
21864         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
21865         field.
21866         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
21867         EF_MIPS_FP64.
21868         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
21869         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
21870         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
21871         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
21872         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
21873         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
21874         * sysdeps/mips/tst-abi-interlink.c: Likewise.
21875         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
21876         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
21877         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
21878         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
21879         record the current FP ABI extension.
21880         (mips-mode-switch): Define to show if kernel headers support mode
21881         switching.
21882         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21883         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
21884         supported SYSV ABI version to 3.
21885         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
21886         feature.
21888 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21889             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21891         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
21892         path.
21893         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
21895 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21897         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
21898         __fegetround and redefine to call __fegetround.  Remove condition
21899         on [!__NO_MATH_INLINES].
21900         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
21901         function.
21902         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
21903         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21904         Remove macro.
21905         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
21906         instead of <fenv_libc.h>.
21907         (__llrintl): Call fegetround instead of __fegetround.
21908         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
21909         instead of <fenv_libc.h>.
21910         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21911         (__lrintl): Call fegetround instead of __fegetround.
21912         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
21913         instead of <fenv_libc.h>.
21914         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21915         (__rintl): Call fegetround instead of __fegetround.
21917 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21919         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
21920         arrays.
21922 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21924         [BZ #17775]
21925         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
21926         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
21927         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
21929 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21931         * sysdeps/i386/tls-macros.h: Include <features.h>.
21932         (TLS_LE): Use non-PIC version for GCC >= 5.0.
21933         (TLS_IE): Likewise.
21934         (TLS_LD): Likewise.
21935         (TLS_GD): Likewise.
21936         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
21937         define for GCC >= 5.0.
21939 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
21941         * math/test-fenv.c (test_single_exception, set_single_exc,
21942         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
21943         feexcp_mask_test, feenable_test, fe_single_test): Add
21944         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
21945         case where they are not used.
21946         * math/libm-test.inc: Likewise.
21947         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
21948         unused in the absence of FP rounding/exception support.
21949         * stdio-common/tst-printf-round.c: Likewise.
21950         * stdlib/tst-strtod-round.c: Likewise.
21951         * stdlib/tst-strtod-underflow.c: Likewise.
21953 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
21955         [BZ #17723]
21956         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
21957         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
21958         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21959         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21960         libm_hidden_weak.
21961         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
21962         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21963         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
21964         libm_hidden_def.
21965         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21966         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21967         libm_hidden_weak.
21968         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
21969         Likewise.
21970         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
21971         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21972         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21973         libm_hidden_weak.
21974         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21975         libm_hidden_def.
21976         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21977         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
21978         (__feraiseexcept): Likewise.
21979         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21980         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21981         libm_hidden_weak.
21982         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21983         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21984         libm_hidden_def.
21985         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
21986         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
21987         Use libm_hidden_def.
21988         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
21989         libm_hidden_def.
21990         (feraiseexcept): Define as weak not strong alias.  Use
21991         libm_hidden_weak.
21992         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
21993         New inline function.  Factored out of ...
21994         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
21995         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
21996         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
21997         feraiseexcept.
21998         * math/w_acos.c (__acos): Likewise.
21999         * math/w_asin.c (__asin): Likewise.
22000         * math/w_ilogb.c (__ilogb): Likewise.
22001         * math/w_j0.c (y0): Likewise.
22002         * math/w_j1.c (y1): Likewise.
22003         * math/w_jn.c (yn): Likewise.
22004         * math/w_log.c (__log): Likewise.
22005         * math/w_log10.c (__log10): Likewise.
22006         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
22007         * sysdeps/aarch64/fpu/math_private.h
22008         (libc_feupdateenv_test_aarch64): Likewise.
22009         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22010         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
22011         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
22012         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22013         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22014         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22015         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
22016         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22017         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22018         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22020 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
22022         [BZ #17732]
22023         * io/test-utime.c (main): Replace %ld with %jd and cast to
22024         intmax_t.
22025         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
22026         * nptl/tst-mutex5.c: Include <stdint.h>.
22027         (do_test): Replace %ld with %jd and cast to intmax_t.
22028         * posix/tst-regex.c (run_test): Likewise.
22029         (run_test_backwards): Likewise.
22030         * rt/tst-clock.c: Include <stdint.h>.
22031         (clock_test): Replace %ld with %jd and cast to intmax_t.
22032         * rt/tst-cpuclock1.c: Include <stdint.h>.
22033         (do_test): Replace %lu with %ju and cast to uintmax_t.
22034         * rt/tst-cpuclock2.c: Include <stdint.h>.
22035         (do_test): Replace %lu with %ju and cast to uintmax_t.
22036         * rt/tst-mqueue1.c: Include <stdint.h>.
22037         (check_attrs): Replace %ld with %jd and cast to intmax_t.
22038         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
22039         intmax_t.
22040         * rt/tst-mqueue4.c (do_test): Likewise.
22041         * rt/tst-timer4.c: Include <stdint.h>.
22042         (check_ts): Replace %ld with %jd and cast to intmax_t.
22043         (do_test): Likewise.
22044         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
22045         and cast to intmax_t.
22046         * sysdeps/pthread/tst-timer.c (main): Likewise.
22047         * time/clocktest.c (main): Likewise.
22048         * time/tst-posixtz.c (do_test): Likewise.
22049         * timezone/tst-timezone.c (main): Likewise.
22051 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22052             H.J. Lu  <hongjiu.lu@intel.com>
22054         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
22055         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
22056         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
22057         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
22058         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
22059         version if bit_Fast_Unaligned_Load is set.
22060         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22061         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22062         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22063         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22064         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22065         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22066         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22067         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
22068         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
22069         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
22070         to 4.
22071         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
22072         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
22073         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
22074         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
22076 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
22078         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
22079         instead of #if to avoid a Wundef warning.
22080         * stdlib/tst-limits.c (do_test): Likewise.
22082         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
22083         parallel other exception macros.
22084         (fegetenv): Convert from macro to extern inline so that it applies
22085         retroactively to inline functions already seen by the compiler.
22086         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
22088         * posix/Makefile (before-compile): Use $(objpfx) for
22089         posix-conf-vars-def.h.
22091 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22093         * posix/getconf.c (main): Use size_t for type of I.
22094         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
22095         NSPEC.
22097         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
22098         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
22099         * posix/posix-envs.def: Likewise.
22100         * sysdeps/posix/sysconf.c: Likewise.
22101         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
22102         (specs): Remove array.
22103         * scripts/gen-posix-conf-vars.awk: Support generation of specs
22104         array.
22106         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
22107         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
22108         (__sysconf): Use CONF_IS_* macros.
22110         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
22111         ($(objpfx)posix-conf-vars-def.h): New target.
22112         * posix/posix-conf-vars.list: New file.
22113         * posix/posix-conf-vars.h: New file.
22114         * posix/confstr.c: Include posix-conf-vars.h.
22115         (confstr): Use CONF_IS_* macros.
22116         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
22117         CONF_IS_* macros.
22118         * scripts/gen-posix-conf-vars.awk: New file.
22120 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
22122         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
22123         fegetround): Add no-op macros to avoid linknamespace issues.
22125         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
22126         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
22128         * sysdeps/unix/sysv/linux/tile/sysdep.h
22129         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
22130         assembly-specific section to avoid a redefinition warning.
22132         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
22133         long before casting to pointer to avoid a cast warning.
22135 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
22137         * sysdeps/tile/tilegx/Implies: New file.
22139 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
22141         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
22143 2014-12-23  Florian Weimer  <fweimer@redhat.com>
22145         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
22147 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22149         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
22150         not define.
22151         * sysdeps/unix/sysv/linux/utimes.c: Do not include
22152         <kernel-features.h>.
22153         (__utimes) [__NR_utimes]: Make code unconditional.
22154         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
22155         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22156         (__ASSUME_UTIMES): Do not undefine.
22157         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22158         (__ASSUME_UTIMES): Likewise.
22159         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22160         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
22161         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
22162         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
22164 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22166         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
22168 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
22170         [BZ #17747]
22171         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
22172         alias to weak alias for j0l, y0l.
22173         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
22174         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
22176         [BZ #17746]
22177         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
22178         conversion.
22180 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
22182         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
22183         to zero if not already defined.
22185 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22187         [BZ #17724]
22188         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
22189         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
22190         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
22191         (char *) casts added.
22192         * sysdeps/ieee754/k_standardf.c: New file.
22193         * sysdeps/ieee754/k_standardl.c: Likewise.
22194         * math/Makefile (libm-support): Remove k_standard.
22195         (libm-calls): Add k_standard.
22197 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22199         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22200         Optimize to avoid an unnecessary FPCR read.
22202 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22204         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22205         Optimize to reduce FPCR/FPSR accesses.
22207 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22209         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
22210         Call libc_fetestexcept_aarch64.
22212 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22214         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
22215         Call libc_fesetround_aarch64.
22217 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22219         [BZ #17733]
22220         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
22221         (__bind): Do not define as weak alias.
22222         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
22223         define.
22224         (__getsockname): Do not define as weak alias.
22226 2014-12-22  Will Newton  <will.newton@linaro.org>
22228         * manual/install.texi: Document that we require bison 2.7
22229         or above.
22230         * INSTALL: Regenerate.
22231         * configure.ac: Use AC_CHECK_PROG_VER instead of
22232         AC_PATH_PROG when checking for bison and check for
22233         version 2.7 or above.
22234         * configure: Regenerate.
22236 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
22238         [BZ #17745]
22239         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
22240         * sysdeps/tile/ffsll.c (ffsll): To here.
22242         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
22244 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22246         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
22247         if not defined.
22248         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
22249         definition.
22250         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22251         hidden ___tls_get_addr.
22252         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22253         hidden __tls_get_addr.
22254         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
22255         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
22256         Likewise.
22258 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
22260         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
22261         _dl_init call.
22263 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22265         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
22266         from "call _dl_init@PLT".
22267         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
22269 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
22271         * manual/search.texi: (Array Sort Function): Clarify stable sorting
22272         guarantees.
22274 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
22276         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
22278 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22280         [BZ #17744]
22281         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
22282         strnlen.
22284 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22286         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
22287         of multu on MIPSr6.
22288         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
22289         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
22290         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
22291         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
22292         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
22294 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22296         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
22297         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
22298         (PTR_SUBU): Use subu for mips32r6/mips64r6.
22299         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
22300         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
22301         mips32r6/mips64r6.
22302         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
22304 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
22306         * string/strncat.c (STRNCAT): Simplify implementation.
22308 2014-12-19  David S. Miller  <davem@davemloft.net>
22310         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
22311         access the quad as both a long double and as a series of 4 words.
22313         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
22314         link_map->l_info array access.
22316 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22318         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
22320         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
22321         * math/atest-exp2.c (TIMEOUT): Likewise.
22322         * math/atest-sincos.c (TIMEOUT): Likewise.
22324 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22326         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
22327         -Wno-error with -fno-builtin-lround.
22329 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22331         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
22332         Contains futex constants and functions moved over from ...
22333         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
22334         <lowlevellock-futex.h>.
22335         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22336         (lll_timedwait_tid): Add comments and parentheses around macro
22337         arguments.
22339 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22341         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
22342         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
22343         (__lll_private_flag): Remove.
22344         (lll_futex_wait): Likewise.
22345         (lll_futex_timed_wait): Likewise.
22346         (lll_futex_wake): Likewise.
22347         (lll_futex_requeue): Likewise.
22348         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22349         (__lll_timedwait_tid): Spell out argument names.
22350         (lll_timedwait_tid): Add comments and parentheses around macro
22351         arguments.
22352         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
22353         LLL_SHARED and LLL_PRIVATE usable from assembly code.
22355 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22357         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
22358         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22359         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22360         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
22361         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
22362         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
22363         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
22364         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
22365         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
22366         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
22367         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
22368         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
22369         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
22370         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
22371         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
22372         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
22373         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
22374         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
22375         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
22377 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22379         * sysdeps/x86_64/x32/Makefile: New file.
22381 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22383         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
22384         1L with (mp_limb_t) 1.
22386 2014-12-17  Roland McGrath  <roland@hack.frob.com>
22388         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
22389         * nptl/libc_pthread_init.c: ... here.
22390         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
22391         * nptl/register-atfork.c: ... here.
22393         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
22394         Use pthread_sigmask rather than INTERNAL_SYSCALL.
22395         Use assert_perror to check its return value.
22396         (__gai_create_helper_thread): Likewise.
22398         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
22400         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
22402 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
22404         [BZ #17725]
22405         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
22406         __profil_counter.
22407         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
22408         Likewise.
22409         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
22410         Likewise.
22411         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
22412         Likewise.
22413         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
22414         (profil_counter): Likewise.
22415         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
22416         (profil_counter): Likewise.
22417         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
22418         Likewise.
22419         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
22420         Likewise.
22421         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
22422         (profil_counter): Likewise.
22423         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
22424         Likewise.
22425         [!__profil_counter] (profil_counter): Define as weak alias of
22426         __profil_counter.
22427         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
22428         (profil_counter): Rename to __profil_counter.
22429         [!__profil_counter] (profil_counter): Define as weak alias of
22430         __profil_counter.
22431         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
22432         (profil_counter): Rename to __profil_counter.
22433         [!__profil_counter] (profil_counter): Define as weak alias of
22434         __profil_counter.
22435         * sysdeps/posix/profil.c: Update comment referring to
22436         profil_counter.
22437         (__profil): Use __profil_counter instead of profil_counter.
22438         * sysdeps/posix/sprofil.c (profil_counter): Rename to
22439         __profil_counter.  Use __profil_counter_ushort and
22440         __profil_counter_uint in definitions.
22441         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
22442         instead of profil_counter_uint and profil_counter_ushort.
22444         [BZ #17722]
22445         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
22446         define as weak alias of __inet_makeaddr.
22447         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
22448         as weak alias of __inet_addr.
22449         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
22450         as weak alias of __inet_pton.  Use libc_hidden_weak.
22451         * include/arpa/inet.h (__inet_pton): Declare.  Use
22452         libc_hidden_proto.
22453         (inet_makeaddr): Don't use libc_hidden_proto.
22454         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
22455         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
22456         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
22457         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
22458         Remove variable.
22459         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22460         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22462 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
22464         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
22466 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22468         * stdio-common/bug-vfprintf-nargs.c (do_test):
22469         Cast value to intptr_t to avoid format warning
22470         for usage with PRIdPTR printing macro.
22472 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22474         * libio/tst-widetext.c (do_test):
22475         Use format type %td instead of %Zd for ptrdiff_t
22476         in order to avoid format warning.
22478 2014-12-17  Andreas Schwab  <schwab@suse.de>
22480         * nscd/mem.c (gc): Add size_t cast to match printf format.
22482 2014-12-16  Roland McGrath  <roland@hack.frob.com>
22484         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
22485         (init): Apply PTR_MANGLE to pointers before storing them.
22486         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
22487         before using them.
22489 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
22491         [BZ #17719]
22492         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
22493         define as weak alias of __memrchr.
22494         (__memrchr): Do not define as strong alias of memrchr.
22495         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
22496         Remove variable.
22497         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22498         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22499         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22501         [BZ #17717]
22502         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
22503         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
22504         (if_indextoname): Rename to __if_indextoname and define as weak
22505         alias of __if_indextoname.  Use libc_hidden_weak.
22506         (if_freenameindex): Rename to __if_freenameindex and define as
22507         weak alias of __if_freenameindex.
22508         (if_nameindex): Rename to __if_nameindex and define as weak alias
22509         of __if_nameindex.
22510         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
22511         __if_nametoindex and define as weak alias of __if_nametoindex.
22512         Use libc_hidden_weak.
22513         (if_freenameindex): Rename to __if_freenameindex and define as
22514         weak alias of __if_freenameindex.
22515         (if_nameindex): Rename to __if_nameindex and define as weak alias
22516         of __if_nameindex.
22517         (if_indextoname): Rename to __if_indextoname and define as weak
22518         alias of __if_indextoname.  Use libc_hidden_weak.
22519         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
22520         __if_nametoindex and define as weak alias of __if_nametoindex.
22521         Use libc_hidden_weak.
22522         (if_freenameindex): Rename to __if_freenameindex and define as
22523         weak alias of __if_freenameindex.  Use libc_hidden_weak.
22524         (if_nameindex_netlink): Use __if_freenameindex instead of
22525         if_freenameindex.
22526         (if_nameindex): Rename to __if_nameindex and define as weak alias
22527         of __if_nameindex.  Use libc_hidden_weak.
22528         (if_indextoname): Rename to __if_indextoname and define as weak
22529         alias of __if_indextoname.  Use libc_hidden_weak.
22530         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
22531         libc_hidden_proto.
22532         [!_ISOMAC] (__if_freenameindex): Likewise.
22533         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
22534         if_nametoindex.
22535         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
22536         variable.
22537         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22538         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22539         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22540         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22541         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22542         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22543         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22545         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
22546         Remove variable.
22547         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22548         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22550 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22552         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
22553         subscript above bounds'
22555         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
22556         bounds.
22558 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
22560         * libio/tst-fopenloc.c: Use test-skeleton.c.
22562         * stdlib/tst-bsearch.c: Use test-skeleton.c.
22563         (entry): Rename to ITEM.
22564         (do_test, comp): Adjust.
22566         * stdio-common/tst-fseek.c: Use test-skeleton.c.
22568 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22570         * string/tester.c: Include <libc-internal.h>.
22571         (test_memset): Ignore -Wmemset-transposed-args.
22573 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22575         * misc/tst-mntent2.c (do_test): Fix warning.
22577 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22579         * elf/tst-unique4lib.cc(a): Mark as used.
22581 2014-12-16  Florian Weimer  <fweimer@redhat.com>
22583         [BZ #17630]
22584         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
22585         names.
22587 2014-12-16  Allan McRae  <allan@archlinux.org>
22589         * stdio-common/Makefile (tests): Re-add bug26.
22591 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
22593         [BZ #17657]
22594         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
22595         static array.
22597 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
22599         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
22600         (__lll_lock_wait): Likewise.
22601         (__lll_timedlock_wait): Likewise.
22602         (__lll_timedwait_tid): Likewise.
22603         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
22604         (__lll_robust_timedlock_wait): Likewise.
22605         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
22606         (lll_cond_trylock): Likewise.
22607         (__lll_lock): Likewise.
22608         (__lll_robust_lock): Likewise.
22609         (__lll_cond_lock): Likewise.
22610         (lll_robust_cond_lock): Likewise.
22611         (__lll_timedlock): Likewise.
22612         (__lll_robust_timedlock): Likewise.
22613         (__lll_unlock): Likewise.
22614         (__lll_robust_unlock): Likewise.
22615         (lll_wait_tid): Likewise.
22616         (lll_timedwait_tid): Likewise.
22618 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22620         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
22622 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22624         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
22626 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22628         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
22629         * stdio-common/tst-sprintf.c: Likewise.
22631 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22633         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
22635 2014-12-15  Jeff Law  <law@redhat.com>
22637         [BZ #16617]
22638         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
22639         on the heap.  (CVE-2012-3406)
22640         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
22641         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
22642         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
22644 2014-12-15  Will Newton  <will.newton@linaro.org>
22646         * manual/install.texi: Bump required version of texinfo
22647         to 4.7 from 4.5.
22648         * INSTALL: Regenerated.
22649         * configure.ac: Check for makeinfo version 4.7 and above.
22650         * configure: Regenerated.
22652 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22654         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
22655         PREFIX, string constant to insert between directory and name.
22656         * sysdeps/posix/shm_open.c: Update caller.
22657         * sysdeps/posix/shm_unlink.c: Likewise.
22658         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
22659         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
22660         (SEM_SHM_PREFIX): New macro.
22661         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
22662         [$(have-thread-library) = no].
22663         * nptl/Makefile (libpthread-routines): Add shm-directory.
22664         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
22665         * sysdeps/nptl/shm-directory.h: New file.
22666         * sysdeps/posix/shm-directory.c
22667         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
22668         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
22669         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
22670         INTERNAL_SYSCALL.
22671         (__where_is_shmfs): Function removed.
22672         (mountpoint, defaultmount, defaultdir, __namedsem_once):
22673         Variables removed.
22674         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
22675         Use SHM_GET_NAME.
22676         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
22678         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
22679         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
22680         unconditional for use inside libpthread.
22681         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
22683 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22685         * nptl/pthread_getaffinity.c: New file.
22686         * nptl/pthread_setaffinity.c: New file.
22687         * nptl/pthread_getname.c: New file.
22688         * nptl/pthread_setname.c: New file.
22690         * nptl/pthread_create.c (START_THREAD_DEFN)
22691         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
22693 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22694             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22696         * resolv/res_send.c (send_vc): Disable warning resplen may
22697         be used uninitialized.
22699 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22701         * nptl/tst-mutex6.c
22702         (ATTR_NULL): New define checks ATTR against NULL.
22703         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
22704         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
22706 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
22708         [BZ #17581]
22709         * malloc/hooks.c
22710         (mem2mem_check): Revert my previous change.
22711         (malloc_check_get_size): Revert my previous change.
22712         (mem2chunk_check): Revert my previous change.
22714 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22716         * sysdeps/posix/shm-directory.c: New file.
22717         * sysdeps/posix/shm-directory.h: New file.
22718         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
22719         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
22720         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
22721         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
22722         Transmute EPERM to EACCES.
22723         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
22724         from ...
22725         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
22726         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
22728 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22730         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
22731         pointer and cast to uintptr_t.
22732         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
22733         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
22734         Add cast to avoid warning.
22735         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
22737 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22739         * nptl/semaphore.h: Move to ...
22740         * sysdeps/pthread/semaphore.h: ... here.
22741         * Makefile (installed-headers): Change nptl/semaphore.h to
22742         sysdeps/pthread/semaphore.h.
22744 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22746         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
22747         generated error format strings.
22749         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
22750         -Wformat-extra-args warnings for scanf formats.
22751         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
22752         test of zero-length format (duh).
22753         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
22754         corner-case scanf format test.
22755         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
22756         generated fprintf format string.
22757         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
22758         corner-case sprintf format tests.
22759         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
22760         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
22761         -Wformat-extra-args warnings throughout.
22762         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
22763         (CFLAGS-scanf4.c): Likewise.
22764         (CFLAGS-scanf7.c): Likewise.
22765         (CFLAGS-tst-sprintf.c): Likewise.
22766         (CFLAGS-tst-printf.c): Likewise.
22767         (CFLAGS-tst-printfsz.c): Likewise.
22769 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22771         * include/cpio.h: New file.
22772         * include/fmtmsg.h: Likewise.
22774         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
22775         corresponding format argument to size_t.
22776         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
22777         arguments.
22778         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
22779         corresponding format argument to size_t.
22780         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
22781         arguments.
22782         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
22783         corresponding format argument to size_t.
22784         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
22785         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
22786         (CFLAGS-tst-mbswcs2.c): Likewise.
22787         (CFLAGS-tst-mbswcs3.c): Likewise.
22788         (CFLAGS-tst-mbswcs4.c): Likewise.
22789         (CFLAGS-tst-mbswcs5.c): Likewise.
22790         (CFLAGS-tst-trans.c): Likewise.
22792 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22794         * posix/regexbug1.c (main): Use "%s" format with regerror results,
22795         rather than assuming they won't contain any '%'s.
22797 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
22799         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
22800         inhibit_loop_to_libcall to avoid recursive calls.
22801         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
22802         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
22804 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22806         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
22807         prototype.
22809 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22811         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
22812         integer value instead of boolean.
22814 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22816         * malloc/malloc.c: Fix powerof2 check.
22818 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22820         * locale/programs/locfile.h (maybe_swap_uint32):
22821         Remove inline and add unused attribute.
22823 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22825         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
22826         Truncating assembler expression to a .long expression.
22828 2014-12-11  Andreas Schwab  <schwab@suse.de>
22830         * elf/rtld.c (struct map_args): Constify str member.
22831         (do_preload): Constify fname argument.
22833 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22835         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
22836         constants definition.
22838 2014-12-11  Andreas Schwab  <schwab@suse.de>
22840         [BZ #16657]
22841         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
22842         FORCE_ELISION instead of DO_ELISION.
22843         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
22844         Remove.
22845         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
22846         Likewise.
22848         * iconvdata/gconv-modules: Remove duplicate entry.
22850 2014-12-11  Will Newton  <will.newton@linaro.org>
22852         Merge gettext 0.19.3 into intl/.
22854         This involves a number of cosmetic changes to comments
22855         and ANSI function definitions and prototypes throughout
22856         all the files. The gettext copyright header is used but
22857         with the date ranges taken from the glibc copy.
22859         * NEWS: Add gettext merge to 2.21.
22860         * intl/bindtextdom.c: Switch to gettext copyright.
22861         Use ANSI definitions and prototypes.
22862         Use gl_* locking primitives rather than __libc_* ones.
22863         Use __builtin_expect rather than __glibc_likely/unlikely.
22864         * intl/dcgettext.c: Switch to gettext copyright.
22865         Use ANSI definitions and prototypes.
22866         * intl/dcigettext.c: Switch to gettext copyright.
22867         Use ANSI definitions and prototypes.
22868         (INTDIV0_RAISES_SIGFPE): New define.
22869         Use gl_* locking primitives rather than __libc_* ones.
22870         Include eval-plural.h instead of plural-eval.c.
22871         Use __builtin_expect rather than __glibc_likely/unlikely.
22872         * intl/dcngettext.c: Switch to gettext copyright.
22873         Use ANSI definitions and prototypes.
22874         * intl/dgettext.c: Likewise.
22875         * intl/dngettext.c: Likewise.
22876         * intl/plural-eval.c: Renamed to...
22877         * intl/eval-plural.h: ...this.
22878         * intl/explodename.c: Switch to gettext copyright.
22879         Use ANSI definitions and prototypes.
22880         (_nl_explode_name): Use strchr instead of __rawmemchr.
22881         * intl/finddomain.c: Switch to gettext copyright.
22882         Use ANSI definitions and prototypes.
22883         Use gl_* locking primitives rather than __libc_* ones.
22884         (_nl_find_domain): Use malloc rather than alloca for
22885         allocation of temporary locale name.
22886         * intl/gettext.c: Switch to gettext copyright.
22887         Use ANSI definitions and prototypes.
22888         * intl/gettextP.h: Switch to gettext copyright.
22889         Use ANSI definitions and prototypes.
22890         Use gl_* locking primitives rather than __libc_* ones.
22891         * intl/gmo.h: Switch to gettext copyright.
22892         (struct sysdep_string): Move struct segment_pair outside of
22893         struct definition.
22894         * intl/hash-string.c: Use ANSI definitions and prototypes.
22895         * intl/hash-string.h: Switch to gettext copyright.
22896         Use ANSI definitions and prototypes.
22897         * intl/l10nflist.c: Switch to gettext copyright.
22898         Use ANSI definitions and prototypes.
22899         (_nl_normalize_codeset): Avoid integer overflow.
22900         * intl/loadinfo.h: Switch to gettext copyright.
22901         Use ANSI definitions and prototypes.
22902         (LIBINTL_DLL_EXPORTED): New define.
22903         (PATH_SEPARATOR): New define.
22904         * intl/loadmsgcat.c: Switch to gettext copyright.
22905         * intl/localealias.c: Switch to gettext copyright.
22906         Use ANSI definitions and prototypes.
22907         (_nl_expand_alias): Use PATH_SEPARATOR.
22908         * intl/ngettext.c: Switch to gettext copyright.
22909         Use ANSI definitions and prototypes.
22910         * intl/plural-exp.c: Likewise.
22911         * intl/plural-exp.h: Switch to gettext copyright.
22912         Use ANSI definitions and prototypes.
22913         (struct expression): Move definition of enum operator outside
22914         of struct definition.
22915         * intl/plural.c: Regenerate.
22916         * intl/plural.y: Switch to gettext copyright.
22917         Use ANSI definitions and prototypes.
22918         Port to bison 3.0.
22919         * intl/textdomain.c: Switch to gettext copyright.
22920         Use ANSI definitions and prototypes.
22921         Use gl_* locking primitives rather than __libc_* ones.
22923 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
22925         * debug/warning-nop.c: Add used atrribute.
22927 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22929         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
22931         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
22932         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
22933         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
22935 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22936             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22938         [BZ #17634]
22939         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
22940         Undefine after defining function.  Define as weak alias of
22941         __wcschr.  Use libc_hidden_weak.
22942         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
22943         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
22944         (libc_hidden_def): Also define __GI___wcschr alias.
22945         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
22946         __wcschr and define as weak alias of __wcschr.
22947         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
22948         __wcschr.
22949         [!WCSCHR] (DEFAULT_WCSCHR): Define.
22950         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
22951         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
22952         libc_hidden_weak.  Do not use libc_hidden_def.
22953         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
22954         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
22955         __GI___wcschr alias.
22956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
22957         [IS_IN (libc)] (wcschr): Define as macro expanding to
22958         __redirect_wcschr.
22959         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
22960         [IS_IN (libc)] (__wcschr_power6): Likewise.
22961         [IS_IN (libc)] (__wcschr_power7): Likewise.
22962         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
22963         instead of wcschr.
22964         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
22965         __libc_wcschr.
22966         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
22967         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
22968         __wcschr and define as weak alias of __wcschr.  Use
22969         libc_hidden_builtin_def.
22970         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
22971         as weak alias of __wcschr.  Use libc_hidden_weak.
22972         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
22973         wcschr.
22974         * time/era.c (_nl_init_era_entries): Likewise.
22975         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
22976         variable.
22977         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22978         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22980 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22982         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
22983         format for long int variable.
22985 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
22987         [BZ #10672]
22988         * manual/search.texi: (Array Sort Function): Remove claim how to make
22989         qsort stable.
22991 2014-12-10  Andreas Schwab  <schwab@suse.de>
22993         [BZ #12847]
22994         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
22995         user-controlled locks.
22997 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
22999         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
23000         register.
23002 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
23004         * configure.ac (--disable-werror): New configure option.
23005         (enable_werror): New AC_SUBST.
23006         * configure: Regenerated.
23007         * config.make.in (enable-werror): New variable.
23008         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
23009         -Wno-error=undef.
23010         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
23011         * manual/install.texi (Configuring and compiling): Document
23012         --disable-werror.
23013         * INSTALL: Regenerated.
23014         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
23015         (CFLAGS-tst-chk2.c): Likewise.
23016         (CFLAGS-tst-chk3.c): Likewise.
23017         (CFLAGS-tst-chk4.cc): Likewise.
23018         (CFLAGS-tst-chk5.cc): Likewise.
23019         (CFLAGS-tst-chk6.cc): Likewise.
23020         (CFLAGS-tst-lfschk1.c): Likewise.
23021         (CFLAGS-tst-lfschk2.c): Likewise.
23022         (CFLAGS-tst-lfschk3.c): Likewise.
23023         (CFLAGS-tst-lfschk4.cc): Likewise.
23024         (CFLAGS-tst-lfschk5.cc): Likewise.
23025         (CFLAGS-tst-lfschk6.cc): Likewise.
23027         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
23028         (main): Disable -Wdeprecated-declarations around calls to
23029         register_printf_function.
23031         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
23032         (do_test): Disable -Wdiv-by-zero around some calls to
23033         fwrite_unlocked and fread_unlocked.
23035         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
23036         (DIAG_POP_NEEDS_COMMENT): Likewise.
23037         (_DIAG_STR1): Likewise.
23038         (_DIAG_STR): Likewise.
23039         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
23040         * stdio-common/bug21.c: Include <libc-internal.h>.
23041         (do_test): Disable -Wformat around call to sscanf.
23042         * stdio-common/scanf14.c: Include <libc-internal.h>.
23043         (main): Disable -Wformat around some calls to scanf functions.
23045 2014-12-09  Torvald Riegel  <triegel@redhat.com>
23047         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
23049 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23051         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
23052         stack variable alignment.
23054 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
23056         [BZ #17682]
23057         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
23058         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
23059         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
23060         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
23061         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
23062         __getrlimit instead of getrlimit.
23063         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
23064         __gettimeofday instead of gettimeofday.
23065         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23066         Likewise.
23067         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23068         Likewise.
23069         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23070         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
23071         Remove variable.
23072         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23073         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23075 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23077         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
23078         for wide-character tests.
23080 2014-12-04  Roland McGrath  <roland@hack.frob.com>
23082         * io/openat64.c: #include <libc-internal.h>
23083         (__openat64): Prototypify.  Use ignore_value on MODE.
23084         * io/openat.c: Likewise.
23085         * misc/reboot.c: #include <libc-internal.h>
23086         (reboot): Prototypify.  Use ignore_value on HOWTO.
23087         * misc/ptrace.c: #include <libc-internal.h>
23088         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
23090 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
23092         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
23093         XPG4, UNIX98 and XOPEN2K.
23094         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
23095         Remove variable.
23096         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23098 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23100         * libio/fileops.c: Use ISO C style for function definitions.
23101         * libio/iofopen.c: Likewise.
23102         * libio/wfileops.c: Likewise.
23104         [BZ #17653]
23105         * libio/fileops.c (_IO_new_file_underflow): Unset cached
23106         offset on EOF.
23107         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
23108         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
23109         (fgets_func): Function pointer to fgets and fgetws.
23110         (do_ftell_test): Add test to verify ftell value after read
23111         EOF.
23112         (do_test): Set fgets_func.
23114         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
23115         O_TRUNC flag for w and w+ modes.
23116         (do_rewind_test): Likewise.
23117         (do_ftell_test): Likewise.
23118         (do_write_test): Likewise.
23120         [BZ #17647]
23121         * libio/fileops.c (do_ftell): Seek only when there are
23122         unflushed writes.
23123         * libio/wfileops.c (do_ftell_wide): Likewise.
23124         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
23125         test case.
23126         (do_one_test): Call it.
23128 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
23130         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
23131         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
23132         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
23133         Remove variable.
23134         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23135         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23136         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23138 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23140         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
23141         Remove variable.
23142         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23144         [BZ #17668]
23145         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
23146         as weak alias of __getifaddrs.  Use libc_hidden_weak.
23147         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23148         __freeifaddrs.  Use libc_hidden_weak.
23149         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
23150         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
23151         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23152         __freeifaddrs.  Use libc_hidden_weak.
23153         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
23154         __getifaddrs and define as weak alias of __getifaddrs.  Use
23155         libc_hidden_weak.
23156         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23157         __freeifaddrs.  Use libc_hidden_weak.
23158         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
23159         Remove variable.
23160         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23161         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23163 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
23165         [BZ #17601]
23166         * sysdeps/mips/start.S (__start): Use indirect jump to call
23167         __libc_start_main.
23169 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
23171         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
23173         * nptl/tst-mutex1.c: Include <stdbool.h>.
23174         [!ATTR] (ATTR_NULL): New macro.
23175         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
23176         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
23177         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
23179         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
23180         to char *.
23182         [BZ #17665]
23183         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
23184         Change conditional to [__USE_MISC].
23186         [BZ #17664]
23187         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
23188         fgets_unlocked.
23189         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
23190         __fgets_unlocked.
23191         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
23192         fgets_unlocked.
23193         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
23194         Remove variable.
23195         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23196         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23197         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23198         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23199         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23200         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23201         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23202         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23203         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23205         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
23207 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23209         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23210         Remove strpbrk objects.
23211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23212         (__libc_ifunc_impl_list): Remove strpbrk implementation.
23213         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
23214         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
23215         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
23216         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
23218         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23219         Remove strcspn objects.
23220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23221         (__libc_ifunc_impl_list): Remove strcspn implementation.
23222         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
23223         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
23224         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
23225         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
23227         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23228         Remove strspn objetcs.
23229         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23230         (__libc_ifunc_impl_list): Remove strspn implementation.
23231         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
23232         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23233         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
23234         * sysdeps/powerpc/powerpc64/strspn.S: New file.
23236 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
23238         [BZ #17581]
23239         * malloc/hooks.c
23240         (mem2mem_check): Add a terminator to the chain of checking blocks.
23241         (malloc_check_get_size): Use it here.
23242         (mem2chunk_check): Ditto.
23244 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23246         * sysdeps/powerpc/powerpc64/strtok.S: New file.
23247         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
23249 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
23251         * bits/ioctl-types.h: Indent preprocessor directives correctly.
23253         * nptl/nptl-init.c: Include libc-internal.h.
23254         (__pthread_initialize_minimal_internal): Use ROUND_UP.
23256         * elf/ldconfig.c (search_dir): Expand comment.
23258 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
23260         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
23261         variable.
23262         (linknamespace-symlist-stdlibs-tests): Likewise.
23263         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
23264         instead of $(objpfx)symlist-stdlibs.
23265         (linknamespace-libs-isoc): New variable.
23266         (linknamespace-libs): Use $(linknamespace-libs-isoc).
23267         (linknamespace-libs-ISO): New variable.
23268         (linknamespace-libs-ISO99): Likewise.
23269         (linknamespace-libs-ISO11): Likewise.
23270         (linknamespace-libs-XPG3): Likewise.
23271         (linknamespace-libs-XPG4): Likewise.
23272         (linknamespace-libs-POSIX): Likewise.
23273         (linknamespace-libs-UNIX98): Likewise.
23274         (linknamespace-libs-XOPEN2K): Likewise.
23275         (linknamespace-libs-POSIX2008): Likewise.
23276         (linknamespace-libs-XOPEN2K8): Likewise.
23277         ($(objpfx)symlist-stdlibs): Replace by
23278         $(linknamespace-symlist-stdlibs-tests).  Use
23279         $(linknamespace-libs-$*) as set of libraries.
23280         ($(linknamespace-header-tests)): Update dependencies.  Use
23281         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
23282         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
23283         * conform/linknamespace.pl: Remove comment about considering
23284         definitions of symbols from irrelevant libraries.
23286 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
23288         [BZ #13862]
23289         * elf/dl-tls.c: Include <atomic.h>.
23290         (oom): Remove #ifdef SHARED/#endif.
23291         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
23292         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
23293         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
23294         big enough.
23295         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
23296         * nptl/Makefile (tests): Add tst-stack4.
23297         (modules-names): Add tst-stack4mod.
23298         ($(objpfx)tst-stack4): New.
23299         (tst-stack4mod.sos): Likewise.
23300         ($(objpfx)tst-stack4.out): Likewise.
23301         ($(tst-stack4mod.sos)): Likewise.
23302         (clean): Likewise.
23303         * nptl/tst-stack4.c: New file.
23304         * nptl/tst-stack4mod.c: Likewise.
23306 2014-11-27  J. Brown  <jb999@gmx.de>
23308         * sysdeps/x86/bits/string.h: Add recent CPUs.
23310 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23312         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
23313         sigblock.
23315         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
23316         feof.
23318         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
23319         variable.
23321 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
23323         * nscd/connections.c: Include libc-internal.h because of macro
23324         usage ignore_value.
23326 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23328         * string/bits/string3.h (__warn_memset_zero_len): Don't
23329         declare for gcc newer than 5.0.
23330         (memset): Don't test for zero-length __LEN for gcc newer than
23331         5.0.
23333 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23335         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
23336         size_t for %zu format.
23338         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
23339         difference, not %ju.
23341 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23343         * include/libc-internal.h (ignore_value): New macro.
23344         * nscd/connections.c (restart): Wrap calls to setuid and setgid
23345         with ignore_value.
23347         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
23348         definition.
23350         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
23351         pthread_cleanup_push to void *.
23353         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
23354         Undefine.
23356         [BZ #16619]
23357         [BZ #16740]
23358         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
23359         instead of 1L << 52.
23361         * libio/bug-rewind.c (do_test): Check fwscanf return values.
23362         * libio/bug-rewind2.c (do_test): Likewise.
23364         * debug/test-stpcpy_chk-ifunc.c: Remove file.
23365         * debug/test-strcpy_chk-ifunc.c: Likewise.
23366         * wcsmbs/test-wcschr-ifunc.c: Likewise.
23367         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23368         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23369         * wcsmbs/test-wcslen-ifunc.c: Likewise.
23370         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23371         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23372         * Rules [$(multi-arch) = no] (tests): Do not filter out
23373         $(tests-ifunc).
23374         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
23375         * debug/Makefile (tests-ifunc): Remove variable.
23376         (tests): Do not add $(tests-ifunc).
23377         * wcsmbs/Makefile (tests-ifunc): Remove variable.
23378         (tests): Do not add $(tests-ifunc).
23379         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
23380         [TEST_IFUNC]: Remove conditionals.
23381         * string/test-string.h (TEST_IFUNC): Remove macro.
23382         [TEST_IFUNC]: Remove conditionals.
23384         * string/test-strchr.c [!WIDE] (L): New macro.
23385         [WIDE] (L): Likewise.
23386         (check1): Use CHAR instead of char.  Use L on string and character
23387         constants.
23389 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
23391         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
23392         tests.
23393         * sysdeps/powerpc/bits/atomic.h
23394         (__arch_atomic_exchange_and_add_32_acq): Add definition.
23395         (__arch_atomic_exchange_and_add_32_rel): Likewise.
23396         (atomic_exchange_and_add_acq): Likewise.
23397         (atomic_exchange_and_add_rel): Likewise.
23398         * sysdeps/powerpc/powerpc32/bits/atomic.h
23399         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23400         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23401         * sysdeps/powerpc/powerpc64/bits/atomic.h
23402         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23403         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23405 2014-11-26  Torvald Riegel  <triegel@redhat.com>
23407         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
23408         Change synchronization of __sched_fifo_min_prio and
23409         __sched_fifo_max_prio.
23410         * nptl/pthread_mutexattr_getprioceiling.c
23411         (pthread_mutexattr_getprioceiling): Likewise.
23412         * nptl/pthread_mutexattr_setprioceiling.c
23413         (pthread_mutexattr_setprioceiling): Likewise.
23414         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23415         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
23416         Likewise.
23418 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23420         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
23421         void.
23423 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23425         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
23426         third argument const.
23428 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
23430         fnmatch: work around GCC compiler warning bug with uninit var
23431         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
23432         This works around a bug with x86-64 GCC 4.9.2 and earlier
23433         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
23434         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
23435         used uninitialized in this function [-Wmaybe-uninitialized]".
23437 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23439         * posix/bug-regex31.c (main): Return RES not 0.
23441 2014-11-25  Anton Blanchard <anton@samba.org>
23443         * sysdeps/powerpc/bits/atomic.h
23444         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
23446 2014-11-24  Sterling Augustine  <saugustine@google.com>
23448         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
23450 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
23452         [BZ #17608]
23453         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
23455 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
23457         [BZ #17633]
23458         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
23459         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
23460         variable.
23461         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23462         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23464 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23466         * string/strncpy.c (strncpy): Improve performance by using memset.
23468 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23470         * string/strcpy.c (strcpy):
23471         Improve performance by using strlen and memcpy.
23473 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
23475         * string/strcoll_l.c (get_next_seq): __always_inline.
23476         * string/strcoll_l.c (do_compare): __always_inline.
23478 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23480         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
23481         defined.
23482         * include/mqueue.h: Likewise.
23483         * include/stdlib.h: Likewise.
23485         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
23486         (get_null_defines): Adjust.
23487         * sunrpc/Makefile: Adjust comment.
23488         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
23489         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
23490         (CFLAGS-interp.c): Likewise.
23491         (CFLAGS-ldconfig.c): Likewise.
23492         (CPPFLAGS-.os): Likewise.
23493         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23494         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23495         * extra-modules.mk (extra-modules.mk): Likewise.
23496         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
23497         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
23498         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
23499         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
23500         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
23501         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
23502         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
23503         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
23504         * iconvdata/Makefile (CPPFLAGS): Likewise.
23505         (cpp-srcs-left): Add libof for all iconvdata routines.
23506         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
23507         * include/assert.h: Likewise.
23508         * include/ctype.h: Likewise.
23509         * include/errno.h: Likewise.
23510         * include/libc-symbols.h: Likewise.
23511         * include/math.h: Likewise.
23512         * include/netdb.h: Likewise.
23513         * include/resolv.h: Likewise.
23514         * include/stdio.h: Likewise.
23515         * include/stdlib.h: Likewise.
23516         * include/string.h: Likewise.
23517         * include/sys/stat.h: Likewise.
23518         * include/wctype.h: Likewise.
23519         * intl/l10nflist.c: Likewise.
23520         * libidn/idn-stub.c: Likewise.
23521         * libio/libioP.h: Likewise.
23522         * nptl/libc_multiple_threads.c: Likewise.
23523         * nptl/pthreadP.h: Likewise.
23524         * posix/regex_internal.h: Likewise.
23525         * resolv/res_hconf.c: Likewise.
23526         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
23527         * sysdeps/arm/memmove.S: Likewise.
23528         * sysdeps/arm/sysdep.h: Likewise.
23529         * sysdeps/generic/_itoa.h: Likewise.
23530         * sysdeps/generic/symbol-hacks.h: Likewise.
23531         * sysdeps/gnu/errlist.awk: Likewise.
23532         * sysdeps/gnu/errlist.c: Likewise.
23533         * sysdeps/i386/i586/memcpy.S: Likewise.
23534         * sysdeps/i386/i586/memset.S: Likewise.
23535         * sysdeps/i386/i686/memcpy.S: Likewise.
23536         * sysdeps/i386/i686/memmove.S: Likewise.
23537         * sysdeps/i386/i686/mempcpy.S: Likewise.
23538         * sysdeps/i386/i686/memset.S: Likewise.
23539         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23540         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23541         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
23542         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
23543         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23544         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23545         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
23546         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23547         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23548         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23549         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23550         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23551         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23552         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23553         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23554         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23555         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
23556         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
23557         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
23558         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23559         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23560         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23561         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23562         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23563         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23564         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23565         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
23566         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23567         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
23568         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23569         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23570         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23571         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23572         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23573         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23574         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23575         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23576         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23577         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23578         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23579         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23580         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23581         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23582         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23583         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23584         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23585         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
23586         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
23587         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23588         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23589         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23590         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
23591         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
23592         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23593         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23594         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
23595         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23596         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
23597         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
23598         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23599         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23600         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23601         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
23602         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23603         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23604         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
23605         * sysdeps/posix/closedir.c: Likewise.
23606         * sysdeps/posix/opendir.c: Likewise.
23607         * sysdeps/posix/readdir.c: Likewise.
23608         * sysdeps/posix/rewinddir.c: Likewise.
23609         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
23610         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
23611         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23612         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23613         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23614         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
23615         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
23616         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
23617         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
23618         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
23619         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
23620         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
23621         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
23622         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
23623         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
23624         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
23625         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
23626         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
23627         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
23628         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
23629         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
23630         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
23631         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
23632         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
23633         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
23634         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
23635         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
23636         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
23637         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
23638         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
23639         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
23640         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
23641         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
23642         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
23643         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
23644         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
23645         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23646         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23647         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
23648         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
23649         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
23650         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
23651         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
23652         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23653         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23654         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
23655         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
23656         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
23657         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
23658         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
23659         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
23660         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
23661         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
23662         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
23663         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
23664         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
23665         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
23666         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
23667         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
23668         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
23669         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23670         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
23671         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
23672         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
23673         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
23674         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23675         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
23676         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
23677         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
23678         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
23679         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23680         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
23681         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
23682         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
23683         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
23684         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
23685         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
23686         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
23687         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23688         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
23689         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
23690         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23691         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
23692         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
23693         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23694         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
23695         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
23696         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23697         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23698         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23699         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
23700         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
23701         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
23702         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23703         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23704         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
23705         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23706         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23707         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
23708         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
23709         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23710         * sysdeps/unix/alpha/sysdep.S: Likewise.
23711         * sysdeps/unix/alpha/sysdep.h: Likewise.
23712         * sysdeps/unix/make-syscalls.sh: Likewise.
23713         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23714         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23715         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23716         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
23717         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23718         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23719         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
23720         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23721         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23722         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
23723         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23724         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23725         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23726         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23727         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23728         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23729         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23730         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23731         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23732         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23733         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23734         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23735         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23736         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23737         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23738         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23739         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23742         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
23743         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23744         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23745         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23746         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23747         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23748         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23749         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23750         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23751         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23752         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23753         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23754         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23755         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23756         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23757         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23758         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23759         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23760         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23761         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23762         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23763         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23764         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23765         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23766         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23767         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
23768         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23769         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23770         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23771         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
23772         * sysdeps/x86_64/memcpy.S: Likewise.
23773         * sysdeps/x86_64/memmove.c: Likewise.
23774         * sysdeps/x86_64/memset.S: Likewise.
23775         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
23776         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23777         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23778         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
23779         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
23780         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23781         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23782         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23783         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23784         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23785         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23786         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23787         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
23788         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23789         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23790         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
23791         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23792         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23793         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23794         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23795         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
23796         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23797         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23798         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23799         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23800         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23801         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23802         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
23803         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23804         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23805         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
23806         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23807         * sysdeps/x86_64/strcmp.S: Likewise.
23809         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
23811         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
23812         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
23813         * elf/rtld-Rules: Likewise.
23814         * elf/setup-vdso.h: Likewise.
23815         * include/assert.h: Likewise.
23816         * include/bits/stdlib-float.h: Likewise.
23817         * include/errno.h: Likewise.
23818         * include/sys/stat.h: Likewise.
23819         * include/unistd.h: Likewise.
23820         * sysdeps/aarch64/setjmp.S: Likewise.
23821         * sysdeps/alpha/setjmp.S: Likewise.
23822         * sysdeps/arm/__longjmp.S: Likewise.
23823         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
23824         * sysdeps/arm/setjmp.S: Likewise.
23825         * sysdeps/arm/sysdep.h: Likewise.
23826         * sysdeps/generic/_itoa.h: Likewise.
23827         * sysdeps/generic/dl-sysdep.h: Likewise.
23828         * sysdeps/generic/ldsodefs.h: Likewise.
23829         * sysdeps/i386/dl-tls.h: Likewise.
23830         * sysdeps/i386/setjmp.S: Likewise.
23831         * sysdeps/m68k/setjmp.c: Likewise.
23832         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
23833         * sysdeps/mach/hurd/opendir.c: Likewise.
23834         * sysdeps/posix/getcwd.c: Likewise.
23835         * sysdeps/posix/opendir.c: Likewise.
23836         * sysdeps/posix/profil.c: Likewise.
23837         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23838         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23839         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23840         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23841         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23842         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
23843         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23844         * sysdeps/s390/dl-tls.h: Likewise.
23845         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23846         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23847         * sysdeps/sh/sh3/setjmp.S: Likewise.
23848         * sysdeps/sh/sh4/setjmp.S: Likewise.
23849         * sysdeps/unix/alpha/sysdep.h: Likewise.
23850         * sysdeps/unix/arm/sysdep.S: Likewise.
23851         * sysdeps/unix/i386/sysdep.S: Likewise.
23852         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23853         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23854         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23855         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23856         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23857         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23858         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23859         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23860         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23861         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23862         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23863         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23864         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23867         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23868         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23869         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23870         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23871         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23872         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23873         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23874         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23875         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23876         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23877         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23878         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23879         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23880         * sysdeps/x86_64/setjmp.S: Likewise.
23882         * include/math.h: Use IS_IN instead of IS_IN_libm.
23883         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
23884         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23885         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23886         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
23887         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23888         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23889         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23890         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23891         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23892         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23893         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
23894         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
23895         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
23896         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
23897         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
23898         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
23899         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
23900         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
23901         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
23902         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
23903         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
23904         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
23905         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
23906         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
23907         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
23908         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
23909         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
23910         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
23911         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
23912         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
23913         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
23914         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23915         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23917         Likewise.
23918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
23919         Likewise.
23920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
23921         Likewise.
23922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
23923         Likewise.
23924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
23925         Likewise.
23926         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23927         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
23928         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23929         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23930         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23931         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
23933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
23934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
23935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
23936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
23937         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
23938         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
23939         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23940         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23941         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23942         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23943         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23944         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23945         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23946         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
23947         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
23948         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
23949         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
23950         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
23951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23952         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
23954         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
23955         * nptl/pthreadP.h: Likewise.
23956         * nptl_db/structs.def: Likewise.
23957         * sysdeps/arm/sysdep.h: Likewise.
23958         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23959         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23960         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
23961         * sysdeps/unix/alpha/sysdep.h: Likewise.
23962         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23963         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23964         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23965         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23966         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23967         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23968         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23969         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23970         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23971         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23972         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23973         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23974         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23975         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23978         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23979         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23980         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23981         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23982         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23983         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23984         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23985         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23986         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
23987         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23989         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
23990         * nptl/pthreadP.h: Likewise.
23991         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23992         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23993         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23994         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23995         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23996         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23997         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23998         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23999         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24000         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24001         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24002         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24004         Likewise.
24005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24006         Likewise.
24007         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24008         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24009         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24010         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24011         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24012         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24013         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24014         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24016         * dlfcn/dladdr.c: Use IS_IN.
24017         * dlfcn/dladdr1.c: Likewise.
24018         * dlfcn/dlclose.c: Likewise.
24019         * dlfcn/dlerror.c: Likewise.
24020         * dlfcn/dlinfo.c: Likewise.
24021         * dlfcn/dlmopen.c: Likewise.
24022         * dlfcn/dlopen.c: Likewise.
24023         * dlfcn/dlsym.c: Likewise.
24024         * dlfcn/dlvsym.c: Likewise.
24026         * include/ifaddrs.h: Use IS_IN.
24027         * inet/check_pf.c: Likewise.
24028         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24029         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
24031         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
24032         IS_IN_ldconfig.
24033         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
24034         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
24036         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
24037         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
24038         IS_IN (libc).
24040         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
24042         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
24043         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24044         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24045         * include/libc-symbols.h (IS_IN_LIB): New macro.
24046         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
24047         * include/netdb.h: Likewise.
24048         * include/stap-probe.h: Remove all uses of IN_LIB.
24050         * Makeconfig (module-cppflags-real): Define MODULE_NAME
24051         instead of IN_MODULE.
24052         * include/libc-symbols.h (IN_MODULE): Define using
24053         MODULE_NAME.
24054         (PASTE_NAME, PASTE_NAME1): New macros.
24055         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
24056         of IN_LIB.
24057         (STAP_PROBE_ASM): Likewise.
24059 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24061         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
24062         __mach_init in dlopened libc.
24064 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
24066         * sysdeps/arm/preconfigure.ac: Delete EABI check.
24067         * sysdeps/arm/preconfigure: Regenerate.
24069 2014-11-21  Roland McGrath  <roland@hack.frob.com>
24071         * nptl/pthread_create.c (__pthread_create_2_1): Set
24072         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
24073         when copying values from IATTR into PD.
24075 2014-11-21  Will Newton  <will.newton@linaro.org>
24076             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
24078         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
24079         Refactor inline-asm.  Also add comment.
24081         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
24082         ElfW macro instead of hardcoded Elf64 types.
24083         (la_aarch64_gnu_pltenter): Likewise.
24084         * sysdeps/aarch64/dl-machine.h
24085         (elf_machine_runtime_setup): Use ElfW(Addr).
24087         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
24088         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
24089         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
24090         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
24091         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
24092         (R_AARCH64_TLS_DTPMOD64): Rename to ..
24093         (R_AARCH64_TLS_DTPMOD): This.
24094         (R_AARCH64_TLS_DTPREL64): Rename to ...
24095         (R_AARCH64_TLS_DTPREL): This.
24096         (R_AARCH64_TLS_TPREL64): Rename to ...
24097         (R_AARCH64_TLS_TPREL): This.
24098         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
24099         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
24100         R_AARCH64_TLS_TPREL64.
24101         (elf_machine_rela): Likewise.
24103 2014-11-21  Torvald Riegel  <triegel@redhat.com>
24105         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
24106         by setting it to 0.  64b atomics are not supported currently.
24108 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24110         [BZ #16469]
24111         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
24112         search domain names.
24114 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24116         [BZ #16469]
24117         * NEWS: Update.
24118         * resolv/res_query.c (__libc_res_nquerydomain): Retain
24119         trailing dot.
24120         * posix/tst-getaddrinfo5.c: New.
24121         * posix/Makefile (tests): Add it.
24123 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24125         [BZ #14498]
24126         * NEWS: Fixed.
24127         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
24128         after parsing line but before break_if_match.
24129         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
24130         if there is a protocol mismatch.
24132 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
24134         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
24135         because the potential race is on the user-supplied stream.
24137 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24139         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
24140         string literal if not passed a buffer.
24141         * manual/job.texi (ctermid): Update reasoning, note deviation
24142         from posix, suggest mtasurace when not passed a buffer, for
24143         future non-preliminary safety notes.
24145 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24147         * manual/users.texi (cuserid): Fix MT-Safety note for the case
24148         of not passing it a buffer.
24149         Reported by Peng Haitao.
24151 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
24153         * manual/Makefile ($(objpfx)stamp-summary): Require
24154         check-safety.sh to pass.
24155         * manual/check-safety.sh: Wish for verification that every
24156         @deftypefn and @deftypefun is followed by a @safety remark.
24158 2014-11-20  Roland McGrath  <roland@hack.frob.com>
24160         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
24162         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
24163         PTHREAD_CANCEL_ASYNCHRONOUS.
24164         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
24165         send SIGCANCEL.
24167         * nptl/default-sched.h: New file.
24168         * sysdeps/unix/sysv/linux/default-sched.h: New file.
24169         * nptl/pthread_create.c: Include it.
24170         (__pthread_create_2_1): Use collect_default_sched instead of making
24171         Linux syscalls here directly.
24173 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24175         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
24176         __pthread_once): Use C11 atomics.
24178 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24180         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
24182 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24184         * include/atomic.h (__atomic_link_error, __atomic_check_size,
24185         atomic_thread_fence_acquire, atomic_thread_fence_release,
24186         atomic_thread_fence_seq_cst, atomic_load_relaxed,
24187         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
24188         atomic_compare_exchange_weak_relaxed,
24189         atomic_compare_exchange_weak_acquire,
24190         atomic_compare_exchange_weak_release,
24191         atomic_exchange_acquire, atomic_exchange_release,
24192         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
24193         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
24194         atomic_fetch_and_acquire,
24195         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
24197 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24199         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
24200         USE_ATOMIC_COMPILER_BUILTINS): Define.
24201         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
24202         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24203         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
24204         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24205         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
24206         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24207         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
24208         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24209         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
24210         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24211         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
24212         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24213         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
24214         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24215         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
24216         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24217         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24218         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24219         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24220         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24221         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
24222         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24223         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24224         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24225         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
24226         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24227         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24228         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24229         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
24230         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24231         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
24232         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24233         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
24234         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24235         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24236         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24237         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
24238         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24239         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
24240         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24242 2014-11-19  Roland McGrath  <roland@hack.frob.com>
24244         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
24245         the sched_priority value here.  It was already checked when the user
24246         called pthread_attr_setschedparam.
24248         * nptl/tst-bad-schedattr.c: New file.
24249         * nptl/Makefile (tests): Add it.
24251 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
24252             Florian Weimer  <fweimer@redhat.com>
24253             Joseph Myers  <joseph@codesourcery.com>
24254             Adam Conrad  <adconrad@0c3.net>
24255             Andreas Schwab  <schwab@suse.de>
24256             Brooks  <bmoses@google.com>
24258         [BZ #17625]
24259         * wordexp-test.c (__dso_handle): Add prototype.
24260         (__register_atfork): Likewise.
24261         (__app_register_atfork): New function.
24262         (registered_forks): New global.
24263         (register_fork): New function.
24264         (test_case): Add 3 new tests for WRDE_CMDSUB.
24265         (main): Call __app_register_atfork.
24266         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
24267         fork count is non-zero fail the test.
24268         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
24269         is set.
24270         (parse_dollars): Remove check for WRDE_NOCMD.
24271         (parse_dquote): Likewise.
24273 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24275         * Makeconfig (built-modules): List non-library modules to be
24276         built.
24277         (module-cppflags): Include libc-modules.h for
24278         everything except shlib-versions.v.i.
24279         (CPPFLAGS): Use it.
24280         (before-compile): Add libc-modules.h.
24281         ($(common-objpfx)libc-modules.h,
24282         $(common-objpfx)libc-modules.stmp): New targets.
24283         (common-generated): Add libc-modules.h and libc-modules.stmp.
24284         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
24285         * include/libc-symbols.h: Don't include libc-modules.h.
24286         * include/libc-modules.h: Remove file.
24287         * scripts/gen-libc-modules.awk: New script to generate
24288         libc-modules.h.
24289         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
24290         Depend on libc-modules.stmp.
24292         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
24294         * Makeconfig (in-module): Get value of libof set for the
24295         translation unit.
24296         (CPPFLAGS): Use $(in-module).
24297         * Makerules: Don't suffix routine names for nonlib.
24298         * include/libc-modules.h: New file.
24299         * include/libc-symbols.h: Include libc-modules.h
24300         (IS_IN): New macro to replace IS_IN_* macros.
24301         * elf/Makefile: Set libof-* for each routine.
24302         * elf/rtld-Rules: Likewise.
24303         * extra-modules.mk: Likewise.
24304         * iconv/Makefile: Likewise.
24305         * iconvdata/Makefile: Likewise.
24306         * locale/Makefile: Likewise.
24307         * malloc/Makefile: Likewise.
24308         * nss/Makefile: Likewise.
24309         * sysdeps/gnu/Makefile: Likewise.
24310         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
24311         * sysdeps/unix/sysv/linux/Makefile: Likewise.
24312         * sysdeps/s390/s390-64/Makefile: Likewise.
24313         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
24314         CPPFLAGS for nscd instead of nonlib.
24316 2014-11-18  Roland McGrath  <roland@hack.frob.com>
24318         * nptl/createthread.c: New file.
24320         * nptl/createthread.c: Moved ...
24321         * sysdeps/unix/sysv/linux/createthread.c: ... here.
24323         * nptl/createthread.c: Add proper top-line comment.
24324         (do_clone): Folded into ...
24325         (create_thread): ... here.  Take new arguments STOPPED_START and
24326         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
24327         increment __nptl_threads, do event-reporting logic, do
24328         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
24329         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
24330         resource cleanup if sched_setaffinity or sched_setscheduler fails,
24331         just send SIGCANCEL.
24332         * nptl/pthread_create.c: Forward-declare create_thread before
24333         including createthread.c.
24334         (start_thread): Use new macro START_THREAD_DEFN to replace defining
24335         declaration, and new macro START_THREAD_SELF to replace argument.
24336         Remove return statement.
24337         (report_thread_creation): New function.
24338         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
24339         synchronization logic, and __nptl_nthreads increment here, around
24340         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
24341         PD->parent_cancelhandling here, before create_thread.  When
24342         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
24343         __deallocate_stack, and ENOMEM translation here.
24345 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
24347         [BZ #17616]
24348         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
24349         (mptwo): Rename to __mptwo.
24350         (__inv): Use __mptwo instead of mptwo.
24351         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
24352         (mptwo): Rename to __mptwo.
24353         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
24354         of mpone and __mptwo instead of mptwo.
24355         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
24356         instead of mpone.
24357         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24358         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
24359         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
24360         of mpone and __mptwo instead of mptwo.
24361         (__mpranred): Use __mpone instead of mpone.
24362         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
24363         variable.
24364         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24365         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24366         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24367         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24368         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24369         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24370         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24371         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24372         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24373         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24374         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24375         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24376         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24377         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24378         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24379         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24380         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24381         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24382         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24384 2014-11-18  Tom de Vries  <tom@codesoucery.com>
24386         * manual/signal.texi (Primitives Interrupted by Signals): In section,
24387         replace BSD Handler xref with BSD Signal Handling.
24389 2014-11-17  Richard Henderson  <rth@redhat.com>
24391         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
24392         (_FP_PACK_RAW_2): Remove.
24393         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
24394         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
24395         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
24396         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
24397         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
24398         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
24399         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
24400         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
24401         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
24402         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
24403         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
24404         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
24405         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
24406         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
24407         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
24408         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
24410 2014-11-14  Roland McGrath  <roland@hack.frob.com>
24412         * signal/signal.h [__USE_MISC]
24413         (struct sigvec): Remove type.
24414         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
24415         (sigvec): Remove declaration.
24416         * sysdeps/posix/sigvec.c: Moved ...
24417         * signal/sigvec.c: ... here, replacing old file.
24418         (struct sigvec): New type, copied from old signal.h definition.
24419         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
24420         (__sigvec): Convert definition to prototype.
24421         (sigvec): Replace weak_alias with compat_symbol.
24422         * signal/Versions (libc: GLIBC_2.21): New version set.
24423         * include/signal.h: Remove __sigvec declaration.
24424         * sysdeps/unix/bsd/sigvec.c: Remove file.
24425         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
24426         * manual/signal.texi (BSD Handler): Remove subsection.
24427         Move siginterrupt up to ...
24428         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
24429         (Blocking in BSD): Fold subsection into its parent.
24430         * NEWS: Mention sigvec removal.
24432 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24434         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
24435         (DLA_FMS): Make definition conditional only on [__FMA4__].
24436         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
24437         definition.
24439         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
24440         Make definition conditional only on [PROF].
24441         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
24442         definition.
24443         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
24444         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
24446         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
24447         !__GNUC__].
24448         * include/signal.h (__sigpause): Move declaration above call to
24449         libc_hidden_proto.
24450         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
24451         variable.
24452         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24453         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24455 2014-11-14  David S. Miller  <davem@davemloft.net>
24457         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
24458         Define before including <string/memcpy.c> and <string/mempcpy.c>.
24460 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24462         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
24463         * configure: Regenerated.
24464         * manual/install.texi (Tools for Compilation): Document a
24465         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
24466         compiler verified to work.
24467         * INSTALL: Regenerated.
24469         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
24470         redeclare with asm name.
24471         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
24472         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
24473         including <string.h>.
24474         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24475         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
24476         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24477         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
24478         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24479         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24480         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24482 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
24484         * stdlib/strtol.c (__strtol): Use prototype definition.
24486         [BZ #17594]
24487         * stdlib/strtol.c (SYM__): New macro.
24488         (SYM__1): Likewise.
24489         (__strtol): Likewise.
24490         (strtol): Rename to __strtol and define as weak alias of
24491         __strtol.  Use libc_hidden_weak.
24493 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24495         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
24496         Use numbered labels in inline assembly.
24498 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24500         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
24501         Add setjmp LIBC_PROBE.
24502         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
24503         Likewise.
24504         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
24505         Add longjmp, longjmp_target LIBC_PROBE.
24506         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
24507         Likewise.
24509 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24511         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24512         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
24513         to get rid of unused variable warning.
24515 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24517         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
24518         Check for unwind_backtrace ==  NULL only in SHARED case.
24519         (__backchain_backtrace): Compile only in SHARED case.
24520         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
24521         Likewise.
24522         (__backchain_backtrace): Declare as static.
24524 2014-11-12  Roland McGrath  <roland@hack.frob.com>
24526         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
24527         (__libc_multiple_threads_ptr): Variable moved ...
24528         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
24530 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
24532         * conform/GlibcConform.pm: New file.
24533         * conform/conformtest.pl: Use GlibcConform module.
24534         * conform/linknamespace.pl: New file.
24535         * conform/list-header-symbols.pl: Likewise.
24536         * conform/Makefile (linknamespace-symlists-base): New variable.
24537         (linknamespace-symlists-tests): Likewise.
24538         (linknamespace-header-base): Likewise.
24539         (linknamespace-header-tests): Likewise.
24540         (tests-special): Add new tests.
24541         ($(linknamespace-symlists-tests)): New rule.
24542         (linknamespace-libs): New variable.
24543         ($(objpfx)symlist-stdlibs): New rule.
24544         ($(linknamespace-header-tests)): Likewise.
24545         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
24546         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
24547         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
24548         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
24549         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
24550         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
24551         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
24552         (test-xfail-ISO/math.h/linknamespace): Likewise.
24553         (test-xfail-ISO/signal.h/linknamespace): Likewise.
24554         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
24555         (test-xfail-ISO/time.h/linknamespace): Likewise.
24556         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24557         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
24558         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24559         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24560         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24561         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24562         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24563         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24564         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24565         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24566         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24567         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24568         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24569         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
24570         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
24571         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24572         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
24573         (test-xfail-XPG3/search.h/linknamespace): Likewise.
24574         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
24575         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24576         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
24577         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24578         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24579         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
24580         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24581         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24582         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
24583         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
24584         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24585         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
24586         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24587         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24588         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24589         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
24590         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
24591         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
24592         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
24593         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
24594         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24595         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
24596         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24597         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
24598         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24599         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24600         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24601         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
24602         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
24603         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24604         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24605         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
24606         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24607         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24608         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
24609         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24610         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24611         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24612         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24613         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24614         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24615         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24616         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24617         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24618         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
24619         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24620         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24621         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24622         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
24623         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24624         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24625         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
24626         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
24627         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24628         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24629         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24630         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24631         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24632         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
24633         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
24634         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
24635         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
24636         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24637         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
24638         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24639         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
24640         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
24641         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
24642         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24643         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24644         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24645         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
24646         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
24647         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
24648         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24649         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24650         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24651         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24652         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
24653         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
24654         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24655         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24656         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24657         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
24658         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24659         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24660         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24661         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
24662         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
24663         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
24664         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
24665         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24666         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24667         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
24668         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24669         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24670         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24671         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24672         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24673         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24674         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24675         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24676         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24677         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24678         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24679         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24680         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24681         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24682         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
24683         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24684         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24685         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24686         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24687         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24688         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
24689         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24690         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24691         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24692         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24693         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24694         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24695         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24696         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24697         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24698         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24699         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24700         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24701         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24702         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
24703         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24704         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24705         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24707         [BZ #17589]
24708         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
24709         of fgets_unlocked.
24711         [BZ #17585]
24712         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
24713         (memmem): Rename to __memmem and define as weak alias of
24714         __memmem.  Use libc_hidden_weak.
24715         (__memmem): Use libc_hidden_def.
24716         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
24717         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
24718         memmem.
24720         [BZ #17582]
24721         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
24722         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
24723         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
24724         and define as weak alias of __fgets_unlocked.  Use
24725         libc_hidden_weak.
24726         (__fgets_unlocked): Use libc_hidden_def.
24727         * include/stdio.h (__fgets_unlocked): Declare.  Use
24728         libc_hidden_proto.
24729         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
24730         __fgets_unlocked instead of fgets_unlocked.
24731         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
24732         (GET_NPROCS_CONF_PARSER): Likewise.
24733         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
24734         (GET_NPROCS_CONF_PARSER): Likewise.
24736         [BZ #17574]
24737         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
24738         weak alias of __wmemset.  Use libc_hidden_weak.
24739         (__wmemset): Use libc_hidden_def.
24740         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
24741         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
24742         of wmemset.
24744         [BZ #17573]
24745         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
24746         with asm name __mempcpy.
24747         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
24749         [BZ #17572]
24750         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
24751         and define as weak alias of __rawmemchr.
24752         (__rawmemchr): Do not define as strong alias of rawmemchr.
24754         [BZ #17571]
24755         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
24756         alias of __qsort_r.
24757         (qsort): Call __qsort_r instead of qsort_r.
24758         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
24759         (__qsort_r): Declare.  Call libc_hidden_proto.
24760         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
24761         instead of qsort_r.
24762         * nscd/gai.c (__qsort_r): Define to qsort_r.
24763         * posix/tst-rfc3484.c (__qsort_r): Likewise.
24764         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
24765         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
24767         [BZ #17570]
24768         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
24769         define as weak alias of __malloc_info.
24771         [BZ #17584]
24772         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
24773         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24774         (__rewinddir): Use libc_hidden_def.
24775         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
24776         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24777         (__rewinddir): Use libc_hidden_def.
24778         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
24779         weak alias of __rewinddir.  Don't use libc_hidden_def.
24780         (__rewinddir): Use libc_hidden_def.
24781         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
24782         (__rewinddir): Use libc_hidden_proto.
24783         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
24784         rewinddir.
24785         (__getcwd): Use __rewinddir instead of rewinddir.
24787         [BZ #17583]
24788         * libio/fileno.c (fileno): Rename to __fileno and define as weak
24789         alias of __fileno.  Use libc_hidden_weak.
24790         (__fileno): Use libc_hidden_def.
24791         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
24792         * libio/ftello.c (ftello): Rename to __ftello and define as weak
24793         alias of __ftello.
24794         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
24795         __ftello.
24796         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
24797         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
24798         libc_hidden_def.
24799         (fread_unlocked): Don't use libc_hidden_ver.
24800         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
24801         and define as weak alias of __fread_unlocked.  Don't use
24802         libc_hidden_def.
24803         (__fread_unlocked): Use libc_hidden_def.
24804         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
24805         (ftello): Don't use libc_hidden_proto.
24806         (__ftello): Declare.  Use libc_hidden_proto.
24807         (fread_unlocked): Don't use libc_hidden_proto.
24808         (__fread_unlocked): Declare.  Use libc_hidden_proto.
24809         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
24810         and __ftello instead of fileno, fread_unlocked and ftello.
24812 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24814         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
24815         GOT12.
24816         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24817         Likewise.
24818         (_dl_start_user): Likewise.
24819         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
24821 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
24822             Siddhesh Poyarekar  <siddhesh@redhat.com>
24824         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
24825         Move argv and envp down instead of moving argc up.
24826         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
24828 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
24830         [BZ #17506]
24831         * test-skeleton.c (main): Return successful if one of
24832         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
24833         * string/tst-strcoll-overflow.c: Define expected status.
24835 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
24837         [BZ #17475]
24838         * locale/iso-639.def: Define Bhili and Tulu language codes.
24840 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
24842         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
24844 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
24846         [BZ #17555]
24847         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
24849 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24851         * configure.ac: Updated check of minimal required version to
24852         2.22.
24853         * manual/install.texi (Tools for Compilation): Updated version
24854         number.
24855         * configure: Regenerated.
24856         * INSTALL: Likewise.
24858 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
24860         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
24861         __tls_get_addr.
24863 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
24865         * include/sys/wait.h (__libc_waitpid): Remove declaration.
24866         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
24867         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24868         libc_hidden_weak.
24869         (waitpid): Define as alias of __waitpid.
24870         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
24871         __waitpid.
24872         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24873         libc_hidden_weak.
24874         (waitpid): Define as alias of __waitpid.
24875         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
24876         __libc_waitpid alias.
24877         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
24878         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
24879         Likewise.
24880         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
24881         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
24882         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
24883         alias.
24884         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
24885         __waitpid.
24886         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24887         libc_hidden_weak.
24888         (waitpid): Define as alias of __waitpid.
24890 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
24892         * manual/llio.texi: Add comment that write safety has been
24893         fixed in Linux.
24895         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
24896         (localplt-build-dso): Add elf/ld.so.
24897         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
24898         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
24899         and free for ld.so.
24900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
24901         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
24902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
24903         Likewise.
24904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24905         Likewise.
24906         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
24907         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
24908         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
24909         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
24910         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24911         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
24912         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
24913         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
24914         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24915         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
24916         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24918 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
24920         [BZ #14132]
24921         * include/libc-symbols.h (INTUSE): Remove macro.
24922         (INTDEF): Likewise.
24923         (INTVARDEF): Likewise.
24924         (_INTVARDEF): Likewise.
24925         (INTDEF2): Likewise.
24926         (INTVARDEF2): Likewise.
24927         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
24928         rtld_hidden_def instead of INTVARDEF.
24929         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
24930         (_dl_starting_up_internal): Remove declaration.
24931         (_dl_starting_up): Use rtld_hidden_proto.
24932         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
24933         declaration.
24934         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
24935         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
24936         _dl_starting_up.
24937         * elf/dl-writev.h (_dl_writev): Likewise.
24938         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
24939         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
24940         _dl_starting_up_internal.
24942 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24944         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
24945         test-skeleton.c.
24947 2014-11-05  Will Newton  <will.newton@linaro.org>
24949         * benchtests/Makefile: (bench-malloc): Add malloc thread
24950         scalability benchmark.
24951         * benchtests/bench-malloc-threads.c: New file.
24953 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
24955         * sysdeps/aarch64/strchrnul.S: New file.
24957 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24959         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
24960         definition.
24961         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
24962         Likwise.
24963         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
24964         Likewise.
24965         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
24966         Likewise.
24967         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
24968         Likewise.
24969         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
24970         Likewise.
24972 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
24974         * catgets/test-gencat.c: Use test-skeleton.c.
24975         * catgets/tst-catgets.c: Likewise.
24976         * csu/tst-empty.c: Likewise.
24977         * elf/tst-audit2.c: Likewise.
24978         * elf/tst-global1.c: Likewise.
24979         * elf/tst-pathopt.c: Likewise.
24980         * elf/tst-piemod1.c: Likewise.
24981         * elf/tst-tls10.c: Likewise.
24982         * elf/tst-tls11.c: Likewise.
24983         * elf/tst-tls12.c: Likewise.
24984         * gnulib/tst-gcc.c: Likewise.
24985         * iconvdata/tst-e2big.c: Likewise.
24986         * iconvdata/tst-loading.c: Likewise.
24987         * iconv/tst-iconv1.c: Likewise.
24988         * iconv/tst-iconv2.c: Likewise.
24989         * inet/test-inet6_opt.c: Likewise.
24990         * inet/tst-gethnm.c: Likewise.
24991         * inet/tst-network.c: Likewise.
24992         * inet/tst-ntoa.c: Likewise.
24993         * intl/tst-codeset.c: Likewise.
24994         * intl/tst-gettext2.c: Likewise.
24995         * intl/tst-gettext3.c: Likewise.
24996         * intl/tst-ngettext.c: Likewise.
24997         * intl/tst-translit.c: Likewise.
24998         * io/test-stat.c: Likewise.
24999         * libio/test-fmemopen.c: Likewise.
25000         * libio/tst-freopen.c: Likewise.
25001         * libio/tst-sscanf.c: Likewise.
25002         * libio/tst-ungetwc1.c: Likewise.
25003         * libio/tst-ungetwc2.c: Likewise.
25004         * libio/tst-widetext.c: Likewise.
25005         * localedata/tst-ctype.c: Likewise.
25006         * localedata/tst-digits.c: Likewise.
25007         * localedata/tst-leaks.c: Likewise.
25008         * localedata/tst-mbswcs1.c: Likewise.
25009         * localedata/tst-mbswcs2.c: Likewise.
25010         * localedata/tst-mbswcs3.c: Likewise.
25011         * localedata/tst-mbswcs4.c: Likewise.
25012         * localedata/tst-mbswcs5.c: Likewise.
25013         * localedata/tst-setlocale.c: Likewise.
25014         * localedata/tst-trans.c: Likewise.
25015         * localedata/tst-wctype.c: Likewise.
25016         * localedata/tst-xlocale1.c: Likewise.
25017         * login/tst-grantpt.c: Likewise.
25018         * malloc/tst-calloc.c: Likewise.
25019         * malloc/tst-malloc.c: Likewise.
25020         * malloc/tst-mallocstate.c: Likewise.
25021         * malloc/tst-mcheck.c: Likewise.
25022         * malloc/tst-mtrace.c: Likewise.
25023         * malloc/tst-obstack.c: Likewise.
25024         * math/atest-exp2.c: Likewise.
25025         * math/atest-exp.c: Likewise.
25026         * math/atest-sincos.c: Likewise.
25027         * math/test-matherr.c: Likewise.
25028         * math/test-misc.c: Likewise.
25029         * math/test-powl.c: Likewise.
25030         * math/tst-definitions.c: Likewise.
25031         * misc/tst-dirname.c: Likewise.
25032         * misc/tst-efgcvt.c: Likewise.
25033         * misc/tst-fdset.c: Likewise.
25034         * misc/tst-hsearch.c: Likewise.
25035         * misc/tst-mntent2.c: Likewise.
25036         * nptl/tst-sem7.c: Likewise.
25037         * nptl/tst-sem8.c: Likewise.
25038         * nptl/tst-sem9.c: Likewise.
25039         * nss/test-netdb.c: Likewise.
25040         * posix/tst-fnmatch.c: Likewise.
25041         * posix/tst-getlogin.c: Likewise.
25042         * posix/tst-gnuglob.c: Likewise.
25043         * posix/tst-mmap.c: Likewise.
25044         * pwd/tst-getpw.c: Likewise.
25045         * resolv/tst-inet_ntop.c: Likewise.
25046         * rt/tst-timer.c: Likewise.
25047         * stdio-common/test-fseek.c: Likewise.
25048         * stdio-common/test-popen.c: Likewise.
25049         * stdio-common/test-vfprintf.c: Likewise.
25050         * stdio-common/tst-cookie.c: Likewise.
25051         * stdio-common/tst-fileno.c: Likewise.
25052         * stdio-common/tst-gets.c: Likewise.
25053         * stdio-common/tst-obprintf.c: Likewise.
25054         * stdio-common/tst-perror.c: Likewise.
25055         * stdio-common/tst-sprintf2.c: Likewise.
25056         * stdio-common/tst-sprintf3.c: Likewise.
25057         * stdio-common/tst-sprintf.c: Likewise.
25058         * stdio-common/tst-swprintf.c: Likewise.
25059         * stdio-common/tst-tmpnam.c: Likewise.
25060         * stdio-common/tst-unbputc.c: Likewise.
25061         * stdio-common/tst-wc-printf.c: Likewise.
25062         * stdlib/tst-environ.c: Likewise.
25063         * stdlib/tst-fmtmsg.c: Likewise.
25064         * stdlib/tst-limits.c: Likewise.
25065         * stdlib/tst-rand48-2.c: Likewise.
25066         * stdlib/tst-rand48.c: Likewise.
25067         * stdlib/tst-random2.c: Likewise.
25068         * stdlib/tst-random.c: Likewise.
25069         * stdlib/tst-strtol.c: Likewise.
25070         * stdlib/tst-strtoll.c: Likewise.
25071         * stdlib/tst-tls-atexit.c: Likewise.
25072         * stdlib/tst-xpg-basename.c: Likewise.
25073         * string/test-ffs.c: Likewise.
25074         * string/tst-bswap.c: Likewise.
25075         * string/tst-inlcall.c: Likewise.
25076         * string/tst-strtok.c: Likewise.
25077         * string/tst-strxfrm.c: Likewise.
25078         * sysdeps/x86_64/tst-audit10.c: Likewise.
25079         * sysdeps/x86_64/tst-audit3.c: Likewise.
25080         * sysdeps/x86_64/tst-audit4.c: Likewise.
25081         * sysdeps/x86_64/tst-audit5.c: Likewise.
25082         * time/tst-ftime_l.c: Likewise.
25083         * time/tst-getdate.c: Likewise.
25084         * time/tst-mktime3.c: Likewise.
25085         * time/tst-mktime.c: Likewise.
25086         * time/tst-posixtz.c: Likewise.
25087         * time/tst-strptime2.c: Likewise.
25088         * time/tst-strptime3.c: Likewise.
25089         * wcsmbs/tst-btowc.c: Likewise.
25090         * wcsmbs/tst-mbrtowc.c: Likewise.
25091         * wcsmbs/tst-mbsrtowcs.c: Likewise.
25092         * wcsmbs/tst-wchar-h.c: Likewise.
25093         * wcsmbs/tst-wcpncpy.c: Likewise.
25094         * wcsmbs/tst-wcrtomb.c: Likewise.
25095         * wcsmbs/tst-wcsnlen.c: Likewise.
25096         * wcsmbs/tst-wcstof.c: Likewise.
25098 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
25100         [BZ #14132]
25101         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
25102         INTDEF.
25103         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
25104         declaration.
25105         (_dl_mcount): Use rtld_hidden_proto.
25106         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
25107         _dl_mcount.
25108         * elf/rtld.c (_rtld_global_ro): Likewise.
25110         [BZ #14132]
25111         * elf/dl-init.c (_dl_init): Don't use INTDEF.
25112         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
25113         of _dl_init_internal.
25114         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
25115         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
25116         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
25117         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
25118         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
25119         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
25120         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
25121         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
25122         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
25123         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
25124         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
25125         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
25126         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25127         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25128         * sysdeps/tile/dl-start.S (_start): Likewise.
25129         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
25130         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
25132         [BZ #14132]
25133         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
25134         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
25135         (rtld_progname): Make macro definition unconditional.
25136         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
25137         INTDEF.
25138         (dlmopen_doit): Do not use INTUSE with _dl_argv.
25139         (dl_main): Likewise.
25140         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25141         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
25142         instead of _dl_argv_internal.
25143         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25144         __GI__dl_argv instead of INTUSE(_dl_argv).
25145         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
25146         __GI__dl_argv instead of _dl_argv_internal.
25148         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
25149         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
25150         macro.
25151         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
25152         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
25153         New macro.
25154         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
25155         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
25156         macro.
25157         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
25158         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
25160 2014-11-04  Andreas Schwab  <schwab@suse.de>
25162         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
25164 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25166         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
25167         mtvsrd instruction in binary form.
25169 2014-11-03  Andreas Schwab  <schwab@suse.de>
25171         [BZ #17522]
25172         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
25173         for less than MB_LEN_MAX use a local buffer of that size.
25174         * libio/tst-fputws.c: New file.
25175         * libio/Makefile (tests): Add tst-fputws.
25177 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
25179         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
25180         the size of the fpu_fr.fpu_dregs[] array.
25182 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
25184         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
25185         (__nanosleep): Do not define as alias.
25186         (nanosleep): Define as alias of __nanosleep.
25187         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
25188         __libc_nanosleep name.
25190 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25192         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
25193         install.texi in comment.
25195 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25197         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
25198         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
25199         ... add here and use lwsync or sync ...
25200         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
25201         ... and add here using lwsync.
25203 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25205         * elf/dl-machine-reject-phdr.h: New file.
25206         * elf/dl-load.c: #include that.
25207         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
25208         if that returned true.
25210 2014-10-31  Roland McGrath  <roland@hack.frob.com>
25212         [BZ #17496]
25213         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
25214         gen-as-const-headers chunk.  Add a big scare comment after the last
25215         safe place to touch before-compile.
25217 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25219         * manual/install.texi (Tools for Compilation): Update autoconf
25220         version requirements.
25221         * INSTALL: Regenerated.
25223         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
25224         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
25225         (__libc_pselect): Likewise.
25227         [BZ #14138]
25228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
25229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25233 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25235         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
25236         correct barrier instruction.
25237         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
25238         Likewise.
25239         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
25240         Likewise.
25242 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25244         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
25245         after defining inlines.  Instead, just use parens to defeat macro
25246         expansion of __isctype in its declaration.
25248 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25250         * include/sys/uio.h (__libc_readv): Remove declaration.
25251         (__libc_writev): Likewise.
25252         * misc/readv.c (__libc_readv): Rename to __readv.
25253         (__readv): Do not define as alias.
25254         (readv): Define as alias of __readv.
25255         * misc/writev.c (__libc_writev): Rename to __writev.
25256         (__writev): Do not define as alias.
25257         (writev): Define as alias of __writev.
25258         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
25259         (__readv): Do not define as alias.
25260         (readv): Define unconditionally as alias of __readv.
25261         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
25262         (__writev): Do not define as alias.
25263         (writev): Define unconditionally as alias of __writev.
25264         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
25265         name.
25266         (writev): Do not define __libc_writev name.
25268 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25270         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
25271         (convert_charseq): New function, broken out of ...
25272         (use_from_charmap): ... here.  Call it.
25273         (use_to_charmap): Use convert_charseq and free instead of duplicating
25274         its code with a variable-length stack struct.
25276 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25278         * include/fcntl.h (__libc_creat): Remove declaration.
25279         * io/creat.c (__libc_creat): Rename to creat.
25280         (creat): Do not define as alias.
25281         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
25282         of creat instead of __libc_creat.
25283         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
25284         to creat.
25285         (creat): Do not define as alias.
25286         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
25287         __libc_creat.
25288         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
25289         __libc_creat name.
25290         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
25291         Likewise.
25293 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
25295         * manual/llio.texi: Add comments discussing why write() may be
25296         considered MT-unsafe on Linux.
25298 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
25300         * dl-load.c (local_strdup): Remove.
25301         (expand_dynamic_string_token): Use __strdup.
25302         (decompose_rpath): Likewise.
25303         (_dl_map_object): Likewise.
25305 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
25307         [BZ #14132]
25308         * sysdeps/generic/unwind-dw2-fde.c
25309         (__register_frame_info_bases_internal): Do not declare.
25310         (__register_frame_info_table_bases_internal): Likewise.
25311         (__deregister_frame_info_bases_internal): Likewise.
25312         (__register_frame_info_bases): Declare and use hidden_proto before
25313         definition.  Use hidden_def instead of INTDEF.
25314         (__register_frame_info_table_bases): Likewise.
25315         (__deregister_frame_info_bases): Likewise.
25316         (__register_frame_info): Do not use INTUSE.
25317         (__register_frame): Likewise.
25318         (__register_frame_info_table): Likewise.
25319         (__register_frame_table): Likewise.
25320         (__deregister_frame_info): Likewise.
25321         (__deregister_frame): Likewise.
25323 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
25325         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25326         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
25327         not undefine.
25328         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
25329         Likewise.
25330         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
25331         Likewise.
25333 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
25335         [BZ #14138]
25336         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
25337         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
25338         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
25339         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
25340         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
25341         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
25342         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
25343         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
25344         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
25345         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
25346         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
25347         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
25348         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
25349         syscall.
25350         (setfsuid): Likewise.
25351         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
25352         (setfsuid): Likewise.
25353         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
25354         (setfsuid): Likewise.
25355         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
25356         Likewise.
25357         (setfsuid): Likewise.
25358         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
25359         (setfsuid): Likewise.
25360         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
25361         Likewise.
25362         (setfsuid): Likewise.
25364 2014-10-27  Andreas Schwab  <schwab@suse.de>
25366         [BZ #17501]
25367         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
25368         check for Slow_SSE4_2 feature bit.
25369         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
25370         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25371         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
25372         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
25374 2014-10-24  Roland McGrath  <roland@hack.frob.com>
25376         * configure.ac: Validate compiler version with a empirical test of
25377         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
25378         $CC -v output.
25379         * configure: Regenerated.
25381         * inet/htons.c (htons): Prototypify.
25382         * inet/htonl.c (htonl): Likewise.
25384 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25386         * string/strncat.c (strncat): Improve performance by using strlen.
25388 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25390         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
25392 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25394         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
25395         Call libc_fetestexcept_aarch64.
25397 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25399         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
25400         Call libc_feholdexcept_aarch64.
25402 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25404         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
25405         Call get_rounding_mode.
25407 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25409         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25410         Simplify logic.
25412 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25414         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
25415         Simplify logic.
25417 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
25419         [BZ #14138]
25420         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
25421         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
25422         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
25423         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
25424         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
25425         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
25426         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
25427         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
25428         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
25429         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
25430         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25431         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
25432         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
25433         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
25434         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
25435         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
25436         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
25437         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
25438         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
25439         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
25440         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
25441         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
25442         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
25443         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
25444         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
25445         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
25446         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
25447         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
25448         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
25449         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
25450         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
25451         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
25452         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
25453         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
25454         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
25455         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
25456         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
25457         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
25458         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
25459         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
25460         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
25461         syscall.
25462         (geteuid): Likewise.
25463         (getgid): Likewise.
25464         (getuid): Likewise.
25465         (getresgid): Likewise.
25466         (getresuid): Likewise.
25467         (getgroups): Likewise.
25468         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
25469         (geteuid): Likewise.
25470         (getgid): Likewise.
25471         (getuid): Likewise.
25472         (getresgid): Likewise.
25473         (getresuid): Likewise.
25474         (getgroups): Likewise.
25475         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
25476         (geteuid): Likewise.
25477         (getgid): Likewise.
25478         (getuid): Likewise.
25479         (getresgid): Likewise.
25480         (getresuid): Likewise.
25481         (getgroups): Likewise.
25482         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
25483         Likewise.
25484         (geteuid): Likewise.
25485         (getgid): Likewise.
25486         (getuid): Likewise.
25487         (getresgid): Likewise.
25488         (getresuid): Likewise.
25489         (getgroups): Likewise.
25490         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
25491         (geteuid): Likewise.
25492         (getgid): Likewise.
25493         (getuid): Likewise.
25494         (getresgid): Likewise.
25495         (getresuid): Likewise.
25496         (getgroups): Likewise.
25497         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
25498         Likewise.
25499         (geteuid): Likewise.
25500         (getgid): Likewise.
25501         (getuid): Likewise.
25502         (getgroups): Likewise.
25504         [BZ #14138]
25505         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
25506         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
25507         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
25508         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25509         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
25510         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
25511         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
25512         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
25513         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
25514         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
25515         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
25516         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
25517         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
25518         __chown.
25519         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
25520         (lchown): Likewise.
25521         (fchown): Likewise.
25522         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
25523         Likewise.
25524         (lchown): Likewise.
25525         (fchown): Likewise.
25526         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
25527         (lchown): Likewise.
25528         (fchown): Likewise.
25529         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
25530         Likewise.
25531         (lchown): Likewise.
25532         (fchown): Likewise.
25534 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25536         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
25537         Simplify logic.
25539 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25541         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25542         Cleanup logic.
25544 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25546         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25547         Remove unused include.
25549 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25551         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
25552         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
25553         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
25554         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
25556 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
25557             Helge Deller <deller@gmx.de>
25559         [BZ #17508]
25560         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
25561         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
25562         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
25564 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
25566         [BZ #14132]
25567         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
25568         Remove macro definition.
25569         (__ashrdi3_v_glibc20): Likewise.
25570         (__lshrdi3_v_glibc20): Likewise.
25571         (__cmpdi2_v_glibc20): Likewise.
25572         (__ucmpdi2_v_glibc20): Likewise.
25573         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
25574         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25575         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25576         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25577         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25578         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
25580 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25582         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
25583         old GNU extension [0] syntax.
25584         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
25585         alloca rather than an array member with variable length.
25586         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
25587         * nscd/nscd.c (invalidate_db): New function, broken out of ...
25588         (parse_opt): ... here.  Likewise use alloca there.
25589         Validate the -i argument before checking for rootness.
25590         (send_shutdown): New function, broken out of ...
25591         (parse_opt): ... here.
25593 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25595         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
25596         macro to get at the _rt_local_ro field.
25597         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
25598         ([PIC] case) or _dl_hwcap ([!PIC] case).
25599         * sysdeps/arm/setjmp.S: Likewise.
25601         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
25602         * sysdeps/arm/configure.ac: New check to define it.
25603         * sysdeps/arm/configure: Regenerated.
25604         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
25605         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
25606         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
25607         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
25608         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
25609         Use move/movt pair instead of a load.
25610         (LDST_GLOBAL): Macro removed.
25611         (LDR_GLOBAL): New macro replaces it.
25612         (LDR_HIDDEN): New macro.
25613         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
25614         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
25616         * setjmp/tst-setjmp-static.c: New file.
25617         * setjmp/Makefile (tests): Add it.
25618         (tests-static): New variable.
25620 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
25622         [BZ #17485]
25623         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
25625 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
25627         [BZ #14132]
25628         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
25630 2014-10-21  Roland McGrath  <roland@hack.frob.com>
25632         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
25634 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25636         * io/fts.c (dirent_not_directory): New function.
25637         (fts_build): Call it.
25639 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25641         * nptl/version.c (__nptl_main): Use normal __write rather than
25642         INTERNAL_SYSCALL.
25643         (banner): Update copyright years.
25645         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
25646         gettimeofday.
25647         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25648         * nptl/pthread_cond_timedwait.c: Likewise.
25649         * nptl/pthread_mutex_timedlock.c: Likewise.
25650         * nptl/sem_timedwait.c: Likewise.
25652         * sysdeps/nptl/bits/libc-lock.h
25653         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25654         (__libc_lock_init_recursive): Return void, not 0.
25655         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
25656         (__libc_rwlock_init): Likewise.
25657         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
25659 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25661         [BZ #15215]
25662         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
25663         (__pthread_once_slow): ... here.
25664         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
25665         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
25667 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25669         [BZ #15215]
25670         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
25671         __PTHREAD_ONCE_FORK_GEN_INCR): New.
25672         * sysdeps/nptl/fork.c (__libc_fork): Use them.
25673         * nptl/pthread_once.c (__pthread_once): Likewise.
25674         Update comments.
25676 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
25678         [BZ #14138]
25679         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
25680         name.
25681         (writev): Use __libc_writev as strong name.
25682         * sysdeps/unix/sysv/linux/readv.c: Remove file.
25683         * sysdeps/unix/sysv/linux/writev.c: Likewise.
25685 2014-10-17  Roland McGrath  <roland@hack.frob.com>
25687         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
25689         * sysdeps/i386/nptl/tls.h
25690         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
25691         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
25692         New macros.
25693         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
25694         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
25695         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
25696         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
25697         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
25698         Call CHECK_THREAD_SYSINFO instead of doing an assert.
25700         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25701         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
25702         on [__NR_futex].
25703         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
25704         broken out of ...
25705         (__pthread_mutex_init): ... here.  Call it.
25706         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
25707         Conditionalize PI cases on [__NR_futex].
25708         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
25709         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
25710         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25712         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
25713         conditional on [SIGSETXID].
25714         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
25715         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
25716         is defined.  Likewise for SIGSETXID.
25717         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
25718         Conditionalize definitions on [SIGSETXID].
25719         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
25720         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
25721         unblocking on [SIGCANCEL].
25723         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
25724         [__NR_set_robust_list].
25726 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25728         * string/strcoll_l.c (get_next_seq): Fix up formatting.
25729         (do_compare): Likewise.
25731 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
25733         [BZ #15884]
25734         * string/strcoll_l.c: Don't include stdio.h.
25735         (coll_seq): Remove members idxarr and rulearr.
25736         (get_next_seq_cached): Remove function.
25737         (get_next_seq): Likewise.
25738         (get_next_seq_nocache): Rename to get_next_seq.
25739         (do_compare): Remove function.
25740         (do_compare_nocache): Rename to do_compare.
25741         (STRCOLL): Remove weight and rules cache.
25743 2014-10-16  Roland McGrath  <roland@hack.frob.com>
25745         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
25746         * sysdeps/arm/sfp-machine.h: ... to here.
25747         * sysdeps/arm/Implies: Remove arm/soft-fp.
25749 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
25751         * conform/data/sys/utsname.h-data (*_t): Allow.
25752         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
25753         [POSIX] (WEXITED): Do not expect constant.
25754         [POSIX] (WSTOPPED): Likewise.
25755         [POSIX] (WNOHANG): Likewise.
25756         [POSIX] (WNOWAIT): Likewise.
25757         [POSIX] (siginfo_t): Do not expect type or elements.
25758         [POSIX] (pid_t): Do not expect type.
25759         [POSIX] (signal.h): Do not allow header.
25760         [POSIX] (sys/resource.h): Likewise.
25761         [POSIX] (si_*): Do not allow pattern.
25762         [POSIX] (W*): Likewise.
25763         [POSIX] (P_*): Likewise.
25764         [POSIX] (BUS_*): Likewise.
25765         [POSIX] (CLD_*): Likewise.
25766         [POSIX] (FPE_*): Likewise.
25767         [POSIX] (ILL_*): Likewise.
25768         [POSIX] (POLL_*): Likewise.
25769         [POSIX] (SEGV_*): Likewise.
25770         [POSIX] (SI_*): Likewise.
25771         [POSIX] (TRAP_*): Likewise.
25772         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
25773         variable.
25775 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25777         [BZ #12926]
25778         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
25779         infinite loop when __recvmsg returns 0.
25781 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
25783         * CANCEL-FCT-WAIVE: Remove file.
25784         * CANCEL-FILE-WAIVE: Likewise.
25786         [BZ #14132]
25787         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
25788         instead of INTVARDEF.
25789         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25790         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
25791         rtld_hidden_data_def instead of INTVARDEF.
25792         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25793         * elf/dl-deps.c (expand_dst): Likewise.
25794         * elf/dl-load.c (_dl_dst_count): Likewise.
25795         (_dl_dst_substitute): Likewise.
25796         (decompose_rpath): Likewise.
25797         (_dl_init_paths): Likewise.
25798         (open_path): Likewise.
25799         (_dl_map_object): Likewise.
25800         * elf/rtld.c (dl_main): Likewise.
25801         (process_dl_audit): Likewise.
25802         (process_envvars): Likewise.
25803         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
25804         Remove declaration.
25805         (__libc_enable_secure): Use rtld_hidden_proto.
25807 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25809         * elf/dl-load.c
25810         (add_path): New function broken out of _dl_rtld_di_serinfo.
25811         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
25813 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25815         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
25816         parentheses around macro arguments.
25817         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
25818         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
25819         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
25820         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
25821         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
25822         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25823         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25824         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
25825         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
25826         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
25827         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
25828         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
25829         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
25830         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
25831         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
25832         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
25833         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
25834         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
25835         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
25836         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
25837         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
25838         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
25839         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
25840         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25841         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25842         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
25843         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
25844         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
25845         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
25846         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
25847         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
25848         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
25849         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
25850         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
25851         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
25852         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
25853         Likewise.
25854         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
25855         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25856         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25857         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
25858         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
25859         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
25860         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
25861         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
25862         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
25863         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
25864         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
25865         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
25866         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
25867         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
25868         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
25869         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25870         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25871         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
25872         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
25873         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
25874         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
25875         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
25876         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
25877         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
25878         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
25879         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
25880         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
25881         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
25882         (_FP_FRAC_SRS_1): Likewise.
25883         (_FP_FRAC_CLZ_1): Likewise.
25884         (_FP_MUL_MEAT_1_imm): Likewise.
25885         (_FP_MUL_MEAT_1_wide): Likewise.
25886         (_FP_MUL_MEAT_1_hard): Likewise.
25887         (_FP_SQRT_MEAT_1): Likewise.
25888         (_FP_FRAC_ASSEMBLE_1): Likewise.
25889         (_FP_FRAC_DISASSEMBLE_1): Likewise.
25890         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
25891         (__FP_CLZ_2): Likewise.
25892         (_FP_MUL_MEAT_2_wide): Likewise.
25893         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25894         (_FP_MUL_MEAT_2_gmp): Likewise.
25895         (_FP_MUL_MEAT_2_120_240_double): Likewise.
25896         (_FP_SQRT_MEAT_2): Likewise.
25897         (_FP_FRAC_ASSEMBLE_2): Likewise.
25898         (_FP_FRAC_DISASSEMBLE_2): Likewise.
25899         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
25900         (_FP_FRAC_CLZ_4): Likewise.
25901         (_FP_MUL_MEAT_4_wide): Likewise.
25902         (_FP_MUL_MEAT_4_gmp): Likewise.
25903         (_FP_SQRT_MEAT_4): Likewise.
25904         (_FP_FRAC_ASSEMBLE_4): Likewise.
25905         (_FP_FRAC_DISASSEMBLE_4): Likewise.
25906         * soft-fp/op-common.h (_FP_CMP): Likewise.
25907         (_FP_CMP_EQ): Likewise.
25908         (_FP_CMP_UNORD): Likewise.
25909         (_FP_TO_INT): Likewise.
25910         (_FP_FROM_INT): Likewise.
25911         [!__FP_CLZ] (__FP_CLZ): Likewise.
25912         (_FP_DIV_HELP_imm): Likewise.
25913         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
25914         Likewise.
25915         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
25916         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
25917         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
25918         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
25919         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
25920         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25921         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25922         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
25923         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
25924         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
25925         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
25926         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
25927         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
25928         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
25929         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
25930         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
25931         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
25932         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
25933         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
25934         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
25935         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
25936         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
25937         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
25938         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25939         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25940         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
25941         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
25942         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
25943         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
25944         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
25945         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
25946         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
25947         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
25948         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
25949         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
25950         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
25951         (FP_UNPACK_RAW_SP): Likewise.
25952         (FP_PACK_RAW_S): Likewise.
25953         (FP_PACK_RAW_SP): Likewise.
25954         (FP_UNPACK_S): Likewise.
25955         (FP_UNPACK_SP): Likewise.
25956         (FP_UNPACK_SEMIRAW_S): Likewise.
25957         (FP_UNPACK_SEMIRAW_SP): Likewise.
25958         (FP_PACK_S): Likewise.
25959         (FP_PACK_SP): Likewise.
25960         (FP_PACK_SEMIRAW_S): Likewise.
25961         (FP_PACK_SEMIRAW_SP): Likewise.
25962         (_FP_SQRT_MEAT_S): Likewise.
25963         (FP_CMP_S): Likewise.
25964         (FP_CMP_EQ_S): Likewise.
25965         (FP_CMP_UNORD_S): Likewise.
25966         (FP_TO_INT_S): Likewise.
25967         (FP_FROM_INT_S): Likewise.
25969         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
25971         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
25972         (FP_EX_INVALID_IMZ): Likewise.
25973         (FP_EX_INVALID_IMZ_FMA): Likewise.
25974         (FP_EX_INVALID_ISI): Likewise.
25975         (FP_EX_INVALID_ZDZ): Likewise.
25976         (FP_EX_INVALID_IDI): Likewise.
25977         (FP_EX_INVALID_SQRT): Likewise.
25978         (FP_EX_INVALID_CVI): Likewise.
25979         (FP_EX_INVALID_VC): Likewise.
25980         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
25981         "invalid" exceptions.
25982         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
25983         (_FP_ADD_INTERNAL): Likewise.
25984         (_FP_MUL): Likewise.
25985         (_FP_FMA): Likewise.
25986         (_FP_DIV): Likewise.
25987         (_FP_CMP_CHECK_NAN): Likewise.
25988         (_FP_SQRT): Likewise.
25989         (_FP_TO_INT): Likewise.
25990         (FP_EXTEND): Likewise.
25992 2014-10-09  Allan McRae  <allan@archlinux.org>
25994         * po/fr.po: Update French translation from translation project.
25996 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25998         [BZ #14132]
25999         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
26000         of INTDEF.
26001         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
26002         (__cxa_atexit): Use libc_hidden_proto.
26003         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
26005         [BZ #14132]
26006         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
26007         declaration.
26008         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
26009         [!_ISOMAC] (__iswspace_l_internal): Likewise.
26010         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
26011         [!_ISOMAC] (__iswctype_internal): Likewise.
26012         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
26013         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
26014         alias.
26015         (fcntl): Remove __fcntl_internal alias.
26016         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
26017         __connect_internal alias.
26018         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
26019         Likewise.
26021         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
26022         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
26023         FP_DENORM_ZERO.
26024         (_FP_CHECK_FLUSH_ZERO): New macro.
26025         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
26026         (_FP_CMP): Likewise.
26027         (_FP_CMP_EQ): Likewise.
26028         (_FP_TO_INT): Do not set inexact for subnormal arguments if
26029         FP_DENORM_ZERO.
26030         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
26031         (FP_TRUNC): Likewise.
26033         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
26034         treated as invalid conversion, not as normal exponent.
26036         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
26037         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
26038         (_FP_CMP_EQ): Likewise.
26039         (_FP_CMP_UNORD): Likewise.
26040         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
26041         (FP_CMP_EQ_D): Likewise.
26042         (FP_CMP_UNORD_D): Likewise.
26043         * soft-fp/extended.h (FP_CMP_E): Likewise.
26044         (FP_CMP_EQ_E): Likewise.
26045         (FP_CMP_UNORD_E): Likewise.
26046         * soft-fp/quad.h (FP_CMP_Q): Likewise.
26047         (FP_CMP_EQ_Q): Likewise.
26048         (FP_CMP_UNORD_Q): Likewise.
26049         * soft-fp/single.h (FP_CMP_S): Likewise.
26050         (FP_CMP_EQ_S): Likewise.
26051         (FP_CMP_UNORD_S): Likewise.
26052         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
26053         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
26054         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
26055         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
26056         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
26057         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
26058         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
26059         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
26060         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
26061         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
26062         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
26063         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
26064         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
26065         to FP_CMP_Q.
26066         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
26067         FP_CMP_Q.
26068         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
26069         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
26070         FP_CMP_EQ_Q.
26071         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
26072         FP_CMP_Q.
26073         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
26074         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
26075         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
26076         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
26077         FP_CMP_EQ_Q.
26078         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
26079         FP_CMP_Q.
26080         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
26081         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
26082         FP_CMP_EQ_Q.
26083         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
26084         FP_CMP_Q.
26085         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
26086         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
26087         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
26088         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
26089         FP_CMP_EQ_Q.
26091         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
26092         a subnormal result, set the underflow exception if trapping on
26093         underflow is enabled.
26094         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
26095         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
26096         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
26097         redefine to 0.
26098         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
26099         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26100         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26101         * soft-fp/extendxftf2.c (__extendxftf2): Use
26102         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
26104         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
26105         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
26106         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26107         FP_HANDLE_EXCEPTIONS.
26108         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
26109         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26110         FP_HANDLE_EXCEPTIONS.
26111         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
26112         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26113         FP_HANDLE_EXCEPTIONS.
26114         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
26115         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26116         FP_HANDLE_EXCEPTIONS.
26118 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
26120         [BZ #14132]
26121         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
26122         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
26123         use INTUSE.
26124         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
26125         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
26126         Remove alias.
26127         (__adjtimex): Define using libc_hidden_ver.
26128         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
26129         Remove declaration.
26130         (ntp_gettime): Call __adjtimex directly.
26131         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
26132         Remove declaration.
26133         (ntp_gettimex): Call __adjtimex directly.
26134         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
26135         __adjtimex_internal alias.
26137 2014-10-08  Roland McGrath  <roland@hack.frob.com>
26139         [BZ #17460]
26140         * nscd/nscd.c (more_help): Rewrite list of tables collection
26141         using xstrdup and asprintf.
26143         * nscd/nscd_conf.c: Remove local xstrdup declaration.
26145 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26146             Roland McGrath  <roland@hack.frob.com>
26148         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
26149         (do_lookup_unique): ... local function 'enter' here; update callers.
26151 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
26153         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
26154         compat_symbol calls on [SHARED].
26155         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
26156         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
26157         Remove.
26158         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26159         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
26160         (oldsetrlimit): Remove.
26161         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26163         (lchown): New syscall entry.
26164         (oldsetrlimit): Remove.
26165         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26166         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
26167         (oldsetrlimit): Remove.
26168         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26170         [BZ #14138]
26171         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
26172         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
26173         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
26174         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
26175         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26176         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
26177         (fchown): Likewise.
26178         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
26179         (fchown): Likewise.
26180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
26181         Likewise.
26183 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26185         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
26186         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
26187         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
26188         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
26189         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
26190         Likewise.
26191         (__old_sem_post): Likewise.
26193 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
26195         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
26196         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
26197         HAVE_CLOCK_GETTIME_VSYSCALL macros.
26198         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
26199         Use INLINE_VSYSCALL macro.
26200         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
26201         __vdso_clock_gettime.
26202         * sysdeps/unix/sysv/linux/tile/init-first.c
26203         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
26204         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
26205         __vdso_clock_gettime.
26207         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
26208         to set up frame more cleanly.
26210         * sysdeps/tile/memcmp.c: New file.
26212         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
26214         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
26215         * sysdeps/tile/tilegx/strcasestr.c: New file.
26216         * sysdeps/tile/tilegx/strnlen.c: New file.
26217         * sysdeps/tile/tilegx/strstr.c: New file.
26219         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
26221 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
26223         * nptl/tst-setuid3.c: Write errors to stdout.
26225 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26227         * elf/dl-deps.c
26228         (preload): New functions broken out of _dl_map_object_deps.
26229         (_dl_map_object_deps):  Remove a nested function. Update call sites.
26231 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
26233         [BZ #14138]
26234         * sysdeps/unix/sysv/linux/execve.c: Remove file.
26235         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
26237 2014-10-01  Steve Ellcey  <sellcey@mips.com>
26239         * sysdeps/mips/strcmp.S: New.
26241 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
26243         [BZ #14138]
26244         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
26245         (linkat): Likewise.
26246         (mkdirat): Likewise.
26247         (readlinkat): Likewise.
26248         (renameat): Likewise.
26249         (symlinkat): Likewise.
26250         (unlinkat): Likewise.
26251         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
26252         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
26253         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
26254         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
26255         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
26256         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
26257         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
26259 2014-09-30  Will Newton  <will.newton@linaro.org>
26261         * math/math.h: Define long double math functions if
26262         _LIBC_TEST is defined.
26263         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
26265         * localedata/Makefile: Move assignment to tests-special
26266         into an ifdef testing run-built-tests.
26267         * timezone/Makefile: Likewise.
26269 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
26271         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
26272         with $(BASH) not $(SHELL).
26274 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
26275             Matthew LeGendre  <legendre1@llnl.gov>
26277         [BZ #17411]
26278         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
26279         l_reloc_result.
26281 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26283         * stdio-common/printf_fp.c
26284         (hack_digit): New function, broken out of ...
26285         (__printf_fp): ... local function here.  Update call sites.
26286         hack_digit now takes an additional parameter that is a pointer
26287         to a struct of the referenced locals.  Those locals moved inside
26288         the struct and references updated.
26290 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
26292         * aclocal.m4: Require autoconf 2.69.
26293         * configure: Regenerated.
26294         * sysdeps/aarch64/configure: Likewise.
26295         * sysdeps/alpha/configure: Likewise.
26296         * sysdeps/arm/armv7/configure: Likewise.
26297         * sysdeps/arm/configure: Likewise.
26298         * sysdeps/ia64/configure: Likewise.
26299         * sysdeps/mach/configure: Likewise.
26300         * sysdeps/mips/configure: Likewise.
26301         * sysdeps/s390/configure: Likewise.
26302         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
26303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
26305         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
26306         file.
26307         * sysdeps/ia64/configure.ac: Likewise.
26309 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
26311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
26312         specify symbol version for ld.so.  Do not include entry for
26313         libpthread.
26314         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26315         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26316         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26318         [BZ #14171]
26319         * Makeconfig [$(build-shared) = yes]
26320         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
26321         makefiles.
26322         [$(build-shared) = yes && $(soversions.mk-done) = t]
26323         ($(common-objpfx)gnu/lib-names.h): Remove rule.
26324         [$(build-shared) = yes && $(soversions.mk-done) = t]
26325         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
26326         to Makerules.
26327         [$(build-shared) = yes && $(soversions.mk-done) = t]
26328         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
26329         here.
26330         [$(build-shared) = yes && $(soversions.mk-done) = t]
26331         (common-generated): Don't append gnu/lib-names.h and
26332         gnu/lib-names.stmp here.
26333         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
26334         (lib-names-h-abi): New variable.
26335         [$(build-shared) = yes && $(soversions.mk-done) = t]
26336         (lib-names-stmp-abi): Likewise.
26337         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26338         abi-variants] (before-compile): Append
26339         $(common-objpfx)$(lib-names-h-abi).
26340         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26341         abi-variants] (common-generated): Append gnu/lib-names.h.
26342         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26343         abi-variants] (install-others-nosubdir): Depend on
26344         $(inst_includedir)/$(lib-names-h-abi).
26345         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26346         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
26347         [$(build-shared) = yes && $(soversions.mk-done) = t]
26348         ($(common-objpfx)$(lib-names-h-abi)): New rule.
26349         [$(build-shared) = yes && $(soversions.mk-done) = t]
26350         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
26351         [$(build-shared) = yes && $(soversions.mk-done) = t]
26352         (common-generated): Append $(lib-names-h-abi) and
26353         $(lib-names-stmp-abi).
26354         * scripts/lib-names.awk: Do not handle multi being set.
26355         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
26356         Remove variable.
26357         (abi-lp64_be-ld-soname): Likewise.
26358         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
26359         Likewise.
26360         (abi-hard-ld-soname): Likewise.
26361         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
26362         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
26363         Remove variable.
26364         (abi-o32_hard-ld-soname): Likewise.
26365         (abi-o32_soft_2008-ld-soname): Likewise.
26366         (abi-o32_hard_2008-ld-soname): Likewise.
26367         (abi-n32_soft-ld-soname): Likewise.
26368         (abi-n32_hard-ld-soname): Likewise.
26369         (abi-n32_soft_2008-ld-soname): Likewise.
26370         (abi-n32_hard_2008-ld-soname): Likewise.
26371         (abi-n64_soft-ld-soname): Likewise.
26372         (abi-n64_hard-ld-soname): Likewise.
26373         (abi-n64_soft_2008-ld-soname): Likewise.
26374         (abi-n64_hard_2008-ld-soname): Likewise.
26375         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
26376         Likewise.
26377         (abi-64-v2-ld-soname): Likewise.
26378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
26379         ld.so entries.
26380         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
26381         variable.
26382         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
26383         entry.
26384         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
26385         variable.
26386         (abi-64-ld-soname): Likewise.
26387         (abi-x32-ld-soname): Likewise.
26388         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
26389         entry.
26390         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26392 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
26394         [BZ #14138]
26395         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
26396         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
26397         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
26398         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
26399         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
26400         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
26401         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
26402         syscall entry for GLIBC_2.2 symbol version.
26403         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
26404         Likewise.
26405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26406         (setrlimit): Likewise.
26407         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
26408         Likewise.
26410 2014-09-23  Will Newton  <will.newton@linaro.org>
26412         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
26413         _LINUX_ARM_SYSDEP_H include guard too.
26414         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
26415         define.
26417 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26419         * sysdeps/unix/sysv/linux/eventfd.c:
26420         Make first argument unsigned.
26421         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
26422         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
26424 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
26426         [BZ #16852]
26427         * socket/recvmmsg.c (recvmmsg): Drop const argument.
26428         * socket/sys/socket.h: Likewise.
26429         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
26431 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26433         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
26435 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
26437         * time/tst-ftime.c: New test.
26438         * time/Makefile (tests): Add tst-ftime.
26440 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
26442         * soft-fp/extended.h: Fix comment formatting.
26443         * soft-fp/op-1.h: Likewise.
26444         * soft-fp/op-2.h: Likewise.
26445         * soft-fp/op-4.h: Likewise.
26446         * soft-fp/op-8.h: Likewise.
26447         * soft-fp/op-common.h: Likewise.
26448         * soft-fp/soft-fp.h: Likewise.
26450         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
26452 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
26454         [BZ #6652]
26455         * Makeconfig (soversions-default-setname): Remove variable.
26456         ($(common-objpfx)soversions.i): Don't pass default_setname to
26457         soversions.awk.
26458         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
26459         oldest_abi to abi-versions.awk.
26460         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
26461         * config.make.in (oldest-abi): Remove variable.
26462         * configure.ac (--enable-oldest-abi): Remove configure option.
26463         * configure: Regenerated.
26464         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
26465         text.
26466         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
26467         * scripts/soversions.awk: Do not handle default_setname variable.
26468         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
26469         variable.
26470         * sysdeps/mach/hurd/configure: Regenerated.
26471         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
26472         variable.
26473         * sysdeps/unix/sysv/linux/configure: Regenerated.
26475 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26477         * elf/Makefile (CFLAGS-interp.c): Remove.
26478         ($(elf-objpfx)runtime-linker.h): Generate header with linker
26479         path string.
26480         * elf/interp.c: Include generated runtime-linker.h
26482         * Makerules (lib%.so): Don't include $(+interp) in
26483         prerequisites.
26484         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
26485         * dlfcn/eval.c: Remove file.
26487         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
26488         macros.
26490         [BZ #17266]
26491         * misc/sys/cdefs.h: Define __extern_always_inline for clang
26492         4.2 and newer.
26494         [BZ #17370]
26495         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
26497 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26498             Jakub Jelinek  <jakub@redhat.com>
26500         [BZ #17266]
26501         * libio/stdio.h: Check definition of __fortify_function
26502         instead of __extern_always_inline to include bits/stdio2.h.
26503         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
26504         check if __extern_always_inline is defined.
26505         [__USE_MISC || __USE_XOPEN]: Likewise.
26506         [__USE_ISOC99] Likewise.
26507         * misc/sys/cdefs.h (__fortify_function): Define only if
26508         __extern_always_inline is defined.
26509         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
26510         __extern_always_inline and __extern_inline only for g++-4.3
26511         and newer or a compatible gcc.
26513 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
26515         [BZ #17371]
26516         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26517         last change to handle zero prefix length.
26519 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26521         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
26522         _SC_REGEX_VERSION.
26524         * posix/getconf.c (vars): Add _POSIX_IPV6 and
26525         _POSIX_RAW_SOCKETS.
26527 2014-09-13  Allan McRae  <allan@archlinux.org>
26529         * po/ru.po: Update Russian translation from translation project.
26531 2014-09-12  Roland McGrath  <roland@hack.frob.com>
26533         * locale/programs/locale.c (show_locale_vars): Inline local function
26534         into its sole call site.  Clean up some style nits.
26535         (print_item): New function, broken out of ...
26536         (show_info): ... local function here.  Clean up style nits.
26538         * locale/programs/ld-ctype.c (set_one_default): New function, broken
26539         out of ...
26540         (set_class_defaults): ... local function set_default here.
26541         Define set_default as a macro locally to pass constant parameters.
26542         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
26543         rather than a shared local.
26545         * stdlib/rpmatch.c (try): New function, broken out of ...
26546         (rpmatch): ... local function here.  Also, prototypify definition.
26548 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
26550         * scripts/soversions.awk: Do not handle configuration names.
26551         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
26552         vendor and os variables to soversions.awk.
26553         * configure.ac: Do not modify gnu-* host_os.
26554         * configure: Regenerated
26555         * shlib-versions: Remove first column with configuration names.
26556         * nptl/shlib-versions: Likewise.
26557         * nptl_db/shlib-versions: Likewise.
26558         * sysdeps/hppa/shlib-versions: Likewise.
26559         * sysdeps/m68k/shlib-versions: Likewise.
26560         * sysdeps/mach/hurd/shlib-versions: Likewise.
26561         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
26562         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
26563         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
26564         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
26565         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
26566         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
26567         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
26568         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
26569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26570         Likewise.
26571         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26572         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26573         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26574         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26575         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26576         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
26577         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26578         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26581         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
26582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26583         Regenerated.
26584         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
26585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26586         Condition symbol version definitions on [HAVE_ELFV2_ABI].
26588         * shlib-versions: Remove OS-specific entries.  Moved to files in
26589         sysdeps.
26590         * sysdeps/mach/hurd/shlib-versions: New file.
26591         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26593         * nptl/shlib-versions: Remove architecture-specific entries.
26594         Moved to files in sysdeps.
26595         * shlib-versions: Likewise.
26596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
26597         file.
26598         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26599         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26600         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26601         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26603         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
26604         (UDP_NO_CHECK6_RX): Likewise.
26606 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26608         * sysdeps/posix/sysconf.c (__sysconf): Spell
26609         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
26611 2014-08-12  Florian Weimer  <fweimer@redhat.com>
26613         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
26614         loading.
26615         * iconv/Versions (__gconv_transliterate): Export for use from
26616         gconv modules.
26617         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
26618         (struct __gconv_trans_data, __gconv_trans_fct,
26619         __gconv_trans_context_fct, __gconv_trans_query_fct,
26620         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
26621         definitions.
26622         (struct __gconv_step_data): Remove __trans member.
26623         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
26624         longer hidden.  Remove unused trans_data argument.
26625         * iconv/gconv_int.h (struct trans_struct): Remove definition.
26626         (__gconv_translit_find): Remove declaration.
26627         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
26628         prototype.
26629         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
26630         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
26631         trans_data argument.  Add hidden definition.
26632         (__gconv_translit_find): Remove.
26633         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
26634         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
26635         * iconv/skeleton.c: Remove transliteration initialization.
26636         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
26637         __gconv_step_data initialization.
26638         * libio/iofwide.c (__libio_translit_): Remove.
26639         (_IO_fwide): Adjust struct __gconv_step_data initialization.
26640         * wcsmbs/btowc.c (__btowc): Likewise.
26641         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26642         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26643         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26644         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26645         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
26646         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26647         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26648         * wcsmbs/wctob.c (wctob): Likewise.
26650 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26652         [BZ #16194]
26653         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
26654         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
26655         register usage.
26656         * sysdeps/x86/Makefile: Adjust.
26658 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26659             Roland McGrath  <roland@hack.frob.com>
26661         * locale/weight.h: Add include guard.
26662         (findidx): Make static rather than auto; take new parameters
26663         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
26664         * locale/weightwc.h: Likewise.
26665         * posix/fnmatch_loop.c
26666         (FCT): Change type of EXTRA from int32_t to wint_t.
26667         Don't include either header inside the function.
26668         Call FINDIDX rather than findidx, and pass new arguments.
26669         #undef FINDIDX at the end of the file.
26670         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
26671         FINDIDX before including fnmatch_loop.c for the non-wide version.
26672         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
26673         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
26674         for the wide version.
26675         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
26676         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
26677         Pass new arguments to findidx.
26678         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
26679         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
26680         Don't #include it inside the function.  Pass new arguments to findidx.
26681         * posix/regex_internal.h
26682         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
26683         (re_string_elem_size_at): Don't #include it inside the function.
26684         Pass new arguments to findidx.
26685         * string/strcoll_l.c: #include WEIGHT_H at top level.
26686         (get_next_seq): Don't #include it inside the function.
26687         Pass new arguments to findidx.
26688         (get_next_seq_nocache): Likewise.
26689         * string/strxfrm_l.c: #include WEIGHT_H at top level.
26690         (STRXFRM): Don't #include it inside the function.
26691         Pass new arguments to findidx.
26693 2014-09-11  Florian Weimer  <fweimer@redhat.com>
26695         [BZ #17344]
26696         * malloc/malloc.c (unlink): Turn asserts into a call to
26697         malloc_printerr.
26699 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
26701         [BZ #17370]
26702         * libio/wfileops (do_ftell_wide): Free OUT.
26704 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
26706         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
26708 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26710         [BZ #17363]
26711         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
26712         group if the current group is empty.
26714 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26716         * benchtests/bench-memset.c (test_main): Add more test from size
26717         from 32 to 512 bytes.
26718         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26719         Add POWER8 memset object.
26720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26721         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
26722         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
26723         implementation.
26724         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
26725         Likewise.
26726         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
26727         multiarch POWER8 memset optimization.
26728         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
26729         POWER8 memset optimization.
26731         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26732         Remove bzero multiarch objects.
26733         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
26734         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
26735         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
26736         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
26737         Remove define.
26738         [__bzero]: Redefine to specific name.
26739         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26740         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26741         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
26742         define.
26743         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26744         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26746 2014-09-10  Florian Weimer  <fweimer@redhat.com>
26748         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
26749         warnings into errors.
26751         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
26752         __cxa_thread_atexit_impl prototype.
26754 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26756         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
26757         Fix capitalization of error message.
26759 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26761         * sysdeps/mips/preconfigure: Modify ABI tests.
26763 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
26765         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
26767 2014-09-07  Roland McGrath  <roland@hack.frob.com>
26768             Carlos O'Donell  <carlos@systemhalted.org>
26770         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
26771         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
26772         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
26773         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
26774         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
26775         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
26776         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
26777         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
26778         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
26779         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
26780         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
26781         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
26782         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
26783         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
26784         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
26785         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
26786         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
26787         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
26788         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
26789         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
26790         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
26791         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
26792         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
26793         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
26794         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
26795         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
26796         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
26797         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
26798         Deconditionalize the code that was previously under [RESET_PID].
26799         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
26800         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
26801         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
26802         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
26803         include sysdep.h.
26805 2014-09-08  Allan McRae  <allan@archlinux.org>
26807         * version.h (RELEASE): Set to "development".
26808         (VERSION): Set to "2.20.90"
26810 2014-09-07  Allan McRae  <allan@archlinux.org
26812         * version.h (RELEASE): Set to "stable".
26813         (VERSION): Set to "2.20"
26814         * include/features.h (__GLIBC_MINOR__): Set to 20.
26816         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
26817         Liebler.
26819         * po/ko.po: Update Korean translation from translation project.
26821 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
26823         [BZ #17354]
26824         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
26825         macro for handling signed relocations.
26827 2014-09-03  Florian Weimer  <fweimer@redhat.com>
26829         [BZ #17325]
26830         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
26831         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
26832         assert.
26833         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
26834         * iconvdata/ibm935.c (BODY): Likewise.
26835         * iconvdata/ibm937.c (BODY): Likewise.
26836         * iconvdata/ibm939.c (BODY): Likewise.
26837         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
26838         assert.
26839         * iconvdata/Makefile (iconv-test.out): Pass module list to test
26840         script.
26841         * iconvdata/run-iconv-test.sh: New test loop for checking for
26842         decoder crashers.
26844 2014-09-02  Khem Raj  <raj.khem@gmail.com>
26846         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
26847         libm_hidden_ver.
26849 2014-09-01  Allan McRae  <allan@archlinux.org>
26851         * po/eo.po: Update Esperanto translation from translation project.
26853         * po/ca.po: Update Catalan translation from translation project.
26855 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26857         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
26858         __proc_dostop call.
26860 2014-08-27  Mark Wielaard  <mjw@redhat.com>
26862         [BZ #17319]
26863         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
26864         to call set_thread_area instead of hand written asm.
26865         (__NR_set_thread_area): Removed define.
26866         (TLS_FLAG_WRITABLE): Likewise.
26867         (__ASSUME_SET_THREAD_AREA): Remove check.
26868         (TLS_EBX_ARG): Remove define.
26869         (TLS_LOAD_EBX): Likewise.
26871 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26873         Simplify atomicity of socket creation in bind.
26875         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
26876         looking up the name after linking the file.
26878 2014-08-27  Allan McRae  <allan@archlinux.org>
26880         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26882 2014-08-26  Florian Weimer  <fweimer@redhat.com>
26884         [BZ #17187]
26885         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
26886         trans_compare, open_translit, __gconv_translit_find):
26887         Remove module loading code.
26889 2014-08-26  Allan McRae  <allan@archlinux.org>
26891         * po/vi.po: Update Vietnamese translation from translation project.
26893         * po/uk.po: Update Ukrainian translation from translation project.
26895         * po/fr.po: Update French translation from translation project.
26897         * po/ru.po: Update Russian translation from translation project.
26899         * po/pl.po: Update Polish translation from translation project.
26901         * po/cs.po: Update Czech translation from translation project.
26903         * po/de.po: Update German translation from translation project.
26905         * po/bg.po: Update Bulgarian translation from translation project.
26907         * po/sv.po: Update Sweedish translation from translation project.
26909         * po/nl.po: Update Dutch translation from translation project.
26911         * po/es.po: Update Spanish translation from translation project.
26913 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26915         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
26917         * catgets/Makefile (CPPFLAGS-gencat): Remove.
26918         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
26919         (CPPFLAGS-iconvconfig): Likewise.
26920         * timezone/Makefile (CPPFLAGS-zic): Likewise.
26922         * include/libc-symbols.h: Remove unnecessary check for
26923         NOT_IN_libc.
26924         * nptl/pthreadP.h: Likewise.
26925         * sysdeps/aarch64/setjmp.S: Likewise.
26926         * sysdeps/alpha/setjmp.S: Likewise.
26927         * sysdeps/arm/sysdep.h: Likewise.
26928         * sysdeps/i386/setjmp.S: Likewise.
26929         * sysdeps/m68k/setjmp.c: Likewise.
26930         * sysdeps/posix/getcwd.c: Likewise.
26931         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26932         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26933         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26934         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26935         * sysdeps/sh/sh3/setjmp.S: Likewise.
26936         * sysdeps/sh/sh4/setjmp.S: Likewise.
26937         * sysdeps/unix/alpha/sysdep.h: Likewise.
26938         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26939         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26940         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26941         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26944         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26945         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26946         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26947         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26948         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26949         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26950         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26951         * sysdeps/x86_64/setjmp.S: Likewise.
26953 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
26955         [BZ #17263]
26956         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
26957         <stdint.h>.
26958         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
26959         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
26961 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26963         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
26965         [BZ #17262]
26966         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
26967         and __x86_64__ when disabling x87 inline functions.
26969 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26971         [BZ #17259]
26972         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
26973         asm statement with __cpuid_count.
26975 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
26977         * configure.ac: Change __ehdr_start code to dereference the struct.
26978         Run readelf on the output to look for relocations.
26979         * configure: Regenerated.
26981 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
26983         [BZ #17261]
26984         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
26985         value to 0.
26986         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
26988 2014-08-12  Roland McGrath  <roland@hack.frob.com>
26990         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
26992 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
26994         [BZ #16892]
26995         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
26996         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
26998 2014-08-12  Sean Anderson  <seanga2@gmail.com>
27000         * malloc/malloc.c: Fix typo in comment.
27002 2014-08-09  Allan McRae  <allan@archlinux.org>
27004         * Regenerate libc.po.
27006 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
27008         * intl/tst-gettext2.sh: Check every lang file for creation.
27010 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27012         * sysdeps/aarch64/fpu/math_private.h
27013         (libc_feholdsetround_noex_aarch64_ctx): New function.
27015 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
27017         * sysdeps/arm/armv6/strcpy.S (strcpy):
27018         Fix performance issue in misaligned cases.
27020 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27022         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
27023         Move definition from termios.h.
27024         (struct termio): Likewise.
27025         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27026         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27027         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27028         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27029         Likewise.
27030         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
27031         Move definition to ioctl-types.h
27032         (struct termio): Likewise.
27033         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27034         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27035         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27036         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27037         Likewise.
27039 2014-08-05  Richard Henderson  <rth@redhat.com>
27041         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
27042         exceptions.
27043         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
27044         Add fraiseexcpt.
27045         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
27046         Use __feraiseexcept.
27047         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
27048         Protect libm symbols with IS_IN_libm.
27050         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
27052 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
27054         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
27056 2014-08-04  Will Newton  <will.newton@linaro.org>
27058         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
27059         file.
27061 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
27063         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
27064         variants for each function.
27066 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27068         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
27069         appended ...
27070         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
27071         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
27072         appended ...
27073         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
27074         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
27075         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
27076         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
27077         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
27078         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
27079         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
27080         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
27081         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
27082         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
27083         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
27084         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
27085         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
27086         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
27087         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
27088         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
27089         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
27090         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
27091         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
27092         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
27093         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
27094         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
27095         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
27096         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
27097         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
27098         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
27099         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
27100         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
27101         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
27102         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
27103         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
27104         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
27105         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
27106         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
27107         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
27108         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
27109         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
27110         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
27111         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
27112         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
27113         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
27114         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
27115         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
27116         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
27117         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
27118         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
27119         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
27120         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
27121         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
27122         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
27123         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
27124         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
27125         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
27126         Update #include.
27127         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
27128         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
27130 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27132         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
27133         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
27134         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
27135         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
27136         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
27137         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
27139 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27141         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
27142         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
27143         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27144         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
27146 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27148         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
27149         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
27150         (__libc_vfork): Define function under this name.
27151         (__vfork): Define as an alias.
27152         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
27153         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
27155 2014-08-04  Roland McGrath  <roland@hack.frob.com>
27157         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
27158         that was previously under [RESET_PID].
27159         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
27161 2014-08-04  Andreas Schwab  <schwab@suse.de>
27163         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
27165 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
27167         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
27168         (main): Likewise.
27170 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27172         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
27174 2014-08-01  Richard Henderon  <rth@redhat.com>
27176         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
27177         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
27178         typo in exact zero test.
27179         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27180         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27181         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27183 2014-08-01  Roland McGrath  <roland@hack.frob.com>
27185         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
27186         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
27187         * sysdeps/arm/sysdep.h: ... here.
27188         [!__ASSEMBLER__]: Include <stdint.h>.
27190 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27192         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
27193         (HAVE_WCTYPE_H): Likewise.
27194         (HAVE_ISWCTYPE): Likewise.
27195         (ENABLE_NLS): Likewise.
27196         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
27197         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
27199         * posix/regex_internal.c: Check if DEBUG is defined and is
27200         set.
27202         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
27203         (HAVE_MBSRTOWCS): Likewise.
27204         * posix/fnmatch.c: Include string.h unconditionally.
27206 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27208         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
27209         reversal.
27211 2014-07-31  Roland McGrath  <roland@hack.frob.com>
27213         * sysdeps/generic/safe-fatal.h: New file.
27214         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
27215         * nptl/forward.c: Include it.
27216         (__pthread_unwind): Use __safe_fatal as default action, rather
27217         than a bogus use of INTERNAL_SYSCALL that could never work.
27219         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
27220         * configure.ac (libc_cv_builtin_trap): New test.
27221         * configure: Regenerated.
27222         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
27223         (ABORT_INSTRUCTION): Define using __builtin_trap.
27225         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
27226         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
27227         * sysdeps/nptl/nptl-signals.h: New file.
27228         * nptl/pthreadP.h: Include <nptl-signals.h>.
27230 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27232         * sysdeps/s390/s390-64/utf16-utf32-z9.c
27233         (ONE_DIRECTION): Define.
27234         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27235         (ONE_DIRECTION): Define.
27236         * sysdeps/s390/s390-64/utf8-utf32-z9.c
27237         (ONE_DIRECTION): Define.
27239 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27241         * sysdeps/s390/Makefile: Delete file.
27242         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
27243         * sysdeps/s390/__longjmp.c: Delete file.
27244         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
27245         Remove fields __flags and __reserved.
27246         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
27247         and add versioning.
27248         * sysdeps/s390/rtld-__longjmp.c: Delete file.
27249         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
27250         * sysdeps/s390/rtld-setjmp.S: Likewise.
27251         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
27252         * sysdeps/s390/s390-32/__longjmp.c: ... here.
27253         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
27254         * sysdeps/s390/s390-32/setjmp.S: ... here.
27255         Add versioning.
27256         (__sigsetjmp): Remove setting __flags field.
27257         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
27258         * sysdeps/s390/s390-64/__longjmp.c: ... here.
27259         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
27260         * sysdeps/s390/s390-64/setjmp.S: ... here.
27261         Add versioning.
27262         (__sigsetjmp): Remove setting __flags field.
27263         * sysdeps/s390/setjmp.S: Delete file.
27264         * sysdeps/s390/sigjmp.c: Likewise.
27265         * sysdeps/s390/v1-longjmp.c: Likewise.
27266         * sysdeps/s390/v1-setjmp.h: Likewise.
27267         * sysdeps/s390/v1-sigjmp.c: Likewise.
27268         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
27269         Remove v1-longjmp_chk.
27270         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
27271         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
27272         Include debug/longjmp_chk.c and add versioning.
27273         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
27274         Include nptl/pt-longjmp.c and add versioning.
27275         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
27276         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
27277         Include __longjmp.c.
27278         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27279         Move to ...
27280         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
27281         (__getcontext): Remove setting __flags field.
27282         Add versioning.
27283         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27284         Don't restore upper high grps.
27285         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
27286         Likewise.
27287         (__swapcontext): Remove setting uc_flags field.
27288         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
27289         Delete file.
27290         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27291         Include __longjmp.c.
27292         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27293         Move to ...
27294         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
27295         (__getcontext): Remove setting __flags field.
27296         Add versioning.
27297         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
27298         (__swapcontext): Remove setting uc_flags field.
27299         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
27300         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
27301         Remove fields uc_high_gprs and __reserved.
27302         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
27303         New file with reverted content.
27304         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
27305         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
27306         Regenerated.
27307         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
27308         Regenerated.
27310 2014-07-31  Andreas Schwab  <schwab@suse.de>
27312         * config.h.in (HAVE_IFUNC): Define to 0.
27313         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
27314         definedness.
27316 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
27318         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27319         memmove-avx-unaligned, memcpy-avx-unaligned and
27320         mempcpy-avx-unaligned.
27321         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27322         Add tests for AVX memcpy functions.
27323         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
27324         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
27325         memcpy_chk.
27326         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
27327         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
27328         memmove_chk.
27329         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
27330         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
27331         mempcpy_chk.
27332         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
27333         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
27334         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
27336 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27338         [BZ #17213]
27339         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
27340         powerpc64le.
27342 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
27344         [BZ #16839]
27345         * manual/llio.texi: Add section about open file description locks.
27346         * manual/examples/ofdlocks.c: Example of open file description
27347         lock usage.
27348         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
27349         F_OFD_SETLK, and F_OFD_SETLKW.
27351 2014-07-23  Allan McRae  <allan@archlinux.org>
27353         * po/es.po: Update Spanish translation from translation project.
27355 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
27357         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
27359 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
27361         [BZ #17078]
27362         * sysdeps/arm/dl-machine.h (elf_machine_rela)
27363         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
27364         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
27366 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
27368         [BZ #17088]
27369         * math/fesetenv.c (__fesetenv)
27370         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
27371         * math/feupdateenv.c (__feupdateenv)
27372         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
27374         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
27375         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27376         (__ASSUME_SOCKETCALL): Do not define.
27378         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
27379         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
27380         (__ASSUME_SOCKETCALL): Do not define.
27381         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
27382         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27383         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27384         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27385         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27386         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
27387         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27388         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27390         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
27391         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
27392         (__ASSUME_SOCKETCALL): Do not define.
27393         (__ASSUME_IPC64): Define unconditionally.
27394         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27395         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27396         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27397         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27398         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
27399         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27400         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
27401         Likewise.
27403         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
27404         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
27405         (__ASSUME_SOCKETCALL): Do not define.
27406         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
27407         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27408         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27409         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
27410         (__ASSUME_REQUEUE_PI): Define unconditionally.
27411         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
27412         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
27413         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27414         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
27415         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27416         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27418         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
27419         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
27420         (__ASSUME_SOCKETCALL): Do not define.
27421         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
27422         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27423         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27424         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
27425         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27426         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27428         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
27429         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
27430         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27431         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
27432         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27433         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
27434         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27435         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
27436         (__ASSUME_GETCPU_SYSCALL): Likewise.
27438         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
27439         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
27440         cases for individual architectures.
27441         * sysdeps/gnu/configure: Regenerated.
27442         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
27443         LIBC_SLIBDIR_RTLDDIR.
27444         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
27445         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
27446         LIBC_SLIBDIR_RTLDDIR.
27447         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
27448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
27449         LIBC_SLIBDIR_RTLDDIR.
27450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27451         Regenerated.
27452         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
27453         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
27454         file.
27455         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
27456         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
27457         file.
27458         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
27459         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
27460         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
27461         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
27463         * sysdeps/aarch64/shlib-versions: Move to ...
27464         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
27465         * sysdeps/alpha/shlib-versions: Move to ...
27466         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
27467         * sysdeps/arm/shlib-versions: Move to ...
27468         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
27469         * sysdeps/hppa/shlib-versions: Move all contents except for
27470         libgcc_s entry to ...
27471         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
27472         entry from ...
27473         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
27474         * sysdeps/ia64/shlib-versions: Move to ...
27475         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
27476         entry from ...
27477         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
27478         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
27479         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
27480         * sysdeps/microblaze/shlib-versions: Move to ...
27481         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
27482         * sysdeps/mips/shlib-versions: Move to ...
27483         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
27484         entry from ...
27485         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
27486         * sysdeps/tile/shlib-versions: Move to ...
27487         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
27488         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
27489         from ...
27490         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
27491         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
27492         entry from ...
27493         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
27495 2014-07-17  Will Newton  <will.newton@linaro.org>
27497         * sysdeps/arm/bits/atomic.h
27498         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
27499         (__arch_compare_and_exchange_bool_16_int): Likewise.
27500         (__arch_compare_and_exchange_bool_64_int): Likewise.
27502         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
27503         into an #else block.
27505 2014-07-16  Roland McGrath  <roland@hack.frob.com>
27507         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
27508         just Linux configurations.  Test empirically that the compiler sets
27509         __ARM_EABI__, rather than using the tuple to decide.
27510         * sysdeps/arm/preconfigure: Regenerated.
27511         * sysdeps/unix/sysv/linux/arm/configure: File removed.
27512         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
27513         contents appended ...
27514         * sysdeps/arm/configure.ac: ... here.
27515         * sysdeps/arm/configure: Regenerated.
27517 2014-07-15  Roland McGrath  <roland@hack.frob.com>
27519         * nptl/pthread_kill.c: New file.
27520         * nptl/pthread_sigmask.c: New file.
27521         * nptl/pthread_sigqueue.c: New file.
27523         * sysdeps/nptl/lowlevellock.h: New file.
27524         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
27525         * sysdeps/nptl/lowlevellock-futex.h: New file.
27527         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
27528         Remove dead declarations.
27530 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
27532         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
27533         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
27534         config-cflags-avx2.
27535         * sysdeps/x86_64/configure.ac: Likewise.
27536         * sysdeps/i386/configure: Regenerated.
27537         * sysdeps/x86_64/configure: Likewise.
27538         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27539         memset-avx2 only if config-cflags-avx2 is yes.
27540         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27541         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
27542         defined.
27543         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
27544         only if HAVE_AVX2_SUPPORT is defined.
27545         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27547 2014-07-14  Alan Modra  <amodra@gmail.com>
27549         [BZ #17153]
27550         * elf/elf.h (DT_PPC64_NUM): Correct value.
27551         * NEWS: Add to fixed bug list.
27553 2014-07-13  Jim Meyering  <meyering@fb.com>
27555         [BZ 17150]
27556         regex: don't deref NULL upon heap allocation failure
27557         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
27558         failure in one more place.
27559         To trigger the segfault, configure grep -with-included-regex,
27560         build it, and run these commands:
27561         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
27563 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
27565         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27567 2014-07-11  Richard Henderson  <rth@redhat.com>
27569         * sysdeps/aarch64/libm-test-ulps: Update.
27571 2014-07-10  Florian Weimer  <fweimer@redhat.com>
27573         [BZ #17135]
27574         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
27575         * nptl/allocatestack.c (__nptl_setxid_error): New function.
27576         (__nptl_setxid): Initialize error member.  Call
27577         __nptl_setxid_error.
27578         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
27579         * nptl/descr.h (struct xid_command): Add error member.
27580         * nptl/tst-setuid3.c: New file.
27581         * nptl/Makefile (tests): Add it.
27583 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27585         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
27586         New define.
27587         (__lll_trylock): Use __lll_base_trylock.
27588         (__lll_cond_trylock): Likewise.
27590 2014-07-10  Roland McGrath  <roland@hack.frob.com>
27592         * nptl/pthread_create.c (start_thread): Use atomic_or and
27593         lll_futex_wake directly rather than lll_robust_dead.
27594         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27595         (lll_robust_dead): Macro removed.
27596         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
27597         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27598         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27599         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27600         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27601         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27602         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27603         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27604         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27605         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27606         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27607         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27608         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27609         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27610         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27612         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27613         Use atomic_compare_and_exchange_val_acq directly rather than
27614         lll_robust_trylock.
27615         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27616         (__lll_robust_trylock, lll_robust_trylock): Removed.
27617         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27618         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27619         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27620         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27621         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27622         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27623         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27624         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27625         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27626         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27627         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27628         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27629         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27630         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27632 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27634         * manual/locale.texi (Locale Names): New section documenting
27635         locale name syntax.  Adjust menu and node chaining accordingly.
27636         (Choosing Locale): Reference Locale Names, Locale Categories.
27637         Mention setting LC_ALL=C.  Reflect that name syntax is now
27638         documented.
27639         (Locale Categories): New section title.  Reference Locale Names.
27640         LC_ALL is an environment variable, but not a category.
27641         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
27642         description, now in Locale Name.  Reference that section.  Locale
27643         name syntax is now documented.
27645 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27647         [BZ #17137]
27648         * locale/findlocale.c (name_present, valid_locale_name): New
27649         functions.
27650         (_nl_find_locale): Use the loc_name variable to store name
27651         candidates.  Call name_present and valid_locale_name to check and
27652         validate locale names.  Return an error if the locale is invalid.
27654 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27656         * locale/setlocale.c (setlocale): Use strdup for allocating
27657         composite name copy.
27659 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27661         Sync up with gnulib.
27662         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
27663         [!_LIBC && ENABLE_NLS]: Include gettext.h.
27664         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
27665         and _GL_ARG_NONNULL.
27666         [USE_UNLOCKED_IO]: Include unlocked-io.h.
27667         [!_LIBC]: Include code for Windows and Cygwin.
27668         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
27669         Include prototype for int strerror_r.
27670         [!_LIBC] (is_open): New function.
27671         (flush_stdout): New function.
27672         (print_errno_message): Use it.
27673         (error): Likewise.
27674         (error_at_line): Likewise.
27675         (error_tail) Add function attribute macros.  Use
27676         __builtin_expect.
27678         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
27680         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
27682         * io/ftw.c: Include sys/param.h unconditionally.
27684         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
27686         [BZ #17125]
27687         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
27688         libc_freeres_ptr.
27689         (freecache): New function to free CACHE on exit.
27691         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
27692         initialization.
27694 2014-07-09  David S. Miller  <davem@davemloft.net>
27696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27698         * sysdeps/sparc/nptl/internaltypes.h: Delete.
27699         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
27700         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
27701         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
27702         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
27703         * sysdeps/sparc/nptl/sem_init.c: Likewise.
27704         * sysdeps/sparc/nptl/sem_post.c: Likewise.
27705         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
27706         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
27707         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
27708         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
27709         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
27710         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
27712 2014-07-09  Andreas Schwab  <schwab@suse.de>
27714         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
27715         output.
27716         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
27717         (do_test): Likewise.
27719         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27721 2014-07-09  Will Newton  <will.newton@linaro.org>
27723         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
27724         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
27725         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
27726         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
27727         * sysdeps/hppa/start.S (_start): Likewise.
27729 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
27731         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
27733         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
27734         defined.
27736 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27738         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
27739         after checking that it is non-NULL.
27741         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
27743 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27745         * sysdeps/powerpc/memmove.c: Remove file.
27746         * sysdeps/powerpc/powerpc32/power4/memcopy.h
27747         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
27748         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
27749         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
27750         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
27751         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
27752         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
27753         string memmove instead of removed powerpc one.
27755         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27756         [weak_alias]: Fix compiler warning due trailing data.
27757         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
27758         [weak_alias]: Likewise.
27759         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
27760         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
27762         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27763         (__libc_ifunc_impl_list): Add memmove functions.
27765 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27767         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
27768         Remove code.
27769         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
27770         Likewise.
27771         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
27772         Likewise.
27773         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
27774         Likewise.
27775         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
27776         Likewise.
27777         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
27778         Likewise.
27779         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
27780         Likewise.
27781         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
27782         Likewise.
27783         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
27784         Likewise.
27785         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
27786         Likewise.
27787         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
27788         Likewise.
27789         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
27790         Likewise.
27791         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
27792         Likewise.
27793         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
27794         Likewise.
27795         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
27796         Likewise.
27797         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
27798         Likewise.
27799         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
27800         Likewise.
27802 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27804         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
27805         to avoid alignment traps in non-cacheable memory.
27806         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27808         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
27809         multiarch objects.
27810         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
27811         file: multiarch power7 memmove.
27812         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
27813         multiarch default memmove.
27814         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
27815         multiarch memove for powerpc32/power4.
27817         * string/bcopy.c: Use full path to include memmove.c.
27818         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
27819         multiarch objects.
27820         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
27821         bcopy for powerpc64.
27822         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
27823         bcopy for powerpc64.
27824         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
27825         and memmove implementations.
27826         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
27827         optimized multiarch memmove for POWER7/powerpc64.
27828         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
27829         default multiarch memmove for powerpc64.
27830         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
27831         multiarch for powerpc64.
27832         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
27833         for POWER7/powerpc64.
27834         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
27835         memmove for POWER7/powerpc64.
27837         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
27838         glibc default one.
27840         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
27841         __ELF_NATIVE_CLASS equal to 64.
27843 2014-07-07  Roland McGrath  <roland@hack.frob.com>
27845         * sysdeps/nptl/lowlevellock.h: File removed.
27847         * NEWS: NPTL is no longer an add-on!
27848         * nptl/internaltypes.h: Moved ...
27849         * sysdeps/nptl/internaltypes.h: ... here.
27850         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
27851         * sysdeps/nptl/fork.c: Likewise.
27852         * sysdeps/nptl/gai_misc.h: Likewise.
27853         * sysdeps/nptl/librt-cancellation.c: Likewise.
27854         * sysdeps/nptl/jmp-unwind.c: Likewise.
27855         * sysdeps/nptl/setxid.h: Likewise.
27856         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
27857         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
27858         * sysdeps/unix/sysv/linux/arm/Implies: New file.
27859         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
27860         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
27861         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
27862         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
27863         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
27864         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
27865         * sysdeps/unix/sysv/linux/mips/Implies: New file.
27866         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
27867         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
27868         * sysdeps/unix/sysv/linux/sh/Implies: New file.
27869         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
27870         * sysdeps/unix/sysv/linux/tile/Implies: New file.
27871         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
27872         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
27873         * nptl/Makeconfig: Moved ...
27874         * sysdeps/nptl/Makeconfig: ... here.
27875         * nptl/configure: File removed.
27876         * nptl/ANNOUNCE: File removed.
27877         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
27878         * sysdeps/unix/sysv/linux/configure: Regenerated.
27880         * nptl/Makefile (routines): Add libc_pthread_init,
27881         libc_multiple_threads, register-atfork and unregister-atfork.
27882         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
27883         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
27884         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
27885         pthread-pi-defines.sym, structsem.sym.
27886         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
27887         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
27888         [$(subdir) = nptl] (tests): Add tst-setgetname.
27889         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
27890         * sysdeps/unix/sysv/linux/sigaction.c: Just include
27891         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
27892         [!LIBC_SIGACTION]: Remove aliases.
27893         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27894         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27895         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27896         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
27897         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27898         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
27899         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27900         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27901         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27902         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
27903         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
27904         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
27905         __libc_allocate_rtsig_private.
27906         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
27907         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
27908         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27909         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27910         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
27911         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
27912         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
27913         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
27914         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
27915         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
27916         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
27917         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
27918         * nptl/internaltypes.h: ... here.
27919         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
27920         * sysdeps/nptl/jmp-unwind.c: ... here.
27921         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
27922         * nptl/libc-lowlevellock.c: ... here.
27923         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
27924         * nptl/libc_multiple_threads.c: ... here.
27925         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
27926         * nptl/libc_pthread_init.c: ... here.
27927         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
27928         * nptl/lowlevelbarrier.sym: ... here.
27929         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
27930         * nptl/lowlevelcond.sym: ... here.
27931         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
27932         * nptl/lowlevellock.c: ... here.
27933         * nptl/lowlevellock.h: Moved ...
27934         * sysdeps/nptl/lowlevellock.h: ... here.
27935         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
27936         * nptl/lowlevelrobustlock.c: ... here.
27937         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
27938         * nptl/lowlevelrobustlock.sym: ... here.
27939         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
27940         * nptl/lowlevelrwlock.sym: ... here.
27941         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
27942         * nptl/pt-fork.c: ... here.
27943         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
27944         * nptl/pthread-pi-defines.sym: ... here.
27945         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
27946         * nptl/pthread_attr_getaffinity.c: ... here.
27947         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
27948         * nptl/pthread_attr_setaffinity.c: ... here.
27949         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
27950         * nptl/pthread_mutex_cond_lock.c: ... here.
27951         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27952         Update #include.
27953         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
27954         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
27955         * nptl/pthread_once.c: ... here, replacing old file.
27956         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
27957         * nptl/pthread_yield.c: ... here.
27958         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
27959         * nptl/register-atfork.c: ... here.
27960         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
27961         * nptl/sem_post.c: ... here.
27962         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
27963         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
27964         * nptl/sem_timedwait.c: ... here.
27965         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
27966         * nptl/sem_trywait.c: ... here.
27967         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
27968         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
27969         * nptl/sem_wait.c: ... here.
27970         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
27971         * nptl/structsem.sym: ... here.
27972         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
27973         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
27974         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
27975         * nptl/unregister-atfork.c: ... here.
27976         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
27977         * nptl/unwindbuf.sym: ... here.
27978         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
27979         * sysdeps/nptl/fork.c: ... here.
27980         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
27981         * sysdeps/nptl/fork.h: ... here.
27982         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
27983         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
27984         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
27985         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
27986         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
27987         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
27988         * sysdeps/unix/sysv/linux/getpid.c: ... here.
27989         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
27990         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
27991         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
27992         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
27993         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
27994         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
27995         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
27996         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
27997         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
27998         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
27999         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
28000         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
28001         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
28002         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
28003         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
28004         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
28005         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
28006         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
28007         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
28008         * sysdeps/unix/sysv/linux/raise.c: ... here.
28009         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
28010         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
28011         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
28012         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
28013         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
28014         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
28015         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
28016         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
28017         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
28018         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
28019         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
28020         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
28021         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
28022         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
28023         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
28025 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28027         * sysdeps/generic/memcopy.h: Add comment for
28028         MEMCPY_OK_FOR_FWD_MEMMOVE.
28030 2014-07-04  Will Newton  <will.newton@linaro.org>
28032         * string/memchr.c: Merge from gnulib.
28033         [_LIBC]: Remove conditionals.
28034         (__ptr_t): Remove define.
28035         (LONG_MAX_32_BITS): Likewise.
28036         (LONG_MAX): Likewise.
28037         (MEMCHR): Use ANSI prototype and optimize algorithm.
28039         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
28041 2014-07-03  Roland McGrath  <roland@hack.frob.com>
28043         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
28044         (lll_futex_timed_wait_bitset): Fix syscall argument count.
28046         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
28047         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
28048         in a bare environment with no <stdlib.h> installed.
28049         * sysdeps/nptl/configure: Regenerated.
28051         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
28053         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
28054         AC_EGREP_CPP for kernel header checks, so they only succeed if
28055         including <linux/version.h> actually works right.
28056         * sysdeps/unix/sysv/linux/configure: Regenerated.
28058         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
28059         value so it's not diagnosed as unused.
28061         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
28062         thing) with "ifeq ($(subdir),rt)".
28064 2014-07-03  Richard Henderson  <rth@redhat.com>
28066         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
28067         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
28068         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
28070         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
28071         (math_force_eval): New.
28073         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
28074         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
28076         * sysdeps/alpha/fpu/s_round.c: Remove file.
28077         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
28079         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
28080         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
28081         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
28082         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
28083         (_dl_start, print_statistics): Likewise.
28084         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
28085         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
28087         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28088         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28089         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28090         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28091         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28092         (HP_SMALL_TIMING_AVAIL): Define.
28093         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28094         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28095         (HP_SMALL_TIMING_AVAIL): Define.
28096         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28097         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28099         * sysdeps/aarch64/hp-timing.h: New file.
28101         * sysdeps/generic/hp-timing.h: Remove dead comment.
28102         * sysdeps/generic/hp-timing-common.h: New file.
28103         * sysdeps/alpha/hp-timing.h: Include it.
28104         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
28105         * sysdeps/i386/i686/hp-timing.h: Likewise.
28106         * sysdeps/ia64/hp-timing.h: Likewise.
28107         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28108         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28109         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28110         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28111         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
28112         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
28113         (hp_timing_t): New.
28115         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
28116         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
28117         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
28118         * elf/rtld.c (_dl_start_final): Likewise.
28119         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
28120         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28121         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28122         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28123         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28124         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28125         (HP_TIMING_DIFF_INIT): Remove.
28126         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28127         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28128         (HP_TIMING_DIFF_INIT): Remove.
28129         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28130         * sysdeps/i386/i686/hp-timing.c: Remove file.
28131         * sysdeps/x86_64/hp-timing.c: Remove file.
28132         * sysdeps/ia64/hp-timing.c: Remove file.
28133         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
28134         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
28135         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
28136         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
28138         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
28139         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
28140         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
28141         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28142         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28143         (HP_TIMING_ACCUM): Remove.
28144         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28145         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
28146         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28148         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
28149         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
28150         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
28151         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
28152         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
28153         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28154         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
28155         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28157         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
28159 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
28161         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
28163 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28165         Sync up with gettext.
28166         * intl/loadmsgcat.c: Define O_BINARY if not defined.
28167         [_MSC_VER]: Include malloc.h
28168         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
28169         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
28170         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
28171         TEMP_FAILURE_RETRY.  Cast return of alloca.
28172         [!_LIBC] Call gl_rwlock_init.
28173         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
28175 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28177         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
28178         before checking its value.
28180 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28182         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
28184         * debug/memcpy_chk.c: Don't include pagecopy.h.
28185         * debug/mempcpy_chk.c: Likewise.
28186         * string/memcpy.c: Likewise.
28187         * string/memmove.c: Likewise.
28188         * sysdeps/powerpc/memmove.c: Likewise.
28189         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
28190         definition of PAGE_COPY_FWD_MAYBE here...
28191         * sysdeps/generic/pagecopy.h: ... from here.
28192         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
28194 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28195             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28197         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
28198         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
28199         optimizations.
28200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28201         (__libc_ifunc_impl_list): Likewise.
28202         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
28203         multiarch strcat for PPC64.
28204         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
28205         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
28207 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28209         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
28211 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28213         * intl/loadmsgcat.c: Remove declaration of
28214         get_sysdep_segment_value.
28215         (get_sysdep_segment_value): Use ISO C style.
28216         (_nl_load_domain): Use ISO C style.  Get rid of redundant
28217         semicolon.  Fix typo and formatting in comment.
28218         (_nl_unload_domain): Use ISO C style.
28220         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
28222 2014-07-02  Will Newton  <will.newton@linaro.org>
28224         * malloc/obstack.c: Merge from gnulib master.
28225         [HAVE_CONFIG_H]: Remove conditional code.
28226         [!_LIBC]: Include config.h.
28227         [!ELIDE_CODE]: Don't include inttypes.h, include
28228         stdint.h unconditionally.
28229         (print_and_abort): Mark as _Noreturn.
28230         (_obstack_allocated_p): Mark as __attribute_pure__.
28231         (obstack_free): Rename to __obstack_free.
28232         [!__attribute__]: Remove conditional code.
28233         * malloc/obstack.h: Merge from gnulib master.
28234         [__cplusplus]: Move conditional down.
28235         [!__attribute_pure__]: Define __attribute_pure__ here
28236         if it is not already defined.
28237         (_obstack_memory_used): Mark as __attribute_pure__.
28238         [!__obstack_free]: Define as obstack_free.
28239         [__GNUC__]: Remove check for ancient NeXT gcc.
28241 2014-07-02  Will Newton  <will.newton@linaro.org>
28242             Paul Eggert  <eggert@cs.ucla.edu>
28244         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
28246 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28248         * resolv/gethnamaddr.c: Add comment warning that the file is
28249         not maintained.
28251 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
28253         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
28254         entries.
28256         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
28257         entry for aio_cancel and aio_cancel64.
28258         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
28259         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
28260         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
28261         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
28262         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
28263         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
28264         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
28265         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
28266         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
28267         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
28268         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
28269         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
28270         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
28272 2014-07-01  Roland McGrath  <roland@hack.frob.com>
28274         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
28275         * nptl/pthread_mutex_lock.c: Likewise.
28276         * nptl/pthread_mutex_timedlock.c: Likewise.
28277         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
28279 2014-07-01  Richard henderson  <rth@redhat.com>
28281         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
28282         (__isnan, __isnanl): Remove.
28283         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
28285         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28287 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28289         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28291 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28293         * resolv/nss_dns/dns-host.c (getanswer_r)
28294         [MULTI_PTRS_ARE_ALIASES]: Remove code.
28296 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
28298         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28299         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
28300         undefine.
28301         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
28302         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
28304 2014-07-01  Roland McGrath <roland@hack.frob.com>
28306         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
28307         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
28309         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
28310         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
28312         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
28313         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
28314         ... here.
28315         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
28316         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
28318         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
28319         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
28320         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
28321         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
28323         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
28324         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
28325         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
28326         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
28327         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
28328         Moved ...
28329         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
28330         ... here.
28331         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
28332         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
28333         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
28334         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
28335         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
28336         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
28337         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
28338         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
28339         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
28340         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
28341         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
28342         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
28343         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
28344         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
28345         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
28346         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
28347         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
28348         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
28349         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
28350         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
28351         ... here.
28352         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
28353         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
28354         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
28355         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
28356         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
28357         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
28358         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
28359         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
28361 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
28363         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
28364         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
28365         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
28366         Add sysdep.
28368 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28372 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28374         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28375         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28377         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28379         * sysdeps/arm/libm-test-ulps: Regenerated.
28381 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28382             Roland McGrath <roland@hack.frob.com>
28384         * test-skeleton.c (signal_handler): Kill the whole process group
28385         before killing the child individually.
28386         (main): Report any failure on `setpgid'.
28388 2014-06-30  Roland McGrath  <roland@hack.frob.com>
28390         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
28391         from _TLS_H to _ARM_NPTL_TLS_H.
28392         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
28393         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
28395 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28397         [BZ #16539]
28398         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
28399         (__expm1l): Return argument unchanged when small but not
28400         subnormal.
28402         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
28403         include macro name.
28404         (_FP_UNPACK_RAW_1_P): Likewise.
28405         (_FP_PACK_RAW_1): Likewise.
28406         (_FP_PACK_RAW_1_P): Likewise.
28407         (_FP_MUL_MEAT_1_wide): Likewise.
28408         (_FP_MUL_MEAT_DW_1_hard): Likewise.
28409         (_FP_MUL_MEAT_1_hard): Likewise.
28410         (_FP_DIV_MEAT_1_imm): Likewise.
28411         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
28412         (_FP_DIV_MEAT_1_udiv): Likewise.
28413         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
28414         (_FP_UNPACK_RAW_2): Likewise.
28415         (_FP_UNPACK_RAW_2_P): Likewise.
28416         (_FP_PACK_RAW_2): Likewise.
28417         (_FP_PACK_RAW_2_P): Likewise.
28418         (_FP_MUL_MEAT_DW_2_wide): Likewise.
28419         (_FP_MUL_MEAT_2_wide): Likewise.
28420         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
28421         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28422         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
28423         (_FP_MUL_MEAT_2_gmp): Likewise.
28424         (_FP_DIV_MEAT_2_udiv): Likewise.
28425         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
28426         (_FP_FRAC_SRL_4): Likewise.
28427         (_FP_FRAC_SRST_4): Likewise.
28428         (_FP_FRAC_SRS_4): Likewise.
28429         (_FP_UNPACK_RAW_4): Likewise.
28430         (_FP_UNPACK_RAW_4_P): Likewise.
28431         (_FP_PACK_RAW_4): Likewise.
28432         (_FP_PACK_RAW_4_P): Likewise.
28433         (_FP_MUL_MEAT_DW_4_wide): Likewise.
28434         (_FP_MUL_MEAT_4_wide): Likewise.
28435         (_FP_MUL_MEAT_4_gmp): Likewise.
28436         (umul_ppppmnnn): Likewise.
28437         (_FP_DIV_MEAT_4_udiv): Likewise.
28438         (__FP_FRAC_ADD_4): Likewise.
28439         (__FP_FRAC_SUB_3): Likewise.
28440         (__FP_FRAC_SUB_4): Likewise.
28441         (__FP_FRAC_DEC_3): Likewise.
28442         (__FP_FRAC_DEC_4): Likewise.
28443         (__FP_FRAC_ADDI_4): Likewise.
28444         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
28445         (_FP_FRAC_SRL_8): Likewise.
28446         (_FP_FRAC_SRS_8): Likewise.
28448         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
28449         include macro name.
28450         (FP_UNPACK_RAW_EP): Likewise.
28451         (FP_PACK_RAW_E): Likewise.
28452         (FP_PACK_RAW_EP): Likewise.
28453         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
28454         (_FP_ISSIGNAN): Likewise.
28455         (_FP_ADD_INTERNAL): Likewise.
28456         (_FP_FMA): Likewise.
28457         (_FP_CMP): Likewise.
28458         (_FP_SQRT): Likewise.
28459         (_FP_TO_INT): Likewise.
28460         (_FP_FROM_INT): Likewise.
28461         (FP_EXTEND): Likewise.
28462         (_FP_DIV_MEAT_N_loop): Likewise.
28464 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28466         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
28467         throughout.
28469 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
28471         [BZ #17097]
28472         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
28473         result with correct sign in case of exponents that produce
28474         overflow except for X very close to 1.
28476 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
28478         mktime: merge #if/#ifdef usage from glibc
28479         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
28480         as that works with both Glibc's and Gnulib's style.
28481         See thread starting at Siddhesh Poyarekar's bug report at:
28482         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
28484 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28486         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
28487         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
28488         * sysdeps/tile/tilegx/memmove.c: Remove file.
28490 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28492         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
28493         abi-name definition.
28494         * scripts/soversions.awk: Do not handle or generate ABI lines.
28495         * shlib-versions: Remove ABI entries.
28496         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
28497         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
28499 2014-06-27  Roland McGrath  <roland@hack.frob.com>
28501         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
28502         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
28503         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
28504         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
28505         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
28506         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
28507         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
28508         Moved ...
28509         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
28510         ... here.
28511         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
28512         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
28513         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
28514         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
28515         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
28516         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
28517         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
28518         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
28519         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
28520         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
28521         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
28522         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
28523         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
28524         Moved ...
28525         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
28526         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
28527         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
28528         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
28529         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
28530         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
28531         Moved ...
28532         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
28533         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
28534         Moved ...
28535         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
28536         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
28537         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
28538         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
28539         Moved ...
28540         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
28541         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
28542         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
28543         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
28544         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
28545         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
28546         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
28547         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
28548         Moved ...
28549         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
28550         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
28551         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
28552         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
28553         Moved ...
28554         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
28555         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
28556         Moved ...
28557         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
28558         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
28559         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
28560         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
28561         Moved ...
28562         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
28563         ... here.
28564         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
28565         Identical file removed.
28566         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
28567         Moved ...
28568         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
28569         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
28570         Identical file removed.
28571         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
28572         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
28573         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
28574         Moved ...
28575         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
28576         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
28577         Identical file removed.
28578         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
28579         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
28580         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
28581         Identical file removed.
28582         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
28583         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
28584         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
28585         Identical file removed.
28586         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
28587         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
28588         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
28589         Identical file removed.
28590         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
28591         Moved ...
28592         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
28593         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
28594         Identical file removed.
28595         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
28596         Moved ...
28597         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
28598         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
28599         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
28600         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
28601         Identical file removed.
28602         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
28603         Moved ...
28604         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
28605         ... here.
28606         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
28607         Identical file removed.
28608         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
28609         Moved ...
28610         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
28611         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
28612         Identical file removed.
28613         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
28614         Moved ...
28615         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
28616         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
28617         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
28618         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
28619         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
28620         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
28621         Moved ...
28622         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
28623         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
28624         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
28626         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
28627         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
28628         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
28629         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
28630         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
28632 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
28634         [BZ #17092]
28635         * nscd/nscd.c (monitor_child): Return exit status of child
28636         instead of return value from wait syscall.
28638 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28640         * configure.ac (libc_commonpagesize): Remove variable.
28641         (libc_relro_required): Likewise.
28642         (libc_cv_z_relro): Remove configure test.
28643         * configure: Regenerated.
28644         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
28645         variable.
28646         (libc_relro_required): Likewise.
28647         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
28648         (libc_relro_required): Likewise.
28649         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
28650         (libc_relro_required): Likewise.
28651         * sysdeps/arm/preconfigure: Regenerated.
28652         * sysdeps/ia64/preconfigure: Remove file.
28653         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
28654         variable.
28655         (libc_relro_required): Likewise.
28657         [BZ #16561]
28658         [BZ #16562]
28659         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
28660         (__ieee754_yn): Set FE_TONEAREST mode internally and then
28661         recompute overflowing results in original rounding mode.
28662         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
28663         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
28664         recompute overflowing results in original rounding mode.
28665         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
28666         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28667         recompute overflowing results in original rounding mode.
28668         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
28669         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28670         recompute overflowing results in original rounding mode.
28671         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
28672         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28673         recompute overflowing results in original rounding mode.
28674         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
28675         (libc_feholdsetround_ctx): New macro.
28676         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
28677         * sysdeps/i386/fpu/libm-test-ulps: Update.
28678         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
28680 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28682         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
28683         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
28684         corresponding .cpsetup call.
28686 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28688         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
28689         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
28690         * sysdeps/arm/Makefile [$(subdir) = csu]
28691         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
28692         (static-only-routines): Add aeabi_read_tp here.
28693         (shared-only-routines): Add libc-aeabi_read_tp here.
28694         (CFLAGS-libc-start.c): Add -fexceptions here.
28695         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
28696         (sysdep_routines, static-only-routines, shared-only-routines):
28697         Don't add to these here.
28698         (CFLAGS-libc-start.c): Likewise.
28700         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
28701         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28702         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
28703         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28704         * sysdeps/arm/Makefile [$(subdir) = rt]
28705         (librt-sysdep_routines, librt-shared-only-routines):
28706         Append rt-aeabi_unwind_cpp_pr1 here.
28707         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
28708         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
28709         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
28710         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28711         Append nptl-aeabi_unwind_cpp_pr1 here.
28712         (tests): Filter out tst-cleanupx4 here.
28713         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
28714         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
28715         Don't do those here.
28717 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28719         * scripts/list-sources.sh: Do not handle ports specially.
28721 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28723         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
28724         * sysdeps/arm/feupdateenv.c: Likewise.
28726         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
28728 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28730         * manual/texinfo.tex: Update to version 2014-05-05.10 with
28731         trailing whitespace removed.
28732         * scripts/config.guess: Update to version 2014-03-23.
28733         * scripts/config.sub: Update to version 2014-05-01
28734         * scripts/install-sh: Update to version 2013-12-25.23.
28735         * scripts/move-if-change: Update from gnulib.
28737 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28739         * debug/memmove_chk.c: Remove pagecopy.h include.
28741 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
28743         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
28744         identical to gnulib mktime.
28746 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28748         * configure.ac: Do not test for machine being rs6000.  Do not test
28749         for powerpc*-*soft.
28750         * configure: Regenerated.
28752         [BZ #11505]
28753         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
28754         test.
28755         * configure: Regenerated.
28756         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
28757         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
28758         Remove configure test.
28759         * sysdeps/arm/configure: Regenerated.
28760         * sysdeps/nptl/configure.ac: Do not check
28761         libc_cv_asm_cfi_directives.
28762         * sysdeps/nptl/configure: Regenerated.
28763         * sysdeps/x86_64/nptl/configure.ac: Remove file.
28764         * sysdeps/x86_64/nptl/configure: Remove generated file.
28765         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
28766         unconditional.
28767         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
28769 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28771         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
28772         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
28773         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
28774         it is defined.
28776         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
28777         instead of whether it is defined.
28778         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
28779         * sysdeps/hppa/dl-machine.h: Likewise.
28780         * sysdeps/ia64/dl-machine.h: Likewise.
28781         * sysdeps/m68k/dl-machine.h: Likewise.
28782         * sysdeps/microblaze/dl-machine.h: Likewise.
28783         * sysdeps/mips/dl-machine.: Likewise.
28784         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28785         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28786         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28787         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28788         * sysdeps/sh/dl-machine.h: Likewise.
28789         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28790         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28791         * sysdeps/tile/dl-machine.h: Likewise.
28792         * sysdeps/x86_64/dl-machine.h: Likewise.
28794         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
28795         code.
28796         (verify_persistent_db): Likewise.
28798 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
28801         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
28802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
28803         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
28804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28805         Moved ...
28806         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
28807         ... here.
28808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
28809         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
28810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
28811         Identical file removed.
28812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
28813         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
28814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
28815         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
28816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
28817         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
28818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
28819         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
28820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
28821         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
28822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28823         Moved ...
28824         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
28825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
28826         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
28827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
28828         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
28829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28830         Moved ...
28831         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
28832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
28833         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
28834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
28835         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
28836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28837         Identical file removed.
28838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
28839         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
28840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
28841         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
28842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28843         Moved ...
28844         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
28845         ... here.
28846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
28847         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
28848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
28849         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
28850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
28851         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
28852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
28853         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
28854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
28855         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
28856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28857         Moved ...
28858         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
28859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
28860         Moved ...
28861         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
28862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
28863         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
28864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28865         Moved ...
28866         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
28867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
28868         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
28870         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
28871         folded into ...
28872         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
28873         * sysdeps/unix/sysv/linux/s390/Versions
28874         (libpthread: GLIBC_2.19): New version set.
28875         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
28876         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
28877         (librt: GLIBC_2.3.3): New version set.
28878         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
28879         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
28880         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
28881         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
28882         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
28883         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
28884         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
28885         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
28886         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
28887         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
28888         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
28889         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
28890         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
28891         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
28892         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
28893         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
28894         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
28895         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
28896         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
28897         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
28898         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
28899         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
28900         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
28901         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
28902         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
28903         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
28904         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
28905         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
28906         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
28907         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
28908         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
28909         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
28910         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
28911         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
28912         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
28913         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
28914         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
28915         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
28916         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
28917         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
28918         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
28919         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
28920         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
28921         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
28922         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
28924         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
28925         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
28926         (__libc_vfork): Define the function under this name.
28927         [!NOT_IN_libc] (__vfork): Make this an alias.
28928         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28929         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
28930         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
28931         (__libc_vfork): Define the function under this name.
28932         [!NOT_IN_libc] (__vfork): Make this an alias.
28933         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28934         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
28935         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
28936         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
28937         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
28938         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28940         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
28941         code that was previously under [RESET_PID].
28942         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
28943         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
28944         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
28946         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
28947         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
28948         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
28949         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
28950         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
28951         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
28952         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
28953         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
28954         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
28955         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
28956         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
28957         Moved ...
28958         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
28959         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
28960         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
28961         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
28962         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
28963         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
28964         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
28965         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
28966         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
28967         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
28968         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
28969         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
28970         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
28971         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
28972         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
28973         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
28974         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
28975         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
28976         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
28977         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
28978         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
28979         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
28980         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
28981         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
28982         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
28983         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
28984         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
28985         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
28986         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
28988 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28990         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
28991         that was previously under [RESET_PID].
28992         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
28994 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28996         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
28997         not undefine and redefine.
28998         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
28999         [O_CLOEXEC]: Make code unconditional.
29000         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
29001         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
29002         <kernel-features.h>.
29003         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
29004         conditional variable definition.
29005         (shm_open) [O_CLOEXEC]: Make code unconditional.
29006         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
29007         code.
29009         * configure.ac (USE_REGPARMS): Don't define here.
29010         * configure: Regenerated.
29011         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
29012         * sysdeps/i386/configure: Regenerated.
29014         * nptl/createthread.c: Don't include kernel-features.h.
29015         * nptl/pthread_cancel.c: Likewise.
29016         * nptl/pthread_condattr_setclock.c: Likewise.
29017         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
29018         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
29019         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
29020         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
29021         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
29022         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
29023         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29024         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
29025         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29026         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
29027         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
29028         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
29029         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
29030         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
29031         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
29032         * nscd/gai.c: Likewise.
29033         * nss/nss_db/db-open.c: Likewise.
29034         * sysdeps/generic/ldsodefs.h: Likewise.
29035         * sysdeps/sh/nptl/tls.h: Likewise.
29036         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29037         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
29038         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
29039         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
29040         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
29041         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29042         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
29043         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29044         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29045         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29046         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29047         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29048         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
29049         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
29050         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
29051         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
29052         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
29053         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
29054         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
29055         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
29056         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
29057         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
29058         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
29059         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
29060         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
29061         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
29062         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
29063         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
29064         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29065         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
29066         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
29067         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
29068         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
29069         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29070         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29071         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29072         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29073         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
29074         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
29075         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29076         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29077         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
29078         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
29079         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29080         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
29081         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
29082         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
29083         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
29084         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
29085         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
29086         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
29087         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
29088         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
29089         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29090         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
29091         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29092         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29093         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
29094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
29096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
29097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
29098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
29099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
29100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
29101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
29102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
29105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
29106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
29107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
29108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
29114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
29115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
29116         * sysdeps/unix/sysv/linux/pread.c: Likewise.
29117         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
29118         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
29119         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
29120         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
29121         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
29122         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
29123         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
29124         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
29125         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
29126         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
29127         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
29128         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
29129         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
29130         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
29131         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
29132         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29133         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
29134         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
29135         * sysdeps/unix/sysv/linux/system.c: Likewise.
29136         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
29137         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29138         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29139         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29140         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29141         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29142         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29144         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
29145         * configure: Regenerated.
29146         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
29148         * configure.ac (base_machine): Do not set specially for particular
29149         machines here.
29150         * configure: Regenerated.
29151         * sysdeps/powerpc/preconfigure: Move machine and base_machine
29152         settings from configure.ac.
29153         * sysdeps/i386/preconfigure: New file.
29154         * sysdeps/s390/preconfigure: Likewise.
29155         * sysdeps/sh/preconfigure: Likewise.
29156         * sysdeps/sparc/preconfigure: Likewise.
29158 2014-06-25  Roland McGrath  <roland@hack.frob.com>
29160         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
29161         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
29162         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
29163         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
29164         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
29165         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
29166         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
29167         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
29168         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
29169         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
29170         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
29171         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
29172         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
29173         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
29174         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
29175         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
29176         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
29177         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
29178         * sysdeps/sparc/sparc64/Makefile: ... appended here.
29180         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
29181         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
29182         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
29183         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
29184         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
29185         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
29186         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
29187         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
29188         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
29189         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
29190         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
29191         * sysdeps/sparc/sparc32/sem_post.c: ... here.
29192         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
29193         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
29194         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
29195         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
29196         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
29197         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
29198         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
29199         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
29200         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
29201         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
29202         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
29203         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
29204         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
29205         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
29206         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
29207         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
29208         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
29209         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
29210         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
29211         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
29212         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
29213         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
29214         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
29215         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
29216         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
29217         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
29219         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
29220         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
29221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
29222         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
29223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29224         Moved ...
29225         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
29226         ... here.
29227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
29228         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
29229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
29230         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
29231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
29232         Moved ...
29233         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
29234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
29235         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
29236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
29237         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
29238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
29239         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
29240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29241         Moved ...
29242         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
29243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29244         Moved ...
29245         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
29246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
29247         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
29248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29249         Moved ...
29250         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
29251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
29252         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
29253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
29254         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
29255         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
29256         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
29257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
29258         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
29259         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29260         Moved ...
29261         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
29262         ... here.
29263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
29264         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
29265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
29266         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
29267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
29268         Moved ...
29269         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
29270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
29271         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
29272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
29273         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
29274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
29275         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
29276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29277         Moved ...
29278         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
29279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29280         Moved ...
29281         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
29282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
29283         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
29284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29285         Moved ...
29286         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
29287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
29288         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
29289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
29290         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
29292 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29294         * timezone/checktab.awk: Update from tzcode 2014e.
29295         * timezone/private.h: Likewise.
29296         * timezone/tzfile.h: Likewise.
29297         * timezone/zdump.c: Likewise.
29298         * timezone/zic.c: Likewise.
29300         * sysdeps/unix/sysv/linux/kernel-features.h
29301         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
29302         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
29303         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
29304         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29305         Remove conditional code.
29307 2014-06-25  Will Newton  <will.newton@linaro.org>
29309         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
29310         (_dl_arm_cap_flags): Add HWCAP2 values.
29311         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
29312         (_DL_HWCAP_COUNT): Increase to 37.
29313         (_DL_HWCAP_LAST): New define.
29314         (_DL_HWCAP2_LAST): New define.
29315         (_dl_procinfo): Add support for printing
29316         AT_HWCAP2 entries.
29317         (_dl_string_hwcap): Use _dl_hwcap_string.
29319 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29323 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29325         * README: Do not mention ports directory.
29327         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
29328         Remove macro.
29329         * sysdeps/unix/sysv/linux/futimes.c: Do not include
29330         <kernel-features.h>.
29331         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
29332         conditional variable definition.
29333         (__futimes): Update comment.
29334         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
29335         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
29337         [BZ #16560]
29338         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
29339         arguments close to 0.
29340         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
29341         Likewise.
29342         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
29343         Likewise.
29344         * math/auto-libm-test-in: Add more tests of exp10.
29345         * math/auto-libm-test-out: Regenerated.
29346         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29348         * sysdeps/unix/sysv/linux/kernel-features.h
29349         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
29350         * sysdeps/unix/sysv/linux/readv.c: Do not include
29351         <kernel-features.h>.
29352         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29353         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29354         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29355         unconditional.
29356         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29357         conditional code.
29358         * sysdeps/unix/sysv/linux/writev.c: Do not include
29359         <kernel-features.h>.
29360         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29361         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29362         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29363         unconditional.
29364         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29365         conditional code.
29367 2014-06-25  Will Newton  <will.newton@linaro.org>
29369         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
29370         comment changes throughout the file.  Remove checks
29371         for HAVE_*_H definitions that are not required.
29372         (__gen_tempname): Call abort if an unknown kind value is
29373         passed.
29375 2014-06-25  Andreas Schwab  <schwab@suse.de>
29377         [BZ #17086]
29378         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
29379         scalbln, scalblnf, scalblnl in libc.
29381 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29383         [BZ #17086]
29384         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
29385         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29386         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29388 2014-06-24  Roland McGrath  <roland@hack.frob.com>
29390         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
29391         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
29392         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
29393         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
29394         Update #include.
29395         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
29396         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
29397         Update #include.
29398         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
29399         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
29400         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
29401         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
29402         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
29403         * sysdeps/x86/bits/pthreadtypes.h: ... here.
29404         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
29405         * sysdeps/x86/bits/semaphore.h: ... here.
29406         * sysdeps/x86/nptl/elide.h: Moved ...
29407         * sysdeps/x86/elide.h: ... here.
29408         * sysdeps/x86_64/nptl/Implies: File removed.
29409         * sysdeps/i386/nptl/Implies: File removed.
29411 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
29413         [BZ #16539]
29414         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
29415         return the argument for normal arguments with exponent below -64.
29416         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29417         Likewise.
29418         * math/auto-libm-test-in: Add another test of expm1.
29419         * math/auto-libm-test-out: Regenerated.
29421         [BZ #16287]
29422         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
29423         calling __erfcl for arguments at least 16.
29424         * math/auto-libm-test-in: Add more tests of erf.
29425         * math/auto-libm-test-out: Regenerated.
29427         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
29428         individual architectures.
29429         * sysdeps/unix/sysv/linux/configure: Regenerated.
29430         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
29431         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
29432         * sysdeps/unix/sysv/linux/powerpc/configure.ac
29433         (ldd_rewrite_script): Define variable.
29434         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
29436         file.
29437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
29438         generated file.
29439         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
29440         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
29441         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
29442         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
29443         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
29444         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
29445         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
29446         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
29448 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29450         [BZ #17084]
29451         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
29452         Rename member __data.d to __data.__elision_data.
29454 2014-06-24  Wilco  <wdijkstr@arm.com>
29456         * NEWS: Add 16918 to fixed bug list.
29458 2014-06-24  Wilco  <wdijkstr@arm.com>
29460         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
29462 2014-06-24  Wilco  <wdijkstr@arm.com>
29464         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
29465         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
29466         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
29467         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
29468         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
29469         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
29470         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
29471         Use _FPU_MASK_RM.
29473 2014-06-24  Wilco  <wdijkstr@arm.com>
29475         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
29477 2014-06-24  Wilco  <wdijkstr@arm.com>
29479         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
29480         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
29481         * sysdeps/arm/fesetround.c (fesetround): Remove space.
29482         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
29484 2014-06-24  Wilco  <wdijkstr@arm.com>
29486         [BZ #16918]
29487         * sysdeps/arm/feupdateenv.c (feupdateenv):
29488         Rewrite to reduce FPSCR accesses and fix return value.
29490 2014-06-24  Wilco  <wdijkstr@arm.com>
29492         * sysdeps/arm/fclrexcpt.c (feclearexcept):
29493         Optimize to avoid unnecessary FPSCR writes.
29494         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
29495         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
29496         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
29497         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
29499 2014-06-24  Wilco  <wdijkstr@arm.com>
29501         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
29502         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
29503         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
29504         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
29505         Call libc_fetestexcept_vfp.
29506         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
29507         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
29508         __SOFTFP__ ifdef so that they can be built for softfp.
29510 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29512         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
29513         argument type signed char.
29515         * Makerules (check-abi): Dump diff of symlist if the test
29516         fails.
29518 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29520         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
29521         using abort.
29523         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29524         Remove unused variable ST.
29526 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29528         [BZ #16354]
29529         [BZ #17061]
29530         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
29531         small arguments before calling __expm1.
29532         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
29533         small arguments before calling __expm1f.
29534         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
29535         small arguments before calling __expm1l.
29536         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
29537         Likewise.
29538         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
29539         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
29540         spurious underflow for some cosh tests.
29541         * math/auto-libm-test-out: Regenerated.
29542         * sysdeps/i386/fpu/libm-test-ulps: Update.
29544         [BZ #17050]
29545         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
29546         (__ieee754_y1): Set errno if return value overflows.
29547         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
29548         (__ieee754_y1f): Set errno if return value overflows.
29549         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
29550         (__ieee754_y1l): Set errno if return value overflows.
29551         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
29552         (__ieee754_y1l): Set errno if return value overflows.
29553         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
29554         * math/auto-libm-test-out: Regenerated.
29556         * math/gen-auto-libm-tests.c: Document use of
29557         ignore-zero-inf-sign.
29558         (input_flag_type): Add value flag_ignore_zero_inf_sign.
29559         (input_flags): Add ignore-zero-inf-sign.
29560         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
29561         * math/gen-libm-test.pl (generate_testfile): Handle
29562         ignore-zero-inf-sign.
29563         * math/auto-libm-test-in: Mark some cpow tests with
29564         ignore-zero-inf-sign and some with xfail-rounding.
29565         * math/auto-libm-test-out: Regenerated.
29566         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
29567         * sysdeps/i386/fpu/libm-test-ulps: Update.
29568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29570         [BZ #16315]
29571         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
29572         overflowing or underflowing operations take place with sign of
29573         result.
29574         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29575         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29576         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
29577         (__ieee754_pow): Recompute overflowing and underflowing results in
29578         original rounding mode.
29579         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
29580         (__powl_helper): Allow negative argument X and scale negated value
29581         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
29582         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
29583         overflowing or underflowing operations take place with sign of
29584         result.
29585         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
29586         Include <math.h>.
29587         * math/auto-libm-test-in: Add more tests of pow.
29588         * math/auto-libm-test-out: Regenerated.
29589         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
29590         (pow_tonearest_test_data): Remove.
29591         (pow_test_tonearest): Likewise.
29592         (pow_towardzero_test_data): Likewise.
29593         (pow_test_towardzero): Likewise.
29594         (pow_downward_test_data): Likewise.
29595         (pow_test_downward): Likewise.
29596         (pow_upward_test_data): Likewise.
29597         (pow_test_upward): Likewise.
29598         (main): Don't call removed functions.
29599         * sysdeps/i386/fpu/libm-test-ulps: Update.
29600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29602 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
29605         Moved ...
29606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
29607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29608         Moved ...
29609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
29610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29611         Moved ...
29612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
29613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29614         Moved ...
29615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
29616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29617         File removed.
29618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29619         File removed.
29620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
29621         File removed.
29622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
29623         File removed.
29624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
29625         File removed.
29626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
29627         File removed.
29628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
29629         File removed.
29630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29631         File removed.
29632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
29633         File removed.
29634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29635         File removed.
29636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
29637         File removed.
29638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
29639         File removed.
29640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
29641         Moved ...
29642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
29643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
29644         Moved ...
29645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
29646         ... here.
29647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
29648         Moved ...
29649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
29650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
29651         Moved ...
29652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
29653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
29654         Moved ...
29655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
29656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
29657         Moved ...
29658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
29659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
29660         Moved ...
29661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
29662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
29663         Moved ...
29664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
29665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
29666         Moved ...
29667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
29668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
29669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
29670         ... here.
29671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
29672         Moved ...
29673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
29674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29675         Moved ...
29676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
29677         ... here.
29678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
29679         Moved ...
29680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29681         ... here.
29682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29683         Moved ...
29684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29685         ... here.
29686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29687         Moved ...
29688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
29689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
29690         Moved ...
29691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
29692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
29693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
29694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
29695         Moved ...
29696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
29697         ... here.
29698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29699         Moved ...
29700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
29701         ... here.
29702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
29703         Moved ...
29704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
29705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29706         Moved ...
29707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
29708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
29709         Moved ...
29710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
29711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29712         Moved ...
29713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
29714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
29715         Moved ...
29716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
29717         ... here.
29718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29719         Moved ...
29720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
29721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
29722         Moved ...
29723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
29724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29725         Moved ...
29726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
29727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
29728         Moved ...
29729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
29730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
29731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
29732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
29733         Moved ...
29734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
29735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29736         Moved ...
29737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
29738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
29739         Moved ...
29740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
29741         ... here.
29742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29743         Moved ...
29744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
29745         ... here.
29746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
29747         Moved ...
29748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
29749         ... here.
29750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29751         Moved ...
29752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
29753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
29754         Moved ...
29755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
29756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29757         Moved ...
29758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
29759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
29760         Moved ...
29761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
29762         ... here.
29763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29764         Moved ...
29765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
29766         ... here.
29767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
29768         Moved ...
29769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
29770         ... here.
29771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29772         Moved ...
29773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
29774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29775         Moved ...
29776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
29778 2014-06-23  Will Newton  <will.newton@linaro.org>
29779             Wilco  <wdijkstr@arm.com>
29781         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
29782         implementation.  Include get-rounding-mode.h.
29783         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
29784         [!libc_feholdsetround_noex_ctx]: Define
29785         libc_feholdsetround_noex_ctx.
29786         [!libc_feholdsetround_noexf_ctx]: Define
29787         libc_feholdsetround_noexf_ctx.
29788         [!libc_feholdsetround_noexl_ctx]: Define
29789         libc_feholdsetround_noexl_ctx.
29790         (libc_feholdsetround_ctx): New function.
29791         (libc_feresetround_ctx): New function.
29792         (libc_feholdsetround_noex_ctx): New function.
29793         (libc_feresetround_noex_ctx): New function.
29795 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29797         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
29798         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
29799         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
29800         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
29801         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
29802         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
29804         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
29805         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
29806         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
29807         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
29808         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
29809         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
29810         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
29811         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
29812         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
29813         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
29814         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
29815         Moved ...
29816         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
29817         ... here.
29818         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
29819         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
29820         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
29821         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
29822         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
29823         Moved ...
29824         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
29825         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
29826         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
29827         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
29828         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
29829         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
29830         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
29831         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
29832         Moved ...
29833         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
29834         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
29835         Moved ...
29836         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
29837         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
29838         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
29839         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
29840         Moved ...
29841         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
29842         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
29843         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
29844         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
29845         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
29846         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
29847         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
29848         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
29849         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
29850         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
29851         Moved ...
29852         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
29853         ... here.
29854         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
29855         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
29856         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
29857         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
29858         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
29859         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
29860         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
29861         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
29862         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
29863         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
29864         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
29865         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
29866         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
29867         Moved ...
29868         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
29869         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
29870         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
29871         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
29872         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
29873         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
29874         Moved ...
29875         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
29876         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
29877         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
29878         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
29879         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
29881         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
29882         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
29883         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
29884         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
29885         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
29886         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
29887         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
29888         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
29889         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
29890         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
29891         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
29892         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
29893         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
29894         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
29895         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
29896         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
29897         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
29898         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
29899         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
29900         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
29901         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
29902         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
29903         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
29904         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
29905         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
29906         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
29907         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
29908         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
29910 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29912         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29913         (FALLOC_FL_COLLAPSE_RANGE): New macro.
29914         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
29915         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
29916         (IPV6_PMTUDISC_INTERFACE): Likewise.
29917         (IPV6_PMTUDISC_OMIT): Likewise.
29919 2014-06-23  Andreas Schwab  <schwab@suse.de>
29921         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
29922         Remove unused errout label.
29924 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29926         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
29927         macro: hardware supports Vector Crypto instructions.
29929 2014-06-23  Will Newton  <will.newton@linaro.org>
29931         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
29932         rather than __builtin_expect.
29934         * elf/dl-lookup.c (undefined_msg): Remove variable.
29935         (_dl_lookup_symbol_x): Replace undefined_msg with string
29936         literal.
29938         * elf/dl-lookup.c (do_lookup_unique): New function.
29939         (do_lookup_x): Move STB_GNU_UNIQUE handling code
29940         to a separate function.
29942 2014-06-23  Andreas Schwab  <schwab@suse.de>
29944         [BZ #17079]
29945         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
29946         before reading the next line.
29948 2014-06-23  Will Newton  <will.newton@linaro.org>
29950         * test-skeleton.c (signal_handler): Use printf and %m
29951         rather than perror.  Use printf rather than fprintf to
29952         stderr.  Use puts rather than fputs to stderr.
29953         (main): Likewise.
29955 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
29957         * nscd/nscd.c (thread_info_t): Remove typedef.
29958         (thread_info): Remove variable.
29960 2014-06-21  Allan McRae  <allan@archlinux.org>
29962         * NEWS: Mention CVE-2014-4043.
29964 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29966         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
29967         * nptl/smp.h: ... here.
29969         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
29971         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
29972         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
29973         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
29974         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
29976         * nptl/allocatestack.c: Include <stack-aliasing.h>.
29977         * nptl/stack-aliasing.h: New file.
29978         * sysdeps/i386/i686/stack-aliasing.h: New file.
29979         * sysdeps/i386/i686/nptl/Makefile: File removed.
29980         * sysdeps/x86_64/stack-aliasing.h: New file.
29981         * sysdeps/x86_64/nptl/Makefile
29982         (CFLAGS-pthread_create.c): Variable removed.
29984         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
29985         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
29986         old file.
29987         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
29988         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
29989         old file.
29991 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
29993         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29994         (__ASSUME_SIGFRAME_V2): Remove macro.
29995         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
29996         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
29997         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
29998         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
29999         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
30000         Declare as function.  Remove conditional macro definitions.
30001         (__default_rt_sa_restorer): Likewise.
30002         (__default_sa_restorer_v1): Remove declaration.
30003         (__default_sa_restorer_v2): Likewise.
30004         (__default_rt_sa_restorer_v1): Likewise.
30005         (__default_rt_sa_restorer_v2): Likewise.
30006         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
30007         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
30008         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
30010 2014-06-20  Roland McGrath  <roland@hack.frob.com>
30012         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
30013         (libpthread-routines): Add sysdep.
30014         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
30015         * sysdeps/unix/sysv/linux/sparc/Versions
30016         (libpthread: GLIBC_2.3.3): New version set.
30017         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
30018         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
30019         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
30020         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
30021         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
30022         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
30023         Moved ...
30024         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
30025         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
30026         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
30027         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
30028         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
30029         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
30030         * sysdeps/sparc/nptl/sem_init.c: ... here.
30031         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
30032         * sysdeps/sparc/nptl/sem_post.c: ... here.
30033         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
30034         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
30035         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
30036         * sysdeps/sparc/nptl/sem_wait.c: ... here.
30037         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
30038         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
30039         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
30040         (libpthread-routines): Add cpu_relax.
30041         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
30042         File removed.
30043         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
30044         (librt: GLIBC_2.3.3): New version set.
30045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
30046         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
30047         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
30048         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
30049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
30050         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
30051         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
30052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
30053         Moved ...
30054         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
30055         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
30056         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
30057         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
30058         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
30059         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
30060         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
30061         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
30062         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
30063         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
30064         Moved ...
30065         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
30066         Update #include.
30067         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
30068         Moved ...
30069         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
30070         Update #include.
30071         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
30072         Moved ...
30073         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
30074         Update #include.
30075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
30076         Moved ...
30077         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
30078         Update #include.
30079         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
30080         Moved ...
30081         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
30082         Update #include.
30083         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
30084         Moved ...
30085         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
30086         Update #include.
30087         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
30088         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
30089         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
30090         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
30091         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
30092         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
30093         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
30094         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
30095         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
30096         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
30097         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30098         Moved ...
30099         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
30100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
30101         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
30102         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
30103         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
30105 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30107         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
30108         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
30109         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30110         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
30111         * nscd/nscd.c: Likewise.
30112         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
30113         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
30114         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
30115         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
30117         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
30118         <kernel-features.h>.
30119         (init_mq_netlink): Remove conditional have_sock_cloexec
30120         definitions.  Remove code conditional on have_sock_cloexec < 0.
30121         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
30122         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
30123         * sysdeps/unix/sysv/linux/opensock.c: Do not include
30124         <kernel-features.h>.
30125         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
30126         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
30128 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30130         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30131         Add tests for memset_chk and memset.
30133         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
30134         with AVX2_Usable.
30136 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30138         [BZ #16046]
30139         * elf/tst-dl-iter-static.c: New file.
30140         * elf/Makefile (tests-static): Add tst-dl-iter-static.
30142         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
30143         error.
30145 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30147         * sysdeps/unix/sysv/linux/kernel-features.h
30148         (__ASSUME_F_GETOWN_EX): Remove macro.
30149         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
30150         <kernel-features.h>.
30151         (miss_F_GETOWN_EX): Remove variable or macro.
30152         (do_fcntl): Do not check miss_F_GETOWN_EX.
30153         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
30155         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
30156         Remove macro.
30157         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
30158         [!__ASSUME_AT_RANDOM]: Remove conditional code.
30159         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
30161         * sysdeps/unix/sysv/linux/kernel-features.h
30162         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
30163         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
30164         [ADJ_OFFSET_SS_READ]: Make code unconditional.
30165         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
30167 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
30169         [BZ #17075]
30170         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
30171         Fix calculation of the symbol's value.
30172         * sysdeps/arm/tst-armtlsdescloc.c: New file.
30173         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
30174         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
30175         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
30176         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
30177         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
30178         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
30179         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
30180         (modules-names): Add `tst-armtlsdescmod',
30181         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
30182         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
30183         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30184         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
30185         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
30186         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30187         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
30188         ($(objpfx)tst-armtlsdescloc): New dependency.
30189         ($(objpfx)tst-armtlsdescextnow): Likewise.
30190         ($(objpfx)tst-armtlsdescextlazy): Likewise.
30191         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
30192         TLS scheme support.
30193         * sysdeps/arm/configure: Regenerate.
30195 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30197         * include/fcntl.h (__atfct_seterrno): Remove prototype.
30198         (__atfct_seterrno_2): Likewise.
30199         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
30200         <kernel-features.h>.
30201         (__ASSUME_ATFCTS): Do not undefine and redefine.
30202         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
30203         (__have_atfcts): Remove conditional definition.
30204         (__fxstatat([__NR_fstatat64]: Make code unconditional.
30205         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
30206         unreachable if [__ASSUME_ATFCTS].
30207         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
30208         not undefine and redefine.
30209         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
30210         <kernel-features.h>.
30211         (faccessat) [__NR_faccessat]: Make code unconditional.
30212         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
30213         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
30214         <kernel-features.h>.
30215         (fchmodat) [__NR_fchmodat]: Make code unconditional.
30216         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30217         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
30218         <kernel-features.h>.
30219         (fchownat) [__NR_fchownat]: Make code unconditional.
30220         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
30221         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
30222         <kernel-features.h>.
30223         (futimesat) [__NR_futimesat]: Make code unconditional.
30224         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
30225         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30226         <kernel-features.h>.
30227         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30228         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30229         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30230         <kernel-features.h>.
30231         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
30232         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30233         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
30234         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30235         <kernel-features.h>.
30236         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
30237         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30238         * sysdeps/unix/sysv/linux/linkat.c: Do not include
30239         <kernel-features.h>.
30240         (linkat) [__NR_linkat]: Make code unconditional.
30241         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30242         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
30243         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
30244         <kernel-features.h>.
30245         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
30246         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30247         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
30248         <kernel-features.h>.
30249         (mkdirat) [__NR_mkdirat]: Make code unconditional.
30250         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
30251         * sysdeps/unix/sysv/linux/openat.c: Do not include
30252         <kernel-features.h>.
30253         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
30254         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
30255         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
30256         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
30257         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
30258         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
30259         <kernel-features.h>.
30260         (readlinkat) [__NR_readlinkat]: Make code unconditional.
30261         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
30262         result of INLINE_SYSCALL directly, not via int variable.
30263         * sysdeps/unix/sysv/linux/renameat.c: Do not include
30264         <kernel-features.h>.
30265         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
30266         (renameat) [__NR_renameat]: Make code unconditional.
30267         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
30268         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
30269         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
30270         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
30271         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
30272         (__ASSUME_ATFCTS): Do not undefine and redefine.
30273         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
30274         <kernel-features.h>.
30275         (symlinkat) [__NR_symlinkat]: Make code unconditional.
30276         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30277         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
30278         <kernel-features.h>.
30279         (unlinkat) [__NR_unlinkat]: Make code unconditional.
30280         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30281         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
30282         (__ASSUME_ATFCTS): Do not undefine and redefine.
30283         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30284         <kernel-features.h>.
30285         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30286         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30287         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30288         <kernel-features.h>.
30289         (__xmknodat) [__NR_mknodat]: Make code unconditional.
30290         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30292 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30294         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
30296 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
30298         [BZ #17069]
30299         * posix/regcomp.c (parse_reg_exp): Deallocate partially
30300         constructed tree before returning error.
30301         * posix/bug-regexp36.c: Expand test case.
30303 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30305         [BZ #6803]
30306         * math/libm-test.inc (scalbln_test_date):
30307         Add errno expectations.
30308         * math/w_scalblnf.c: New File.
30309         Add wrapper which checks for setting errno to ERANGE.
30310         Add weak_alias for corresponding scalbln function.
30311         * math/w_scalbln.c: Likewise.
30312         * math/w_scalblnl.c: Likewise.
30313         * math/Makefile (libm-calls): Add w_scalbln.
30314         * sysdeps/ieee754/flt-32/s_scalblnf.c:
30315         Remove weak_alias for corresponding scalbln function.
30316         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30317         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30318         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30319         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30320         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
30321         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30322         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
30323         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30324         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
30325         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
30326         Remove long_double_symbol for scalblnl function in libm, libc.
30327         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
30328         Add wrapper which checks for setting errno to ERANGE.
30329         Add long_double_symbol for scalblnl function in libm, libc.
30330         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
30331         Remove long_double_symbol for scalblnl in libm.
30332         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
30333         Add wrapper which checks for setting errno to ERANGE.
30334         Add long_double_symbol for scalblnl function in libm.
30335         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
30336         Do not use wrapper because of own implementation.
30338 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
30340         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
30341         3 bytes for __pad1 for x32.
30342         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
30344 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
30345             H.J. Lu  <hongjiu.lu@intel.com>
30347         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
30348         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
30349         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30350         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30351         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30353 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
30355         [BZ #17069]
30356         * posix/regcomp.c (parse_expression): Deallocate partially
30357         constructed tree before returning error.
30358         * posix/Makefile.c (tests): Add bug-regex36.
30359         (generated): Add bug-regex36.mtrace.
30360         (tests-special): Add $(objpfx)bug-regex36-mem.out
30361         (bug-regex36-ENV): New variable.
30362         ($(objpfx)bug-regex36-mem.out): New rule.
30363         * posix/bug-regex36.c: New file.
30365 2014-06-19  Will Newton  <will.newton@linaro.org>
30367         * malloc/malloc.c (systrim): If extra is zero then return
30368         early.
30370 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30372         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
30374 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
30376         * sysdeps/aarch64/strchr.S: New file.
30378 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30380         [BZ #17022]
30381         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
30382         from arguments -2 or below.
30383         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30384         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
30386 2014-06-18  Andreas Schwab  <schwab@suse.de>
30388         [BZ #17062]
30389         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
30390         of a bracket expr not to run off the end of the string.
30391         * posix/Makefile (tests): Add tst-fnmatch3.
30392         * posix/tst-fnmatch3.c: New file.
30394 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30396         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
30397         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30398         [$(cross-compiling) = no]: Likewise.
30399         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30400         [$(cross-compiling) = no]: Likewise.
30402 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30404         [BZ #17031]
30405         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
30406         double, adjusted for any remainder from the high double.
30407         * math/libm-test.inc (nearbyint): Add tests.
30408         (rint): Likewise.
30410 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30412         * nptl/sysdeps/powerpc/Makefile: Moved ...
30413         * sysdeps/powerpc/nptl/Makefile: ... here.
30414         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
30415         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
30416         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
30417         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
30418         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
30419         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
30420         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
30421         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
30422         * nptl/sysdeps/powerpc/tls.h: Moved ...
30423         * sysdeps/powerpc/nptl/tls.h: ... here.
30425 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
30427         [BZ #16681]
30428         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
30429         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
30430         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
30431         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
30432         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
30433         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
30434         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
30435         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
30436         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
30438 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
30440         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30442 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
30444         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
30445         defined operator.
30447         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
30448         $TIMEOUTFACTOR.
30450 2014-06-16  Florian Weimer  <fweimer@redhat.com>
30452         [BZ #17058]
30453         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
30454         non-executed part of the test.
30456 2014-06-16  Andreas Schwab  <schwab@suse.de>
30458         * string/bits/string2.h (strdup, strndup): Update feature guard.
30460 2014-06-14  David S. Miller  <davem@davemloft.net>
30462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30464 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
30466         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
30467         that was previously under [RESET_PID].
30468         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
30470         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
30471         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
30472         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
30473         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30474         (__libc_vfork): New strong alias.
30475         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
30477 2014-06-14 Andi Kleen  <ak@linux.intel.com>
30479         * sysdeps/generic/elide.h: New file.
30481 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30483         * Makefile (installed-headers): Adjust path of pthread.h header.
30485 2014-06-13  Roland McGrath  <roland@hack.frob.com>
30487         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
30488         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
30489         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
30490         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
30492         * nptl/sysdeps/s390/Makefile: Moved ...
30493         * sysdeps/s390/nptl/Makefile: ... here.
30494         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
30495         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
30496         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
30497         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
30498         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
30499         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
30500         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
30501         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
30502         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
30503         * sysdeps/s390/nptl/pthreaddef.h: ... here.
30504         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
30505         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
30506         * nptl/sysdeps/s390/tls.h: Moved ...
30507         * sysdeps/s390/nptl/tls.h: ... here.
30509         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
30510         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
30512 2014-06-13  David S. Miller  <davem@davemloft.net>
30514         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
30515         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
30516         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
30517         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
30518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
30519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
30520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
30521         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
30522         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
30523         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
30524         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
30525         Remove RESET_PID cpp guards.
30526         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
30527         Remove RESET_PID cpp guards.
30528         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
30530 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
30532         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
30533         __sp to uintptr_t.
30535 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30537         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
30538         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
30539         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
30540         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
30541         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
30542         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
30543         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
30544         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
30545         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
30546         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
30547         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
30548         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
30549         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
30550         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
30551         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
30552         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
30553         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
30554         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
30555         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
30556         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
30558         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
30559         (pthread_rwlock_rdlock): Add elision.
30560         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
30561         (pthread_rwlock_wrlock): Add elision.
30562         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
30563         (pthread_rwlock_trywrlock): Add elision.
30564         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
30565         (pthread_rwlock_tryrdlock): Add elision.
30566         * nptl/pthread_rwlock_unlock.c: Include elide.h.
30567         (pthread_rwlock_tryrdlock): Add elision unlock.
30568         * nptl/sysdeps/pthread/pthread.h:
30569         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
30570         (PTHREAD_RWLOCK_INITIALIZER,
30571         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
30572         Handle new elision field.
30573         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
30574         * sysdeps/arm/nptl/bits/pthreadtypes.h
30575         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30576         * sysdeps/sh/nptl/bits/pthreadtypes.h
30577         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30578         * sysdeps/tile/nptl/bits/pthreadtypes.h
30579         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30580         * sysdeps/a/nptl/bits/pthreadtypes.h
30581         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30582         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30583         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30584         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30585         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30586         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
30587         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30588         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30589         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30590         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30591         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30592         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30593         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30594         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30595         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30596         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
30597         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30598         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
30599         (elision_init): Set try_xbegin to zero when no RTM.
30600         * sysdeps/x86/nptl/bits/pthreadtypes.h
30601         (pthread_rwlock_t): Change __pad1 to __rwelision.
30602         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30604 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30606         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
30607         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
30608         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
30609         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
30611 2014-06-13  Meador Inge  <meadori@codesourcery.com>
30613         [BZ #16996]
30614         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
30615         that the cached result has been set before returning it.
30617 2014-06-12  Roland McGrath  <roland@hack.frob.com>
30619         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
30620         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
30621         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
30622         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
30623         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
30624         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
30626         * nptl/sysdeps/sparc/Makefile: Moved ...
30627         * sysdeps/sparc/nptl/Makefile: ... here.
30628         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
30629         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
30630         * nptl/sysdeps/sparc/tls.h: Moved ...
30631         * sysdeps/sparc/nptl/tls.h: ... here.
30632         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
30633         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
30634         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
30635         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
30636         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
30637         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
30638         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
30639         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
30640         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
30641         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
30642         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
30643         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
30644         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
30645         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
30646         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
30647         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
30648         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
30649         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
30650         Update #include.
30651         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
30652         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
30653         Update #include.
30654         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
30655         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
30656         Update #include.
30657         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
30658         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
30659         Update #include.
30661         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30663         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
30664         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
30666         * sysdeps/pthread/posix-timer.h: Include <list.h>.
30667         (struct list_links): Type removed.
30668         (struct thread_node, struct timer_node): Replace struct list_links
30669         with struct list_head.
30670         (list_unlink_ip): Likewise.
30671         * sysdeps/pthread/timer_routines.c
30672         (timer_free_list, thread_free_list, thread_active_list): Likewise.
30673         (list_append, list_insbefore): Likewise.
30674         (list_init): Function removed.
30675         (thread_init, init_module): Use INIT_LIST_HEAD instead.
30676         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
30677         * sysdeps/pthread/Makefile: ... here, new file.
30679         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
30680         * sysdeps/nptl/Implies: ... here.
30681         * sysdeps/unix/sysv/linux/Implies: Add nptl.
30682         * nptl/sysdeps/pthread/list.h: Moved ...
30683         * include/list.h: ... here.
30684         * nptl/sysdeps/pthread/createthread.c: Moved ...
30685         * nptl/createthread.c: ... here.
30686         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
30687         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
30688         * nptl/pt-longjmp.c: ... here.
30689         * nptl/sysdeps/pthread/Makefile: Moved ...
30690         * sysdeps/nptl/Makefile: ... here.
30691         * nptl/sysdeps/pthread/Subdirs: Moved ...
30692         * sysdeps/nptl/Subdirs: ... here.
30693         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
30694         * sysdeps/nptl/aio_misc.h: ... here.
30695         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
30696         * sysdeps/nptl/bits/libc-lock.h: ... here.
30697         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
30698         * sysdeps/nptl/bits/libc-lockP.h: ... here.
30699         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
30700         * sysdeps/nptl/bits/stdio-lock.h: ... here.
30701         * nptl/sysdeps/pthread/configure: Moved ...
30702         * sysdeps/nptl/configure: ... here.
30703         * nptl/sysdeps/pthread/configure.ac: Moved ...
30704         * sysdeps/nptl/configure.ac: ... here.
30705         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
30706         * sysdeps/nptl/gai_misc.h: ... here.
30707         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
30708         * sysdeps/nptl/librt-cancellation.c: ... here.
30709         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
30710         * sysdeps/nptl/malloc-machine.h: ... here.
30711         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
30712         * sysdeps/nptl/pthread-functions.h: ... here.
30713         * nptl/sysdeps/pthread/pthread.h: Moved ...
30714         * sysdeps/nptl/pthread.h: ... here.
30715         * nptl/sysdeps/pthread/setxid.h: Moved ...
30716         * sysdeps/nptl/setxid.h: ... here.
30717         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
30718         * sysdeps/nptl/sigfillset.c: ... here.
30719         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
30720         * sysdeps/nptl/tcb-offsets.h: ... here.
30721         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
30722         * sysdeps/nptl/tst-mqueue8x.c: ... here.
30723         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
30724         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
30725         * nptl/sysdeps/pthread/allocalim.h: Moved ...
30726         * sysdeps/pthread/allocalim.h: ... here.
30727         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
30728         * sysdeps/pthread/bits/sigthread.h: ... here.
30729         * nptl/sysdeps/pthread/flockfile.c: Moved ...
30730         * sysdeps/pthread/flockfile.c: ... here.
30731         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
30732         * sysdeps/pthread/ftrylockfile.c: ... here.
30733         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
30734         * sysdeps/pthread/funlockfile.c: ... here.
30735         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
30736         * sysdeps/pthread/posix-timer.h: ... here.
30737         * nptl/sysdeps/pthread/timer_create.c: Moved ...
30738         * sysdeps/pthread/timer_create.c: ... here.
30739         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
30740         * sysdeps/pthread/timer_delete.c: ... here.
30741         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
30742         * sysdeps/pthread/timer_getoverr.c: ... here.
30743         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
30744         * sysdeps/pthread/timer_gettime.c: ... here.
30745         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
30746         * sysdeps/pthread/timer_routines.c: ... here.
30747         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
30748         * sysdeps/pthread/timer_settime.c: ... here.
30749         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
30750         * sysdeps/pthread/tst-timer.c: ... here.
30751         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
30752         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
30754         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
30755         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
30757         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
30758         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
30759         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
30760         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
30761         Update #include target.
30762         * nptl/sysdeps/i386/i686/Makefile: Moved ...
30763         * sysdeps/i386/i686/nptl/Makefile: ... here.
30764         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
30765         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
30766         Update #include target.
30767         * nptl/sysdeps/i386/i686/tls.h: Moved ...
30768         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
30769         * nptl/sysdeps/i386/Makefile: Moved ...
30770         * sysdeps/i386/nptl/Makefile: ... here.
30771         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
30772         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
30773         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
30774         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
30775         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
30776         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
30777         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
30778         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
30779         * sysdeps/i386/nptl/pthreaddef.h: ... here.
30780         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
30781         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
30782         * nptl/sysdeps/i386/tls.h: Moved ...
30783         * sysdeps/i386/nptl/tls.h: ... here.
30785         * sysdeps/sh/Makefile [$(subdir) = csu]
30786         (gen-as-const-headers): Add tcb-offsets.sym.
30787         * nptl/sysdeps/sh/Makefile: File removed.
30788         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
30789         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
30790         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
30791         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
30792         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
30793         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
30794         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
30795         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
30796         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
30797         * sysdeps/sh/nptl/pthreaddef.h: ... here.
30798         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
30799         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
30800         * nptl/sysdeps/sh/tls.h: Moved ...
30801         * sysdeps/sh/nptl/tls.h: ... here.
30802         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
30803         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
30804         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
30805         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
30806         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
30807         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
30808         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
30809         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
30810         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
30811         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
30812         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
30813         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
30814         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
30815         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
30816         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
30817         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
30818         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
30819         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
30820         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
30821         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
30822         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
30823         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
30824         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
30825         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
30826         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
30827         Moved ...
30828         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
30829         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
30830         Moved ...
30831         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
30832         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
30833         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
30834         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
30835         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
30836         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
30837         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
30838         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
30839         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
30840         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
30841         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
30842         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
30843         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
30844         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
30845         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
30846         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
30847         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
30848         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
30849         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
30851 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30853         * posix/spawn_faction_addopen.c: Include string.h.
30855 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30857         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
30858         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
30859         * nptl/sysdeps/x86_64/Makefile: Moved ...
30860         * sysdeps/x86_64/nptl/Makefile: ... here.
30861         * nptl/sysdeps/x86_64/configure: Moved ...
30862         * sysdeps/x86_64/nptl/configure: ... here.
30863         * nptl/sysdeps/x86_64/configure.ac: Moved ...
30864         * sysdeps/x86_64/nptl/configure.ac: ... here.
30865         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
30866         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
30867         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
30868         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
30869         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
30870         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
30871         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
30872         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
30873         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
30874         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
30875         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
30876         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
30877         * nptl/sysdeps/x86_64/tls.h: Moved ...
30878         * sysdeps/x86_64/nptl/tls.h: ... here.
30879         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
30880         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
30881         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
30882         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
30884         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
30886 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30890 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
30892         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
30893         type.
30894         [POSIX] (off_t): Likewise.
30895         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
30896         [POSIX] (S_ISBLK): Require macro.
30897         [POSIX] (S_ISCHR): Likewise.
30898         [POSIX] (S_ISDIR): Likewise.
30899         [POSIX] (S_ISFIFO): Likewise.
30900         [POSIX] (S_ISREG): Likewise.
30901         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
30902         optional-macro.
30903         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
30904         type.
30905         [POSIX] (time_t): Likewise.
30906         [POSIX] (timer_t): Likewise.
30908 2014-06-11  Florian Weimer  <fweimer@redhat.com>
30910         [BZ #17048]
30911         * posix/spawn_int.h (struct __spawn_action): Make the path string
30912         non-const to support deallocation.
30913         * posix/spawn_faction_addopen.c
30914         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
30915         * posix/spawn_faction_destroy.c
30916         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
30917         path in all spawn_do_open actions.
30918         * posix/tst-spawn.c (do_test): Exercise the copy operation in
30919         posix_spawn_file_actions_addopen.
30921 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
30923         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
30924         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
30925         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
30926         conditional code always true.
30927         (__libc_vfork): New alias.
30929 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30931         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30932         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
30934         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
30936         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30937         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
30939         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30940         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
30942         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30943         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
30945 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30947         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
30948         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
30949         multiarch strcmp for PPC64.
30950         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
30951         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
30952         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
30953         multiarch optimizations.
30954         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30955         (__libc_ifunc_impl_list): Likewise.
30957 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30959         * benchtests/scripts/validate_benchout.py: New script.
30960         * benchtests/Makefile (bench-func): Call it.
30961         * benchtests/scripts/benchout.schema.json: New file.
30963 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
30965         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
30966         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
30967         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
30968         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
30969         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
30970         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
30971         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
30972         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
30973         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
30974         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
30975         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
30976         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
30977         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
30978         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
30979         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
30980         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
30981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
30982         Moved ...
30983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
30984         ... here.
30985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
30986         Moved ...
30987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
30988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
30989         Moved ...
30990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
30991         ... here.
30992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
30993         Moved ...
30994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
30995         ... here.
30996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
30997         Moved ...
30998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
30999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
31000         Moved ...
31001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
31002         ... here.
31003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
31004         Moved ...
31005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
31006         ... here.
31007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
31008         Moved ...
31009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
31010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
31011         Moved ...
31012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
31013         ... here.
31014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
31015         Moved ...
31016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
31017         ... here.
31018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
31019         Moved ...
31020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
31021         ... here.
31022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
31023         Moved ...
31024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
31025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
31026         Moved ...
31027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
31028         ... here.
31029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
31030         Moved ...
31031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
31032         ... here.
31033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
31034         Moved ...
31035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
31036         ... here.
31037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
31038         Moved ...
31039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
31040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
31041         Moved ...
31042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
31043         ... here.
31044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
31045         Moved ...
31046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
31047         ... here.
31048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
31049         Moved ...
31050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
31051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
31052         Moved ...
31053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
31054         ... here.
31055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
31056         Moved ...
31057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
31058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
31059         Moved ...
31060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
31061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
31062         Moved ...
31063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
31064         ... here.
31065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
31066         Moved ...
31067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
31068         ... here.
31069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
31070         Moved ...
31071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
31072         ... here.
31073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
31074         Moved ...
31075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
31076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
31077         Moved ...
31078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
31079         ... here.
31080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
31081         Moved ...
31082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
31083         ... here.
31084         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
31085         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
31086         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
31087         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
31088         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
31089         Moved ...
31090         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
31091         ... here.
31092         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
31093         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
31094         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
31095         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
31096         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
31097         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
31098         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
31099         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
31100         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
31101         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
31102         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
31103         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
31104         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
31105         Moved ...
31106         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
31107         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
31108         Moved ...
31109         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
31110         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
31111         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
31112         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
31113         Moved ...
31114         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
31115         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
31116         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
31117         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
31118         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
31119         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
31120         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
31122 2014-06-10  Wilco  <wdijkstr@arm.com>
31124         * math/test-fenv-return.c: New file.
31125         * math/Makefile: Add new test test-fenv-return.
31127 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
31129         [BZ #17042]
31130         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
31131         when x - 1 is zero.
31132         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
31133         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
31134         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
31135         0.0L for an argument of 1.0L.
31136         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
31137         Likewise.
31138         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
31139         value when x - 1 is zero.
31140         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
31141         * sysdeps/i386/fpu/libm-test-ulps: Update.
31142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31144 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
31146         [BZ #15119]
31147         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
31149 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31151         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
31152         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
31154 2014-06-09  Roland McGrath  <roland@hack.frob.com>
31156         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31157         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
31159         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31160         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
31162         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31163         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
31165         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31166         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
31168         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
31169         if not already defined.
31170         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
31171         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
31172         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
31173         (TLS_INIT_TP): Use it.
31174         (TLS_DEFINE_INIT_TP): New macro.
31175         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
31177 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
31179         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
31180         constant.
31181         [POSIX] (IXANY): Likewise.
31182         [POSIX] (OLCUC): Likewise.
31183         [POSIX || POSIX2008] (CBAUD): Do not allow.
31184         [POSIX || POSIX2008] (DEFECHO): Likewise.
31185         [POSIX || POSIX2008] (ECHOCTL): Likewise.
31186         [POSIX || POSIX2008] (ECHOKE): Likewise.
31187         [POSIX || POSIX2008] (ECHOPRT): Likewise.
31188         [POSIX || POSIX2008] (EXTA): Likewise.
31189         [POSIX || POSIX2008] (EXTB): Likewise.
31190         [POSIX || POSIX2008] (FLUSHO): Likewise.
31191         [POSIX || POSIX2008] (LOBLK): Likewise.
31192         [POSIX || POSIX2008] (PENDIN): Likewise.
31193         [POSIX || POSIX2008] (SWTCH): Likewise.
31194         [POSIX || POSIX2008] (VDISCARD): Likewise.
31195         [POSIX || POSIX2008] (VDSUSP): Likewise.
31196         [POSIX || POSIX2008] (VLNEXT): Likewise.
31197         [POSIX || POSIX2008] (VREPRINT): Likewise.
31198         [POSIX || POSIX2008] (VSTATUS): Likewise.
31199         [POSIX || POSIX2008] (VWERASE): Likewise.
31200         (B*): Change to B[0123456789]*.
31201         * conform/data/time.h-data [POSIX || UNIX98]
31202         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
31203         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31204         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
31205         [POSIX] (tm_*): Do not allow.
31207 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
31209         * Makefile (install): Don't set LANGUAGE.
31210         * Makefile.in (install): Likewise.
31211         * assert/Makefile (test-assert-ENV): Remove variable.
31212         (test-assert-perr-ENV): Likewise.
31213         * elf/Makefile (neededtest4-ENV): Likewise.
31214         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31215         [$(cross-compiling) = no]: Don't set LANGUAGE.
31216         * io/ftwtest-sh (LANG): Remove variable.
31217         * libio/Makefile (tst-widetext-ENV): Likewise.
31218         * manual/install.texi (Running make install): Don't refer to
31219         environment settings for make install.
31220         * INSTALL: Regenerated.
31221         * nptl/tst-tls6.sh: Don't set LANG.
31222         * posix/globtest.sh (LANG): Remove variable.
31223         * string/Makefile (tester-ENV): Likewise.
31224         (inl-tester-ENV): Likewise.
31225         (noinl-tester-ENV): Likewise.
31226         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31227         [$(cross-compiling) = no]: Don't set LANGUAGE.
31228         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
31229         without explicit environment settings.
31231 2014-06-06  Roland McGrath  <roland@hack.frob.com>
31233         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
31234         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
31235         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
31236         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
31238 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
31240         * crypt/crypt-private.h [DOS]: Add some includes taken from the
31241         other files in the crypt directory.
31242         * crypt/crypt.c: Remove duplicate includes.
31243         * crypt/crypt-entry.c: Likewise.
31244         * crypt/crypt_util.c: Likewise.
31246 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
31248         * Makeconfig (run-program-env): New variable.
31249         (run-program-prefix-before-env): Likewise.
31250         (run-program-prefix-after-env): Likewise.
31251         (run-program-prefix): Define in terms of new variables.
31252         (built-program-cmd-before-env): New variable.
31253         (built-program-cmd-after-env): Likewise.
31254         (built-program-cmd): Define in terms of new variables.
31255         (test-program-prefix-before-env): New variable.
31256         (test-program-prefix-after-env): Likewise.
31257         (test-program-prefix): Define in terms of new variables.
31258         (test-program-cmd-before-env): New variable.
31259         (test-program-cmd-after-env): Likewise.
31260         (test-program-cmd): Define in terms of new variables.
31261         * Rules (make-test-out): Use $(run-program-env).
31262         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
31263         (help): Do not mention environment variables.  Mention
31264         --timeoutfactor option.
31265         (timeoutfactor): New variable.
31266         (blacklist_exports): Remove function.
31267         (exports): Remove variable.
31268         (command): Do not include ${exports}.
31269         * manual/install.texi (Configuring and compiling): Do not mention
31270         test wrappers preserving environment variables.  Mention that last
31271         assignment to a variable must take precedence.
31272         * INSTALL: Regenerated.
31273         * benchtests/Makefile (run-bench): Use $(run-program-env).
31274         * catgets/Makefile ($(objpfx)test1.cat): Use
31275         $(built-program-cmd-before-env), $(run-program-env) and
31276         $(built-program-cmd-after-env).
31277         ($(objpfx)test2.cat): Do not specify environment variables
31278         explicitly.
31279         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
31280         $(run-program-env) and $(built-program-cmd-after-env).
31281         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
31282         $(run-program-env) and $(test-program-cmd-after-env).
31283         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
31284         explicitly.
31285         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
31286         run_program_env and test_program_cmd_after_env arguments.
31287         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
31288         * elf/tst-pathopt.sh: Use run_program_env argument.
31289         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
31290         $(test-wrapper-env) and $(run-program-env).
31291         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
31292         run_program_env arguments.
31293         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
31294         * intl/Makefile ($(objpfx)tst-gettext.out): Use
31295         $(test-program-prefix-before-env), $(run-program-env) and
31296         $(test-program-prefix-after-env).
31297         ($(objpfx)tst-gettext2.out): Likewise.
31298         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
31299         run_program_env and test_program_prefix_after_env arguments.
31300         * intl/tst-gettext2.sh: Likewise.
31301         * intl/tst-gettext4.sh: Do not set environment variables
31302         explicitly.
31303         * intl/tst-gettext6.sh: Likewise.
31304         * intl/tst-translit.sh: Likewise.
31305         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
31306         $(test-program-prefix-before-env), $(run-program-env) and
31307         $(test-program-prefix-after-env).
31308         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
31309         run_program_env and test_program_prefix_after_env arguments.
31310         * math/Makefile (run-regen-ulps): Use $(run-program-env).
31311         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
31312         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
31313         explicitly with each use of ${test_wrapper_env}.
31314         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
31315         $(test-program-prefix-before-env), $(run-program-env) and
31316         $(test-program-prefix-after-env).
31317         * posix/tst-getconf.sh: Do not set environment variables
31318         explicitly.
31319         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
31320         run_program_env and test_program_prefix_after_env arguments.
31321         * stdio-common/tst-printf.sh: Do not set environment variables
31322         explicitly.
31323         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
31324         $(test-program-prefix-before-env), $(run-program-env) and
31325         $(test-program-prefix-after-env).
31326         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
31327         run_program_env and test_program_prefix_after_env arguments.
31328         Split $test calls into $test_pre and $test.
31329         * timezone/Makefile (build-testdata): Use
31330         $(built-program-cmd-before-env), $(run-program-env) and
31331         $(built-program-cmd-after-env).
31333 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31335         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
31336         strlen for non SHARED builds.
31338 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31340         * nptl/allocatestack.c (check_list): Inlined function...
31341         (__reclaim_stacks): ... here.
31343 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31345         [BZ #15698]
31346         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31347         memory overrun.
31349 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
31351         * Rules (make-test-out): Include
31352         LOCPATH=$(common-objpfx)localedata in default environment.
31353         * debug/Makefile (tst-chk1-ENV): Remove variable.
31354         (tst-chk2-ENV): Likewise.
31355         (tst-chk3-ENV): Likewise.
31356         (tst-chk4-ENV): Likewise.
31357         (tst-chk5-ENV): Likewise.
31358         (tst-chk6-ENV): Likewise.
31359         (tst-lfschk1-ENV): Likewise.
31360         (tst-lfschk2-ENV): Likewise.
31361         (tst-lfschk3-ENV): Likewise.
31362         (tst-lfschk4-ENV): Likewise.
31363         (tst-lfschk5-ENV): Likewise.
31364         (tst-lfschk6-ENV): Likewise.
31365         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
31366         (tst-iconv7-ENV): Likewise.
31367         * intl/Makefile (LOCPATH-ENV): Likewise.
31368         (tst-codeset-ENV): Likewise.
31369         (tst-gettext3-ENV): Likewise.
31370         (tst-gettext5-ENV): Likewise.
31371         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
31372         (tst-fopenloc-ENV): Likewise.
31373         (tst-fgetws-ENV): Remove variable.
31374         (tst-ungetwc1-ENV): Likewise.
31375         (tst-ungetwc2-ENV): Likewise.
31376         (bug-ungetwc2-ENV): Likewise.
31377         (tst-swscanf-ENV): Likewise.
31378         (bug-ftell-ENV): Likewise.
31379         (tst-fgetwc-ENV): Likewise.
31380         (tst-fseek-ENV): Likewise.
31381         (tst-ftell-partial-wide-ENV): Likewise.
31382         (tst-ftell-active-handler-ENV): Likewise.
31383         (tst-ftell-append-ENV): Likewise.
31384         * posix/Makefile (tst-fnmatch-ENV): Likewise.
31385         (tst-regexloc-ENV): Likewise.
31386         (bug-regex1-ENV): Likewise.
31387         (tst-regex-ENV): Likewise.
31388         (tst-regex2-ENV): Likewise.
31389         (bug-regex5-ENV): Likewise.
31390         (bug-regex6-ENV): Likewise.
31391         (bug-regex17-ENV): Likewise.
31392         (bug-regex18-ENV): Likewise.
31393         (bug-regex19-ENV): Likewise.
31394         (bug-regex20-ENV): Likewise.
31395         (bug-regex22-ENV): Likewise.
31396         (bug-regex23-ENV): Likewise.
31397         (bug-regex25-ENV): Likewise.
31398         (bug-regex26-ENV): Likewise.
31399         (bug-regex30-ENV): Likewise.
31400         (bug-regex32-ENV): Likewise.
31401         (bug-regex33-ENV): Likewise.
31402         (bug-regex34-ENV): Likewise.
31403         (bug-regex35-ENV): Likewise.
31404         (tst-rxspencer-ENV): Likewise.
31405         (tst-rxspencer-no-utf8-ENV): Likewise.
31406         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
31407         (tst-sscanf-ENV): Likewise.
31408         (tst-swprintf-ENV): Likewise.
31409         (tst-swscanf-ENV): Likewise.
31410         (test-vfprintf-ENV): Likewise.
31411         (scanf13-ENV): Likewise.
31412         (bug14-ENV): Likewise.
31413         (tst-grouping-ENV): Likewise.
31414         * stdlib/Makefile (tst-strtod-ENV): Likewise.
31415         (tst-strtod3-ENV): Likewise.
31416         (tst-strtod4-ENV): Likewise.
31417         (tst-strtod5-ENV): Likewise.
31418         (testmb2-ENV): Likewise./
31419         * string/Makefile (tst-strxfrm-ENV): Likewise.
31420         (tst-strxfrm2-ENV): Likewise.
31421         (bug-strcoll1-ENV): Likewise.
31422         (test-strcasecmp-ENV): Likewise.
31423         (test-strncasecmp-ENV): Likewise.
31424         * time/Makefile (tst-strptime-ENV): Likewise.
31425         (tst-ftime_l-ENV): Likewise.
31426         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
31427         (tst-mbrtowc-ENV): Likewise.
31428         (tst-wcrtomb-ENV): Likewise.
31429         (tst-mbrtowc2-ENV): Likewise.
31430         (tst-c16c32-1-ENV): Likewise.
31431         (tst-mbsnrtowcs-ENV): Likewise.
31433 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31435         * manual/resource.texi (How to get information about the memory
31436         subsystem?): Fix typo.
31437         Reported by Peon de la Parra Ivan <peon@keba.com>
31439 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
31441         [BZ #16882]
31442         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
31443         (pthread_spin_lock): Branch out of spin loop to proper location.
31444         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
31445         (pthread_spin_lock): Likewise.
31447         * nptl/tst-spin4.c: New test.
31448         * nptl/Makefile (tests): Add tst-spin4.
31450 2014-06-03  Andreas Schwab  <schwab@suse.de>
31452         [BZ #15946]
31453         * resolv/res_send.c (send_dg): Reload file descriptor after
31454         calling reopen.
31456 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
31458         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31460 2014-06-03  Richard Henderson  <rth@redhat.com>
31462         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
31463         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
31464         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
31465         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
31466         in the SAVE_PID block.
31467         (__libc_vfork): New alias.
31468         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
31470         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
31471         child in registers, not on the stack.  Remove RESET_PID conditionals.
31472         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
31474 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31476         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31478 2014-06-03  Wilco  <wdijkstr@arm.com>
31480         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
31481         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
31482         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31483         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
31484         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
31485         Likewise.
31487 2014-06-03  Wilco  <wdijkstr@arm.com>
31489         * sysdeps/aarch64/fpu/math_private.h
31490         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
31491         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
31492         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
31493         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31494         Fix declarations.
31496 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31498         * crypt/crypt-private.h: Include ufc-crypt.h.
31499         (__b64_from_24bit): Declare extern.
31500         * crypt/crypt_util.c(__b64_from_24bit): New function.
31501         (b64t): New static const variable.
31502         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
31503         (b64t): Remove variable.
31504         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
31505         * crypt/sha256-crypt.c: Include crypt-private.h.
31506         (b64t): Remove variable.
31507         (__sha256_crypt_r): Remove b64_from_24bit and replace
31508         with __b64_from_24bit.
31509         * crypt/sha512-crypt.c: Likewise.
31511 2014-06-02  Roland McGrath  <roland@hack.frob.com>
31513         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
31514         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
31515         Label the code __libc_vfork rather than __vfork.
31516         [!NOT_IN_libc] (vfork): Define as weak alias.
31517         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
31518         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
31519         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
31521 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31523         * malloc/malloc.c (malloc_info): Fix format specifier for
31524         n_mmaps.
31526 2014-06-02  Wilco  <wdijkstr@arm.com>
31528         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
31529         FPCR write.
31531 2014-06-02  Wilco  <wdijkstr@arm.com>
31533         [BZ #17009]
31534         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
31535         Rewrite to reduce FPCR/FPSR accesses.
31537 2014-06-01  David S. Miller  <davem@davemloft.net>
31539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31541 2014-05-31  David S. Miller  <davem@davemloft.net>
31543         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
31544         to occur in round to nearest mode when |x| >= 2.0
31546 2014-05-30  Richard Henderson  <rth@twiddle.net>
31548         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
31549         (PSEUDO_RET_NOERRNO): Remove.
31550         (ret): Don't redefine.
31551         (ret_NOERRNO): Define in terms of ret.
31552         (ret_ERRVAL): Likewise.
31554         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
31555         use of PSEUDO_RET; perform the error check directly.
31557 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
31559         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
31560         with __int128_t.
31562 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31564         * malloc/malloc (malloc_info): Fix formatting.
31566 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31567             Roland McGrath  <roland@hack.frob.com>
31569         * malloc/malloc (malloc_info): Also print mmapped statistics.
31571 2014-05-30  Roland McGrath  <roland@hack.frob.com>
31573         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
31574         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
31576 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
31578         * malloc/malloc.c (malloc_info): Inline mi_arena.
31580 2014-05-29  Richard Henderson  <rth@twiddle.net>
31582         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
31583         Remove comma before expanding ASM_ARGS_##nr.
31584         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
31585         Make _x0 a strict output; make _x8 a strict input; adjust expansion
31586         of ASM_ARGS_##nr.
31587         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
31588         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
31589         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
31590         (ASM_ARGS_1): Add leading comma.
31592         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
31593         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
31594         to __errno_location.
31595         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
31596         Remove the expected plt for __errno_location.
31598         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31599         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
31600         call to __read_tp.
31602         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31603         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
31604         it and break it down.
31605         (DOCARGS_0, DOCARGS_1): Do nothing.
31606         (DOCARGS_2): Update to store into the new stack frame.
31607         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
31608         (UNDOCARGS_1): Update to restore from the new stack frame.
31609         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
31610         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
31612         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31613         (SINGLE_THREAD_P): New parameter for result regno.
31614         (PSEUDO): Update to match; use cbz instead of beq.
31616         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31617         Use ENTRY to define the _nocancel entry point.  Share the syscall
31618         and syscall error check paths with the cancel path.
31619         (PSEUDO_END): New.
31621         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
31622         whitespace; tabs before and after asm mnemonics.
31624 2014-05-29  Eric Wong  <normalperson@yhbt.net>
31626         [BZ #15132]
31627         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31628         Call fstat64 or stat64 internally, depending on arguments passed.
31629         Replace stat buffer argument with file descriptor argument.
31630         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
31631         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31632         Pass fd to __internal_statvfs instead of calling fstat64.
31633         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
31634         Pass fd to __internal_statvfs64 instead of calling fstat64.
31635         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
31636         Pass -1 to __internal_statvfs instead of calling stat64.
31637         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
31638         Pass -1 to __internal_statvfs64 instead of calling stat64.
31640 2014-05-28  Roland McGrath  <roland@hack.frob.com>
31642         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
31643         that was previously under [RESET_PID].
31644         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
31646         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
31647         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
31649 2014-05-27  Roland McGrath  <roland@hack.frob.com>
31651         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
31653         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
31654         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
31656 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
31658         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
31660 2014-05-27  Andreas Schwab  <schwab@suse.de>
31662         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
31663         TLS_INIT_TP macro.
31664         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
31665         * elf/rtld.c (init_tls, dl_main): Likewise.
31666         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
31667         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
31668         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
31669         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
31670         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
31671         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
31672         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
31673         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
31674         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
31675         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
31676         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
31677         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
31678         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
31679         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
31680         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
31681         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
31682         * sysdeps/generic/tls.h: Update description.
31684 2014-05-27  Will Newton  <will.newton@linaro.org>
31686         [BZ #16990]
31687         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
31688         and restore r2 rather than just restoring.
31690 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31692         [BZ #16724]
31693         * libio/tst-ftell-append.c: New test case.
31694         * libio/Makefile (tests): Add test case.
31695         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
31696         append mode.
31697         * libio/wfileops.c (do_ftell_wide): Likewise.
31699 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31703         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
31704         ...
31705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
31706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31707         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
31708         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
31709         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
31710         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
31711         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
31712         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
31713         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
31714         Moved ...
31715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
31716         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
31717         Moved ...
31718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
31719         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
31720         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
31721         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
31722         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
31723         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
31724         ...
31725         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
31726         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
31727         Moved ...
31728         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
31729         here.
31730         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
31731         ...
31732         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
31733         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
31734         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
31736         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
31737         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
31738         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
31739         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
31741         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
31742         merge into ...
31743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
31744         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
31745         ...
31746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
31747         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
31748         ...
31749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
31750         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31751         Moved ...
31752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
31753         here.
31754         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31755         Moved ...
31756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
31757         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31758         Moved ...
31759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
31761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
31762         conditional [RESET_PID].
31763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
31764         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
31765         removed.
31766         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
31767         removed.
31769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
31770         <tcb-offsets.h>.
31771         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31772         (__libc_vfork): New strong alias.
31773         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
31774         removed.
31775         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
31776         Removed.
31778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
31779         <tcb-offsets.h>.
31780         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
31781         (__libc_vfork): New strong alias.
31782         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
31783         removed.
31784         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
31785         removed.
31787 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
31789         * malloc/malloc.c (mi_arena): New function.
31790         (malloc_info): Remove nested function mi_arena. Call non-nosted
31791         function mi_arena.
31793 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31795         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
31796         by insrwi.
31797         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31798         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31799         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
31800         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
31801         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
31802         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
31803         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
31805 2014-05-26  Andreas Schwab  <schwab@suse.de>
31807         [BZ #16984]
31808         * locale/programs/repertoire.c (repertoire_read): Add slash
31809         between I18NPATH element and file name.
31810         * locale/programs/locfile.c (locfile_read): Likewise.
31812 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31814         * nptl/pthread_mutexattr_settype.c
31815         (__pthread_mutexattr_settype):
31816         Disable lock elision for PTHREAD_MUTEX_NORMAL.
31818 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31820         * nptl/tst-mutex5 (do_test):
31821         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
31823 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31825         * benchtests/README: Document 'init' directive.
31826         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
31827         BENCH_INIT.
31828         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
31829         (parse_file): Recognize 'init' directive.
31831 2014-05-26  Kyle McMartin  <kyle@redhat.com>
31833         [BZ #16796]
31834         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
31835         alignment of struct pthread.
31837 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31839         [BZ #16878]
31840         * nscd/netgroupcache.c (addgetnetgrentX): Look for
31841         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31842         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
31843         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31845 2014-05-25  Richard Henderson  <rth@twiddle.net>
31847         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31848         (SINGLE_THREAD_P_PIC): Remove.
31849         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
31850         (SINGLE_THREAD_P_PIC): Remove.
31852         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
31853         branch to syscall error ...
31854         (PSEUDO): ... here.
31855         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
31856         from __local_syscall_error to .Lsyscall_error.
31857         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
31858         (SYSCALL_ERROR): Update label name.
31860         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31861         Do not use DOARGS/UNDOARGS.
31862         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
31863         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
31864         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
31865         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
31866         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
31868         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
31869         block comment.
31871         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
31872         define if !NOT_IN_libc.
31873         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
31874         define with non-default symbol versions.
31876 2014-05-23  Richard Henderson  <rth@twiddle.net>
31878         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
31879         (vfork, __vfork): Define via compat_symbol.
31881         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
31882         [!HAVE_IFUNC] (vfork_compat): Remove.
31883         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
31885 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31887         [BZ #16978]
31888         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
31889         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
31890         variable.
31892 2014-05-23  Richard Henderson  <rth@twiddle.net>
31894         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
31895         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
31896         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
31897         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
31899         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
31900         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
31901         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
31902         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
31903         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
31904         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
31905         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
31906         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
31907         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
31908         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
31909         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
31910         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
31911         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
31912         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
31913         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
31914         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
31915         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
31916         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
31917         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
31918         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
31919         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
31920         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
31921         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
31922         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
31923         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
31924         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
31925         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
31926         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
31927         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
31928         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
31929         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
31930         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
31931         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
31932         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
31933         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
31934         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
31935         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
31936         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
31937         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
31938         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
31939         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
31940         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
31941         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
31942         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
31943         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
31944         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
31945         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
31946         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
31947         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
31948         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
31949         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
31950         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
31951         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
31952         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
31953         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
31954         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
31956         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
31957         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
31958         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
31959         before exiting on error.
31960         (__libc_vfork): New strong alias.
31961         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
31962         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
31964         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
31965         that was previously under [RESET_PID].
31966         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
31968         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
31970 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31972         [BZ #16977]
31973         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
31974         value when x - 1 is zero.
31975         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
31976         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
31977         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
31978         0.0L for an argument of 1.0L.
31979         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
31980         Likewise.
31981         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
31982         value when x - 1 is zero.
31983         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
31984         * sysdeps/i386/fpu/libm-test-ulps: Update.
31985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31987 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31989         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
31990         alphasort and versionsort.
31992 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31994         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
31995         macro.
31996         [copysignf]: Likewise.
31998 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32000         * crypt/md5-crypt.c: Fix formatting.
32002 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32004         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
32005         (b64_from_24bit): New function.
32007 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32009         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
32010         libc_hidden_builtin_def to ifunc.
32011         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32012         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
32014 2014-05-21  Roland McGrath  <roland@hack.frob.com>
32016         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
32017         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
32019 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
32021         * nscd/Depend (linuxthreads): Remove.
32022         (nptl): Add.
32023         * resolv/Depend (linuxthreads): Remove.
32024         * rt/Depend (linuxthreads): Remove.
32026         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
32027         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
32028         $(common-objpfx)elf/.
32029         (link-libc-before-gnulib): Likewise.
32030         (elfobjdir): Remove variable.
32031         * Makefile (install): Use $(elf-objpfx) instead of
32032         $(common-objpfx)elf/.
32033         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
32034         $(elfobjdir)/.
32035         (link-libc-deps): Likewise.
32036         ($(common-objpfx)libc.so): Likewise.
32037         ($(common-objpfx)linkobj/libc.so): Likewise.
32038         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
32039         instead of $(common-objpfx)elf/.
32040         (symbolic-link-list): Likewise.
32041         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32042         [$(cross-compiling) = no]: Likewise.
32043         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
32044         $(elfobjdir)/.
32045         (static-gnulib-arch): Likewise.
32046         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32047         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
32048         $(common-objpfx)elf/.
32050 2014-05-21  Richard Henderson  <rth@redhat.com>
32052         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32053         (SINGLE_THREAD_P): Use the correct width load.  Fold
32054         into the ldr offset.
32056         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
32057         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
32059 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
32061         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
32062         (libgcc_s_resume): Use __attribute_used__.
32063         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
32064         Likewise.
32066 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32068         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
32069         optimization when used with float constants.
32071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32073 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
32075         [BZ #16915]
32076         * locale/nl_langinfo_l.c: Make direct reference to every
32077         _nl_current_CATEGORY symbol.
32078         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
32079         (tests-static): Add tst-langinfo-static.
32080         (tests-special): Add tst-langinfo-static.out.
32081         ($(objpfx)tst-langinfo.out): Redirect output.
32082         ($(objpfx)tst-langinfo-static.out): New.
32083         * localedata/tst-langinfo.sh: Send output to stdout.
32084         * localedata/tst-langinfo-static.c: New file.
32086         [BZ #16965]
32087         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
32088         when the shift amount is modulo the limb size.
32090 2014-05-20  Richard Henderson  <rth@redhat.com>
32092         [BZ #16967]
32093         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
32094         Change type of sa_flags from unsigned int to int.
32096         [BZ #16966]
32097         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
32099         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
32101 2014-05-20  Will Newton  <will.newton@linaro.org>
32103         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32104         Test the return value of the system call in the nocancel case.
32106 2014-05-20  Will Newton  <will.newton@linaro.org>
32107             Yvan Roux  <yvan.roux@linaro.org>
32109         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
32110         #include of asm/ptrace.h.
32111         (PTRACE_GET_THREAD_AREA): Remove #undef.
32112         (PTRACE_GETHBPREGS): Likewise.
32113         (PTRACE_SETHBPREGS): Likewise.
32114         (struct user_regs_struct): New structure.
32115         (struct user_fpsimd_struct): New structure.
32116         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
32117         #include of asm/ptrace.h and second #include of sys/user.h.
32118         (PTRACE_GET_THREAD_AREA): Remove #undef.
32119         (PTRACE_GETHBPREGS): Likewise.
32120         (PTRACE_SETHBPREGS): Likewise.
32121         (ELF_NGREG): Use new struct user_regs_struct.
32122         (elf_fpregset_t): Use new struct user_fpsimd_struct.
32124 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32126         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
32127         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
32129 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
32131         [BZ #16958]
32132         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
32133         membar to avoid block loads/stores to overlap previous stores.
32135 2014-05-17  Richard Henderson  <rth@redhat.com>
32137         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
32138         Create the __##syscall_name##_nocancel entry point.
32139         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
32140         Remove; let the sysdep-cancel.h code create it.
32142 2014-05-17  David S. Miller  <davem@davemloft.net>
32144         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
32145         Protect with __USE_GNU.
32146         (TIOCSET_TEMPT): Likewise.
32147         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32148         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
32149         these are already provided in bits/ioctl-types.h
32151 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32153         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
32154         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
32156         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
32157         Use wait4 regardless of [__NR_waitpid].
32159 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32161         PR libgcc/60166
32162         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32163         (_FP_NANSIGN_Q): Set the quiet bit.
32165 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
32167         * benchtests/Makefile
32168         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
32169         not $(common-objpfx)math/libm.so.
32170         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
32171         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
32172         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
32173         $(common-objpfx)dlfcn/libdl.so.
32174         ($(objpfx)tst-audit8): Depend on $(libm), not
32175         $(common-objpfx)math/libm.so.
32176         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
32177         not $(common-objpfx)dlfcn/libdl.so.
32178         * math/Makefile
32179         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32180         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
32181         [$(build-shared) = yes].
32182         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
32183         $(common-objpfx)nptl/libpthread.so.
32184         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
32185         $(common-objpfx)math/libm.so$(libm.so-version) or
32186         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
32187         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
32188         $(common-objpfx)dlfcn/libdl.so.
32189         * setjmp/Makefile (link-libm): Remove variable.
32190         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
32191         * stdio-common/Makefile (link-libm): Remove variable.
32192         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
32193         * stdlib/Makefile (link-libm): Remove variable.
32194         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
32195         ($(objpfx)tst-strtod-round): Likewise.
32196         ($(objpfx)tst-tininess): Likewise.
32197         ($(objpfx)tst-strtod-underflow): Likewise.
32198         ($(objpfx)tst-strtod6): Likewise.
32199         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
32200         $(libdl), not $(common-objpfx)nptl/libpthread.so and
32201         $(common-objpfx)dlfcn/libdl.so.
32203 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32205         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
32206         BSD terminal modes definitions.
32208 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32210         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
32211         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
32213         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
32214         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
32215         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
32216         Don't do #include_next.
32217         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
32218         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
32219         Don't do #include_next.
32220         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
32221         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
32222         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
32223         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
32225 2014-05-16  Allan McRae  <allan@archlinux.org>
32227         * po/sv.po: Update Swedish translation from translation project.
32229         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
32230         in sed expression.
32232 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
32234         [BZ #16917]
32235         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
32236         errno if the TIOCGPTN ioctl fails with an error different than
32237         EINVAL.
32238         * login/tst-ptsname.c: New file.
32239         * login/Makefile (tests): Add tst-ptsname.
32241         [BZ #16943]
32242         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
32243         and prlimit64.
32245 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32247         [BZ #16849]
32248         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
32249         herrno to return EAI_AGAIN.
32251 2014-05-14  Roland McGrath  <roland@hack.frob.com>
32253         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
32254         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
32255         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
32256         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
32257         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
32258         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
32259         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
32260         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
32261         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
32262         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
32263         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
32264         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
32265         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
32266         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
32267         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
32268         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
32269         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
32270         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
32271         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
32272         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
32273         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
32274         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
32275         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
32276         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
32277         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
32278         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
32279         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
32280         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
32281         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
32282         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
32283         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
32284         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
32285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
32286         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
32287         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32288         Moved ...
32289         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
32290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
32291         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
32292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
32293         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
32294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
32295         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
32296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
32297         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
32298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
32299         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
32300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
32301         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
32302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
32303         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
32304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
32305         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
32306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
32307         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
32308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
32309         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
32310         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
32311         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
32312         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
32313         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
32314         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
32315         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
32316         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32317         Moved ...
32318         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
32319         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
32320         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
32321         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
32322         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
32323         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
32324         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
32325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
32326         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
32327         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
32328         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
32329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
32330         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
32331         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
32332         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
32333         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
32334         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
32335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
32336         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
32337         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32338         Moved ...
32339         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
32340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
32341         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
32343         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
32344         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
32345         (libpthread-sysdep_routines): Add elision-related stuff here instead.
32346         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
32347         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
32348         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
32349         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
32350         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
32351         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
32352         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
32353         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
32354         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
32355         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
32356         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
32357         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
32358         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
32359         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
32360         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
32361         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
32362         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
32363         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
32364         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
32365         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
32366         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
32367         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
32368         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
32369         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
32370         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
32371         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
32372         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
32373         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
32375         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
32376         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
32378         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
32379         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
32380         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
32381         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
32382         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
32383         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
32384         Moved ...
32385         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
32386         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
32387         Moved ...
32388         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
32389         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
32390         Moved ...
32391         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
32392         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
32393         Moved ...
32394         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
32395         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
32396         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
32397         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
32398         Moved ...
32399         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
32400         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
32401         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
32402         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
32403         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
32404         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
32405         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
32406         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
32407         Moved ...
32408         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
32409         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32410         Moved ...
32411         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32412         ... here.
32413         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
32414         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
32415         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
32416         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
32417         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32418         Moved ...
32419         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32420         ... here.
32421         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
32422         Moved ...
32423         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
32424         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
32425         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
32426         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
32427         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
32428         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
32429         Moved ...
32430         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
32431         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
32432         Moved ...
32433         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
32434         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
32435         Moved ...
32436         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
32437         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
32438         Moved ...
32439         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
32440         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
32441         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
32442         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
32443         Moved ...
32444         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
32445         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
32446         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
32447         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
32448         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
32449         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
32450         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
32451         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
32452         Moved ...
32453         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
32454         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32455         Moved ...
32456         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32457         ... here.
32458         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
32459         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
32460         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
32461         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
32462         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32463         Moved ...
32464         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32465         ... here.
32466         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
32467         Moved ...
32468         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
32469         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
32470         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
32471         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
32472         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
32473         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
32474         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
32475         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
32476         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
32477         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
32478         Moved ...
32479         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
32480         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
32481         Moved ...
32482         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
32483         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
32484         Moved ...
32485         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
32486         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
32487         Moved ...
32488         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
32489         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
32490         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
32491         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
32492         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
32493         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
32494         Moved ...
32495         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
32496         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
32497         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
32498         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
32499         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
32500         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
32501         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
32502         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
32503         Moved ...
32504         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
32505         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32506         Moved ...
32507         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32508         ... here.
32509         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
32510         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
32511         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
32512         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
32513         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32514         Moved ...
32515         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32516         ... here.
32517         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
32518         Moved ...
32519         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
32520         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
32521         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
32522         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
32523         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
32524         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
32525         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
32526         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
32527         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
32528         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
32529         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
32531         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
32532         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
32534         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
32535         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
32537         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
32538         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
32539         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
32540         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
32541         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
32542         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
32543         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
32544         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
32545         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
32546         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
32547         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
32548         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
32549         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
32550         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
32551         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
32552         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
32553         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
32554         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
32555         Moved ...
32556         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
32557         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
32558         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
32559         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
32560         Moved ...
32561         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
32562         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
32563         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
32564         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
32565         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
32566         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
32567         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
32568         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
32569         Moved ...
32570         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
32571         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
32572         Moved ...
32573         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
32574         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
32575         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
32576         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
32577         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
32578         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
32579         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
32580         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
32581         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
32582         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
32583         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
32584         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
32585         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
32586         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
32587         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
32588         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
32589         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
32591         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
32592         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
32593         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
32594         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
32595         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
32597         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
32598         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
32599         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
32600         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
32601         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
32602         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
32603         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
32604         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
32605         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
32606         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
32608         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
32609         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
32611         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
32612         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
32613         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
32614         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
32615         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
32616         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
32617         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
32618         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
32619         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
32620         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
32621         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
32622         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
32623         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
32624         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
32625         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
32626         Update #include.
32627         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
32628         Likewise.
32629         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32630         Likewise.
32631         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32632         Likewise.
32633         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32634         Likewise.
32635         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
32636         Likewise.
32637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
32638         Likewise.
32639         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32640         Likewise.
32641         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
32642         Likewise.
32643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
32644         Likewise.
32645         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
32646         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
32647         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
32648         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
32649         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
32650         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
32651         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
32652         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
32653         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
32654         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
32655         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
32656         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
32657         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
32658         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
32659         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
32661         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
32662         that was previously under [RESET_PID].
32663         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32664         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
32665         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
32667         * sysdeps/i386/nptl/Implies: New file.
32668         * sysdeps/x86_64/nptl/Implies: New file.
32669         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
32670         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
32671         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
32672         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
32674         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
32675         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32676         (__libc_vfork): New strong alias.
32677         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
32678         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
32680         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
32681         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32682         (__libc_vfork): New strong alias.
32683         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
32684         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
32686         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
32687         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32688         (__libc_vfork): New strong alias.
32689         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
32690         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
32691         * nptl/pt-vfork.c: New file.
32692         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
32693         (libpthread: GLIBC_2.20): New version set (empty).
32695 2014-05-14  Will Newton  <will.newton@linaro.org>
32697         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
32698         rather than #if.
32700 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32702         [BZ #16564]
32703         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
32704         arguments with exponent 65 or above.
32705         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
32706         arguments 0x1p113L or above.
32707         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
32708         to arguments 0x1p107L or above.
32709         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
32710         positive arguments with exponent 65 or above.
32711         * math/auto-libm-test-in: Add more tests of log1p.
32712         * math/auto-libm-test-out: Regenerated.
32714         [BZ #16928]
32715         * math/s_cacos.c (__cacos): Ensure zero real part of result from
32716         non-finite arguments is +0.
32717         * math/s_cacosf.c (__cacosf): Likewise.
32718         * math/s_cacosl.c (__cacosl): Likewise.
32719         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
32720         * sysdeps/i386/fpu/libm-test-ulps: Update.
32721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32723         [BZ #16927]
32724         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
32725         value.
32726         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
32727         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
32728         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
32729         for explicit high bit of mantissa when testing for argument equal
32730         to 1.
32731         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
32732         * sysdeps/i386/fpu/libm-test-ulps: Update.
32733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32735         [BZ #16516]
32736         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
32737         (__erf): Scale by 16 instead of 8 in potentially underflowing
32738         case.  Ensure exception if result actually underflows.
32739         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
32740         (__erff): Scale by 16 instead of 8 in potentially underflowing
32741         case.  Ensure exception if result actually underflows.
32742         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
32743         (efx8): Remove variable.
32744         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32745         case.  Ensure exception if result actually underflows.
32746         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
32747         (efx8): Remove variable.
32748         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32749         case.  Ensure exception if result actually underflows.
32750         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
32751         (efx8): Remove variable.
32752         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32753         case.  Ensure exception if result actually underflows.
32754         * math/auto-libm-test-in: Add more tests of erf.
32755         * math/auto-libm-test-out: Regenerated.
32757 2014-05-14  Andreas Schwab  <schwab@suse.de>
32759         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
32760         Remove code conditionalized on USE___THREAD.
32762         * config.h.in (HAVE_PT_CHOWN): Define as 0.
32763         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
32764         not definedness.
32766 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32768         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
32769         Define unconditionally.
32770         (__ASSUME_O_CLOEXEC): Likewise.
32771         (__ASSUME_SOCK_CLOEXEC): Likewise.
32772         (__ASSUME_IN_NONBLOCK): Likewise.
32773         (__ASSUME_PIPE2): Likewise.
32774         (__ASSUME_EVENTFD2): Likewise.
32775         (__ASSUME_SIGNALFD4): Likewise.
32776         (__ASSUME_DUP3): Likewise.
32777         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32778         (__ASSUME_DUP3): Do not define.
32779         (__ASSUME_EVENTFD2): Likewise.
32780         (__ASSUME_IN_NONBLOCK): Likewise.
32781         (__ASSUME_O_CLOEXEC): Likewise.
32782         (__ASSUME_PIPE2): Likewise.
32783         (__ASSUME_SIGNALFD4): Likewise.
32784         (__ASSUME_SOCK_CLOEXEC): Likewise.
32785         (__ASSUME_UTIMES): Undefine.
32786         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32787         (__ASSUME_UTIMES): Do not define.
32788         (__ASSUME_O_CLOEXEC): Likewise.
32789         (__ASSUME_SOCK_CLOEXEC): Likewise.
32790         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
32791         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
32792         0x020621].
32793         (__ASSUME_PIPE2): Likewise.
32794         (__ASSUME_EVENTFD2): Likewise.
32795         (__ASSUME_SIGNALFD4): Likewise.
32796         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
32797         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
32798         Do not define.
32799         (__ASSUME_EVENTFD2): Likewise.
32800         (__ASSUME_SIGNALFD4): Likewise.
32801         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32802         (__ASSUME_32BITUIDS): Likewise.
32803         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32804         (__ASSUME_IPC64): Likewise.
32805         (__ASSUME_ST_INO_64_BIT): Likewise.
32806         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
32807         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
32808         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32809         (__ASSUME_UTIMES): Do not define.
32810         (__ASSUME_PSELECT): Likewise.
32811         (__ASSUME_PPOLL): Likewise.
32812         (__ASSUME_O_CLOEXEC): Likewise.
32813         (__ASSUME_SOCK_CLOEXEC): Likewise.
32814         (__ASSUME_IN_NONBLOCK): Likewise.
32815         (__ASSUME_PIPE2): Likewise.
32816         (__ASSUME_EVENTFD2): Likewise.
32817         (__ASSUME_SIGNALFD4): Likewise.
32818         (__ASSUME_DUP3): Likewise.
32819         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32820         (__ASSUME_UTIMES): Likewise.
32821         (__ASSUME_O_CLOEXEC): Likewise.
32822         (__ASSUME_SOCK_CLOEXEC): Likewise.
32823         (__ASSUME_IN_NONBLOCK): Likewise.
32824         (__ASSUME_PIPE2): Likewise.
32825         (__ASSUME_EVENTFD2): Likewise.
32826         (__ASSUME_SIGNALFD4): Likewise.
32827         (__ASSUME_DUP3): Likewise.
32828         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32829         (__ASSUME_UTIMES): Likewise.
32830         (__ASSUME_O_CLOEXEC): Likewise.
32831         (__ASSUME_SOCK_CLOEXEC): Likewise.
32832         (__ASSUME_IN_NONBLOCK): Likewise.
32833         (__ASSUME_PIPE2): Likewise.
32834         (__ASSUME_EVENTFD2): Likewise.
32835         (__ASSUME_SIGNALFD4): Likewise.
32836         (__ASSUME_DUP3): Likewise.
32837         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
32838         Likewise.
32839         (__ASSUME_UTIMES): Likewise.
32840         (__ASSUME_EVENTFD2): Likewise.
32841         (__ASSUME_SIGNALFD4): Likewise.
32842         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32843         (__ASSUME_O_CLOEXEC): Likewise.
32844         (__ASSUME_SOCK_CLOEXEC): Likewise.
32845         (__ASSUME_IN_NONBLOCK): Likewise.
32846         (__ASSUME_PIPE2): Likewise.
32847         (__ASSUME_EVENTFD2): Likewise.
32848         (__ASSUME_SIGNALFD4): Likewise.
32849         (__ASSUME_DUP3): Likewise.
32850         (__ASSUME_UTIMES): Undefine.
32852         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
32853         feclearexcept.  Remove symbol versioning code.
32854         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
32855         symbol versioning code.
32856         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
32857         symbol versioning code.
32858         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
32859         feupdateenv.  Remove symbol versioning code.
32860         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
32861         fegetexceptflag.  Remove symbol versioning code.
32862         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
32863         fesetexceptflag.  Remove symbol versioning code.
32864         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
32865         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
32866         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
32867         (__posix_fadvise64_l32): Remove prototype.
32868         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
32869         code.
32871 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32873         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
32874         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
32875         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
32876         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
32878 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
32880         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
32881         current working directory
32883 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32885         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
32886         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
32887         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
32888         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
32889         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
32890         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
32891         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
32892         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
32893         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
32894         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
32895         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
32896         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
32897         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
32898         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
32899         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
32900         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
32901         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
32902         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
32903         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
32904         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
32905         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
32906         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
32907         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
32908         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
32909         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
32910         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
32911         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
32912         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
32913         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
32914         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
32915         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
32916         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
32917         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
32918         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
32919         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
32920         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
32921         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
32922         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
32923         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
32924         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
32925         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
32926         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
32928         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
32929         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
32931         * sysdeps/unix/sysv/linux/arm/Makefile
32932         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32933         Add rt-aeabi_unwind_cpp_pr1.
32934         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
32935         Add nptl-aeabi_unwind_cpp_pr1.
32936         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
32937         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
32938         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
32939         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32940         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
32941         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32943         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
32944         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
32945         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
32946         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
32948         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
32949         Deconditionalize the code that was previously under [RESET_PID].
32950         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
32952         * sysdeps/generic/exit-thread.h: New file.
32953         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
32954         * include/unistd.h (__exit_thread): Remove declaration.
32955         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
32956         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
32957         * csu/libc-start.c: Include <exit-thread.h>.
32958         (LIBC_START_MAIN): Pass no argument to __exit_thread.
32959         * nptl/pthread_create.c: Include <exit-thread.h>.
32960         (start_thread): Call __exit_thread in place of __exit_thread_inline.
32961         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
32962         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
32963         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
32964         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
32965         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
32966         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
32967         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
32968         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
32969         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
32970         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
32971         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
32972         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
32973         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
32974         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
32975         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
32976         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
32978 2014-05-13  Andreas Schwab  <schwab@suse.de>
32980         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
32982 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
32984         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32985         (__ASSUME_UTIMES): Do not condition on kernel version.
32986         (__ASSUME_PSELECT): Define unconditionally.
32987         (__ASSUME_PPOLL): Likewise.
32988         (__ASSUME_ATFCTS): Likewise.
32989         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
32990         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
32991         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
32992         (__ASSUME_UTIMENSAT): Define unconditionally.
32993         (__ASSUME_PRIVATE_FUTEX): Likewise.
32994         (__ASSUME_FALLOCATE): Likewise.
32995         (__ASSUME_O_CLOEXEC): Likewise.
32996         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
32997         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
32998         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
32999         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
33000         (__ASSUME_IN_NONBLOCK): Likewise.
33001         (__ASSUME_PIPE2): Likewise.
33002         (__ASSUME_EVENTFD2): Likewise.
33003         (__ASSUME_SIGNALFD4): Likewise.
33004         (__ASSUME_DUP3): Likewise.
33005         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33006         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
33007         (__ASSUME_AT_RANDOM): Likewise.
33008         (__ASSUME_PREADV): Likewise.
33009         (__ASSUME_PWRITEV): Likewise.
33010         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
33011         (__ASSUME_F_GETOWN_EX): Define unconditionally.
33012         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
33013         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33014         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
33015         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33016         (__ASSUME_O_CLOEXEC): Define unconditionally.
33017         (__ASSUME_PSELECT): Do not undefine conditionally.
33018         (__ASSUME_PPOLL): Likewise.
33019         (__ASSUME_ATFCTS): Likewise.
33020         (__ASSUME_SET_ROBUST_LIST): Likewise.
33021         (__ASSUME_UTIMENSAT): Likewise.
33022         (__ASSUME_FDATASYNC): Define unconditionally.
33023         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33024         (__ASSUME_SIGFRAME_V2): Likewise.
33025         )__ASSUME_EVENTFD2): Likewise.
33026         (__ASSUME_SIGNALFD4): Likewise.
33027         (__ASSUME_PSELECT): Do not undefine conditionally.
33028         (__ASSUME_PPOLL): Likewise.
33029         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33030         (__ASSUME_PSELECT): Define unconditionally.
33031         (__ASSUME_PPOLL): Likewise.
33032         (__ASSUME_O_CLOEXEC): Likewise.
33033         (__ASSUME_SOCK_CLOEXEC): Likewise.
33034         (__ASSUME_IN_NONBLOCK): Likewise.
33035         (__ASSUME_PIPE2): Likewise.
33036         (__ASSUME_EVENTFD2): Likewise.
33037         (__ASSUME_SIGNALFD4): Likewise.
33038         (__ASSUME_DUP3): Likewise.
33039         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33040         (__ASSUME_O_CLOEXEC): Likewise.
33041         (__ASSUME_SOCK_CLOEXEC): Likewise.
33042         (__ASSUME_IN_NONBLOCK): Likewise.
33043         (__ASSUME_PIPE2): Likewise.
33044         (__ASSUME_EVENTFD2): Likewise.
33045         (__ASSUME_SIGNALFD4): Likewise.
33046         (__ASSUME_DUP3): Likewise.
33047         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33048         (__ASSUME_EVENTFD2): Likewise.
33049         (__ASSUME_SIGNALFD4): Likewise.
33050         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33052 2014-05-12  Andreas Schwab  <schwab@suse.de>
33054         [BZ #16932]
33055         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
33056         (_nss_nis_gethostbyname4_r): Return error if item length is larger
33057         than maximum RPC packet size.
33058         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
33059         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
33060         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
33061         (_nss_nis_getservbyport_r): Likewise.
33063 2014-05-12  Will Newton  <will.newton@linaro.org>
33065         * malloc/Makefile (tests): Add tst-mallopt.
33066         * malloc/tst-mallopt.c: New file.
33068 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33070         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
33071         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
33073 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33075         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
33076         (tst-tlsmod6.so): Likewise.
33078 2014-05-09  Roland McGrath  <roland@hack.frob.com>
33080         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
33082 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
33084         [BZ #16064]
33085         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
33086         and <dl-procinfo.h>.
33087         (__fegetenv): Save SSE state in envp->__eip if supported.
33088         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
33089         envp->__eip if supported.
33090         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
33091         and <dl-procinfo.h>.
33092         (__fesetenv): Always set __eip, __cs_selector, __opcode,
33093         __data_offset and __data_selector in environment to 0.  Set SSE
33094         state if supported.
33095         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
33096         test-fenv-sse.
33097         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
33098         -mfpmath=sse.
33099         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
33101 2014-05-09  Will Newton  <will.newton@linaro.org>
33103         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
33104         and libc_relro_required for ARM.
33105         * sysdeps/arm/preconfigure: Regenerate.
33107 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
33108             Stefan Liebler  <stli@linux.vnet.ibm.com>
33110         * config.make.in (enable-lock-elision): New Makefile variable.
33111         * configure.ac: Likewise.
33112         * configure: Regenerate.
33113         * sysdeps/s390/configure.ac:
33114         Add check for gcc transactions support.
33115         * sysdeps/s390/configure: Regenerate.
33116         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
33117         Build elision files if enabled.
33118         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
33119         Add lock elision support for s390.
33120         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
33121         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
33122         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
33123         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
33124         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
33125         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
33126         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33127         Likewise.
33128         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
33129         Likewise.
33130         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
33131         Likewise.
33132         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
33133         Likewise.
33134         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
33135         (__lll_timedlock_elision, __lll_lock_elision)
33136         (__lll_unlock_elision, __lll_trylock_elision)
33137         (lll_timedlock_elision, lll_lock_elision)
33138         (lll_unlock_elision, lll_trylock_elision): Add.
33139         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33140         (pthread_mutex_t): Add lock elision support for s390.
33142 2014-05-14  Wilco  <wdijkstr@arm.com>
33144         * sysdeps/arm/fclrexcpt.c: Cleanup.
33145         * sysdeps/arm/fedisblxcpt.c: Cleanup.
33146         * sysdeps/arm/feenablxcpt.c: Cleanup.
33147         * sysdeps/arm/fegetenv.c: Cleanup.
33148         * sysdeps/arm/fegetexcept.c: Cleanup.
33149         * sysdeps/arm/fegetround.c: Cleanup.
33150         * sysdeps/arm/feholdexcpt.c: Cleanup.
33151         * sysdeps/arm/fesetenv.c: Cleanup.
33152         * sysdeps/arm/fesetround.c: Cleanup.
33153         * sysdeps/arm/feupdateenv.c: Cleanup.
33154         * sysdeps/arm/fgetexcptflg.c: Cleanup.
33155         * sysdeps/arm/fraiseexcpt.c: Cleanup.
33156         * sysdeps/arm/fsetexcptflg.c: Cleanup.
33157         * sysdeps/arm/ftestexcept.c: Cleanup.
33158         * sysdeps/arm/get-rounding-mode.h: Cleanup.
33159         * sysdeps/arm/setfpucw.c: Cleanup.
33161 2014-05-09  Will Newton  <will.newton@linaro.org>
33163         * sysdeps/arm/armv7/strcmp.S: New file.
33164         * NEWS: Mention addition of ARMv7 optimized strcmp.
33166 2014-05-08  Roland McGrath  <roland@hack.frob.com>
33168         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
33169         look for %.ac rather than %.in.
33171         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
33172         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
33173         * sysdeps/mach/hurd/configure: Regenerated.
33174         * sysdeps/unix/sysv/linux/configure: Regenerated.
33176         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
33178 2014-05-07  Steve Ellcey  <sellcey@mips.com>
33180         [BZ# 16922]
33181         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
33182         (LONG_SUB): Ditto.
33183         (PTR_SUB): Ditto.
33185 2014-05-07  Andreas Schwab  <schwab@suse.de>
33187         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
33188         when skipping over non-matching result from nscd.
33190 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
33192         [BZ #16876]
33193         * nptl/sockperf.c (client): Check socket return value.
33195         [BZ #16877]
33196         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
33197         nscd security class.
33199 2014-05-06  Roland McGrath  <roland@hack.frob.com>
33201         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
33202         * sysdeps/arm/unwind.h: ... here.
33204 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
33206         [BZ# 16916]
33207         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
33208         Define.
33210 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33212         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
33213         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
33214         multiarch strncpy for PPC64.
33215         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
33216         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
33217         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
33218         multiarch optimizations.
33219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33220         (__libc_ifunc_impl_list): Likewise.
33221         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
33222         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
33223         multiarch stpncpy for PPC64.
33224         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
33225         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
33227 2014-05-06  Andreas Schwab  <schwab@suse.de>
33229         [BZ #16912]
33230         * gmon/mcount.c (_MCOUNT_DECL): Use
33231         atomic_compare_and_exchange_bool_acq instead of
33232         catomic_compare_and_exchange_bool_acq.
33234 2014-05-05  Roland McGrath  <roland@hack.frob.com>
33236         * elf/Makefile (others, install-bin): Remove pldd.
33237         (pldd-modules): Variable removed.
33238         ($(objpfx)pldd): Target removed.
33239         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
33240         (others, install-bin): Append pldd here.
33241         ($(objpfx)pldd): New target.
33243         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
33244         to 0, so the first #if test emitted later doesn't see it undefined.
33245         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
33246         * sysdeps/gnu/errlist.c: Regenerated.
33248 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33250         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33251         [libc_hidden_builtin_def]: Define to empty value.
33252         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
33253         [libc_hidden_builtin_def]: Likewise.
33254         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
33255         [libc_hidden_builtin_def]: Likewise.
33256         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
33257         [libc_hidden_builtin_def]: Likewise.
33258         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
33259         __redirect_memcpy and define ifunc as default hidden symbol.
33260         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
33261         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
33263 2014-05-04  Adam Conrad  <adconrad@0c3.net>
33265         * locale/iso-4217.def: Reintroduce XDR currency.
33267 2014-05-04  Allan McRae  <allan@archlinux.org>
33269         * po/eo.po: Update Esperanto translation from translation project.
33271 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
33273         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
33274         and FEATURE_INDEX_MAX to 1.
33275         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
33277 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33279         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
33280         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
33281         * iconvdata/big5.c (ONE_DIRECTION): Define.
33282         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
33283         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
33284         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
33285         * iconvdata/cp932.c (ONE_DIRECTION): Define.
33286         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
33287         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
33288         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
33289         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
33290         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
33291         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
33292         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
33293         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
33294         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
33295         * iconvdata/gbk.c (ONE_DIRECTION): Define.
33296         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
33297         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
33298         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
33299         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
33300         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
33301         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
33302         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
33303         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
33304         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
33305         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
33306         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
33307         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
33308         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
33309         * iconvdata/iso646.c (ONE_DIRECTION): Define.
33310         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
33311         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
33312         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
33313         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
33314         * iconvdata/johab.c (ONE_DIRECTION): Define.
33315         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
33316         * iconvdata/sjis.c (ONE_DIRECTION): Define.
33317         * iconvdata/t.61.c (ONE_DIRECTION): Define.
33318         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
33319         * iconvdata/tscii.c (ONE_DIRECTION): Define.
33320         * iconvdata/uhc.c (ONE_DIRECTION): Define.
33321         * iconvdata/unicode.c (ONE_DIRECTION): Define.
33322         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
33323         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
33324         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
33326 2014-05-01  Roland McGrath  <roland@hack.frob.com>
33328         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
33329         (_IO_JUMPS_OFFSET): Define to 0.
33331         * nptl/sysdeps/pthread/bits/libc-lock.h
33332         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
33333         (__libc_lock_define_initialized_recursive): Always define using
33334         initializer.  Modern compilers treat uninitialized (implicit zero) and
33335         explicit zero initializers the same (i.e. put the datum in bss).
33337 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33339         * nscd/nscd-client.h: Include <string.h>.
33341 2014-05-01  David S. Miller  <davem@davemloft.net>
33343         [BZ #16885]
33344         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
33345         multiple zero bytes exist at the end of a string.
33346         Reported by Aurelien Jarno <aurelien@aurel32.net>
33348         * string/test-strcmp.c (check): Add explicit test for situations where
33349         there are multiple zero bytes after the first.
33351 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33353         [BZ #16890]
33354         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
33355         when compiling wprintf.
33356         * stdio-common/tstdiomisc.c (t3): New function.
33357         (main): Call it.
33359 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33361         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
33362         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
33363         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
33364         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
33366 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33368         * stdlib/longlong.h: Updated from GCC.
33370 2014-05-01  Will Newton  <will.newton@linaro.org>
33371             Bernard Ogden  <bernie.ogden@linaro.org>
33373         * NEWS: Update fixed bug list.
33375         [BZ #15119]
33376         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
33378 2014-04-30  David S. Miller  <davem@davemloft.net>
33380         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
33381         (libc_feholdexcept_setround_sparc_ctx): New function.
33382         (libc_fesetenv_sparc_ctx): Likewise.
33383         (libc_feupdateenv_sparc_ctx): Likewise.
33384         (libc_feholdsetround_sparc_ctx): Likewise.
33385         (libc_feholdexcept_setround_ctx): Define.
33386         (libc_feholdexcept_setroundf_ctx): Likewise.
33387         (libc_feholdexcept_setroundl_ctx): Likewise.
33388         (libc_fesetenv_ctx): Likewise.
33389         (libc_fesetenvf_ctx): Likewise.
33390         (libc_fesetenvl_ctx): Likewise.
33391         (libc_feupdateenv_ctx): Likewise.
33392         (libc_feupdateenvf_ctx): Likewise.
33393         (libc_feupdateenvl_ctx): Likewise.
33394         (libc_feresetround_ctx): Likewise.
33395         (libc_feresetroundf_ctx): Likewise.
33396         (libc_feresetroundl_ctx): Likewise.
33397         (libc_feholdsetround_ctx): Likewise.
33398         (libc_feholdsetroundf_ctx): Likewise.
33399         (libc_feholdsetroundl_ctx): Likewise.
33401         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33402         with __USE_GNU instead of XOPEN cpp guards.
33404         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
33405         0.
33407         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33408         with XOPEN cpp guards.
33410 2014-04-30  Julian Brown  <julian@codesourcery.com>
33412         [BZ #16888]
33413         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
33414         handling.
33416 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
33418         [BZ #9894]
33419         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
33420         Change to 2.6.32.
33421         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
33422         * sysdeps/unix/sysv/linux/configure: Regenerated.
33423         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
33424         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
33425         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
33426         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
33427         * README: Update reference to required Linux kernel version.
33428         * manual/install.texi (Linux): Update reference to required Linux
33429         kernel headers version.
33430         * INSTALL: Regenerated.
33432         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
33433         header inclusion.
33434         [POSIX] (limits.h): Likewise.
33435         [POSIX] (math.h): Likewise.
33436         [POSIX] (sys/wait.h): Likewise.
33437         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
33438         function.
33439         [POSIX] (stddef.h): Do not allow header inclusion.
33441 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33443         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
33445 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
33447         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
33448         Return immediately after lll_futex_wake.
33450 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33452         [BZ #16791]
33453         * nscd/nscd-client.h (datahead_init_common): Initialize entire
33454         structure.
33455         (datahead_init_pos): Call datahead_init_common early.
33456         (datahead_init_neg): Likewise.
33458         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
33459         datahead_init_neg): New functions.
33460         * nscd/aicache.c (addhstaiX): Use them.
33461         * nscd/grpcache.c (cache_addgr): Likewise.
33462         * nscd/hstcache.c (cache_addhst): Likewise.
33463         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33464         * nscd/netgroupcache.c (do_notfound): Likewise.
33465         (addgetnetgrentX): Likewise.
33466         (addinnetgrX): Likewise.
33467         * nscd/pwdcache.c (cache_addpw): Likewise.
33468         * nscd/servicescache.c (cache_addserv): Likewise.
33470 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33471             Atsushi Onoe  <atsushi@onoe.org>
33473         [BZ #14308]
33474         [BZ #12994]
33475         [BZ #13651]
33476         * resolv/res_query.c (__libc_res_nsearch): Return if at least
33477         one response is valid.
33478         * resolv/res_send.c (send_dg): Check for validity of other
33479         response if the current response is a referral.
33481 2014-04-29  Steve Ellcey  <sellcey@mips.com>
33483         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
33485 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
33487         [BZ #16823]
33488         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
33489         Always divide by positive zero when computing -Inf result.
33490         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33491         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
33493 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33495         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
33496         FPSCR if value do not change.
33497         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33498         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
33499         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33500         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33501         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
33502         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
33503         function.
33505 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
33507         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
33508         * sysdeps/unix/sysv/linux/hppa: Move directory from
33509         ports/systeps/unix/sysv/linux/hppa.
33510         * README: Update listing for hppa-*-linux-gnu.
33512 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
33514         [BZ #16754]
33515         * manual/stdio.texi (Hook functions): Fix types of stream hook
33516         functions.
33517         [BZ #16854]
33518         * socket/sys/socket.h: Fix typo in comment.
33520 2014-04-28  Wilco  <wdijkstr@arm.com>
33522         * sysdeps/arm/fenv_private.h: New file.
33523         * sysdeps/arm/math_private.h: New file.
33524         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
33526 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
33528         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
33529         with __int128_t.
33530         (La_x86_64_retval): Likewise.
33532 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
33534         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
33535         fpsr if value didn't change.
33536         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
33537         to fpcr if value didn't change.
33538         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
33539         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
33540         fpsr or fpcr if value didn't change.
33541         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33542         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
33543         fpcr if value didn't change.
33544         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
33545         to fpsr if value didn't change.
33547 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33549         * nptl/tst-sem3.c: Use test-skeleton.c
33550         (main): Rename to do_test.  Use return instead of
33551         exit.
33552         * nptl/tst-sem4.c: Use test-skeleton.c
33553         (main): Rename to do_test.
33555 2014-04-22  David S. Miller  <davem@davemloft.net>
33557         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33558         (struct sigaction): New struct member __glibc_reserved0, change
33559         type of sa_flags to int.
33561 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
33563         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
33564         (COUNT_LEADING_ZEROS_0): Define for AArch64.
33566 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33568         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
33569         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
33571 2014-04-22  Will Newton  <will.newton@linaro.org>
33572             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
33574         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
33575         (__longjmp): Add longjmp and longjmp_target SystemTap
33576         probes.
33577         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
33578         (__sigsetjmp): Add setjmp SystemTap probe.
33580 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
33582         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
33583         match manual order.
33585 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33587         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
33589         * sysdeps/powerpc/fpu/fenv_private.h
33590         (libc_feholdexcept_setroundl_ctx): Define to
33591         libc_feholdexcept_setround_ppc_ctx.
33592         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
33593         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
33594         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
33595         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
33597 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33599         * sysdeps/aarch64/math-tests.h: New file.
33601 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
33603         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
33604         New.
33605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33606         Check and set bit_AVX2_Usable.
33607         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
33608         macro.
33609         (bit_AVX2): Likewise.
33610         (index_AVX2_Usable): Likewise.
33611         (CPUID_AVX2): Likewise.
33612         (HAS_AVX2): Likewise.
33614 2014-04-17  Will Newton  <will.newton@linaro.org>
33616         * manual/setjmp.texi (System V contexts): Add note that
33617         calling setcontext on a context created by a call to a
33618         signal handler is undefined.  Update text to note that
33619         setcontext from a signal handler is possible but not
33620         recommended.
33622         [BZ #16629]
33623         * stdlib/tst-setcontext.c: Include signal.h.
33624         (main): Check that the signal stack before and
33625         after swapcontext is the same.
33627         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
33628         Re-implement to restore registers in user code and avoid
33629         rt_sigreturn system call.
33631 2014-04-17  Wilco  <wdijkstr@arm.com>
33633         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
33634         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
33635         * math/test-fenv.c: Skip exception trap tests on targets which only
33636         support non-stop mode.
33638 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33639             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33641         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
33642         (libc_feholdsetround_aarch64_ctx)
33643         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
33644         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
33645         (libc_feresetround_ctx, libc_feresetroundf_ctx)
33646         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
33647         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
33648         (libc_feresetround_noexl_ctx): Define.
33650 2014-04-16  Richard Henderson  <rth@redhat.com>
33652         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
33654         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
33655         unwind tables.
33657         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
33658         const from the non-libc, non-ldso copy.
33660         * sysdeps/alpha/libm-test-ulps: Regenerate.
33662 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
33663             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33665         * sysdeps/aarch64/fpu/math_private.h: New file.
33667 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33669         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33671 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
33673         [BZ #16275]
33674         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
33675         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
33676         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
33677         Intel MPX bound registers before _dl_profile_fixup.
33678         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
33679         registers after _dl_profile_fixup.  Save and restore bound
33680         registers bnd0/bnd1 when calling _dl_call_pltexit.
33681         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
33682         (LR_BND_OFFSET): Likewise.
33683         (LRV_BND0_OFFSET): Likewise.
33684         (LRV_BND1_OFFSET): Likewise.
33686 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33688         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
33689         to...
33690         * sysdeps/mach/hurd/i386/tls.h: ... here.
33691         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
33692         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
33693         fields.
33695 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33697         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
33699 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33701         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33703 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33705         [BZ #14770]
33706         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
33707         * sysdeps/s390/configure: Regenerate.
33709         [BZ #16824]
33710         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
33711         Set round-to-nearest internally to reduce error accumulation.
33713 2014-04-16  Alan Modra  <amodra@gmail.com>
33715         [BZ #16740]
33716         [BZ #16619]
33717         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
33718         * math/libm-test.inc (frexp_test_data): Add tests.
33719         * NEWS: Update fixed bug list.
33721 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33723         * benchtests/Makefile: Depend on libraries in build directory.
33724         (bench-math): Separate out math tests.
33725         (bench-pthread): Separate out pthread tests.
33726         (bench): Include math and pthread tests.
33728 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
33730         [BZ #16831]
33731         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
33732         _dl_debug_initialize.
33734         * configure.ac: Remove SELinux header check.
33735         * configure: Regenerate.
33736         * nscd/selinux.c (perms): Array of const char* to permission names.
33737         (nscd_request_avc_has_perm): Call security_deny_unknown to find
33738         default policy. Call string_to_security_class and string_to_av_perm to
33739         translate strings. Enforce default policy and call avs_has_perm with
33740         results of translated strings.
33742 2014-04-13  David S. Miller  <davem@davemloft.net>
33744         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33746 2014-04-12  Allan McRae  <allan@archlinux.org>
33748         [BZ #16838]
33749         * manual/string.texi (Collation Functions): Fix qsort argument
33750         order in example.
33751         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33753 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
33755         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
33756         Make the test a no-op if there are no exceptions defined.
33758 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33760         * elf/Makefile (tests): make tst-dlopen-aout conditional on
33761         enable-hardcoded-path-in-tests
33763 2014-04-11  Will Newton  <will.newton@linaro.org>
33765         * benchtests/Makefile (extra-objs): Add json-lib.o.
33766         (bench-func): Tidy up JSON output.
33767         * benchtests/bench-skeleton.c: Include json-lib.h.
33768         (main): Use JSON library functions to do output of
33769         benchmark results.
33770         * benchtests/bench-timing-type.c (main): Output the
33771         timing type simply, leaving formatting to the user.
33772         * benchtests/json-lib.c: New file.
33773         * benchtests/json-lib.h: Likewise.
33775 2014-04-11  Torvald Riegel  <triegel@redhat.com>
33777         [BZ #15215]
33778         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
33779         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
33780         memory barriers.  Add comments.
33781         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
33782         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
33783         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
33784         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
33785         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
33786         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
33788 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33790         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
33791         * sysdeps/s390/s390-64/configure.ac: ... this ...
33792         * sysdeps/s390/configure.ac: ... to here.
33793         * sysdeps/s390/s390-32/configure: Delete file.
33794         * sysdeps/s390/s390-64/configure: Delete file.
33795         * sysdeps/s390/configure: Regenerate.
33797 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
33799         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
33801 2014-04-11  Will Newton  <will.newton@linaro.org>
33803         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
33804         to zero if it is not defined elsewhere.  (mtrim): Test
33805         the value of MALLOC_DEBUG with #if rather than #ifdef.
33807 2014-04-10 Torvald Riegel  <triegel@redhat.com>
33809         * benchtests/pthread_once-inputs: New file.
33810         * benchtests/pthread_once-source.c: New file.
33811         * benchtests/README: Update documentation.
33813 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
33814             H.J. Lu  <hongjiu.lu@intel.com>
33816         [BZ #16275]
33817         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
33818         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
33819         * sysdeps/x86_64/configure: Regenerated.
33820         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
33821         macro.
33822         (REGISTER_SAVE_RAX): Likewise.
33823         (REGISTER_SAVE_RCX): Likewise.
33824         (REGISTER_SAVE_RDX): Likewise.
33825         (REGISTER_SAVE_RSI): Likewise.
33826         (REGISTER_SAVE_RDI): Likewise.
33827         (REGISTER_SAVE_R8): Likewise.
33828         (REGISTER_SAVE_R9): Likewise.
33829         (REGISTER_SAVE_BND0): Likewise.
33830         (REGISTER_SAVE_BND1): Likewise.
33831         (REGISTER_SAVE_BND2): Likewise.
33832         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
33833         bound registers when calling _dl_fixup.
33835 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33837         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
33838         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
33839         of its definition.
33840         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
33841         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
33842         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
33843         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
33844         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
33845         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
33846         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
33848 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
33850         [BZ #15514]
33851         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
33852         pathconf(_PC_NAME_MAX).
33854 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33856         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
33857         Remove macro usage.
33858         (__PTHREAD_SPINS): Move definition to ...
33859         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33860         (__PTHREAD_SPINS): ... here.
33861         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33862         (__PTHREAD_SPIN): Likewise.
33863         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
33864         (__PTHREAD_SPIN): Likewise.
33865         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
33866         (__PTHREAD_SPIN): Likewise.
33867         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
33868         (__PTHREAD_SPIN): Likewise.
33869         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33870         (__PTHREAD_SPIN): Likewise.
33871         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33872         (__PTHREAD_SPIN): Likewise.
33873         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
33874         (__PTHREAD_SPIN): Likewise.
33875         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33876         (__PTHREAD_SPIN): Likewise.
33877         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33878         (__PTHREAD_SPIN): Likewise.
33879         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33880         (__PTHREAD_SPIN): Likewise.
33881         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33882         (__PTHREAD_SPIN): Likewise.
33883         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
33884         (__PTHREAD_SPIN): Likewise.
33886         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
33887         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
33888         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
33889         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
33890         imply folder.
33891         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
33892         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
33893         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
33894         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
33895         correct imply path.
33896         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
33897         strlen symbol for non multi-arch builds.
33898         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
33899         missing hidden_def and weak_alias.
33901 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
33903         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
33905 2014-04-07  Will Newton  <will.newton@linaro.org>
33907         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
33908         and contents.  [!_LIBC] Remove #ifndef and contents.
33909         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
33910         * string/memccpy.c (__memccpy): Use ANSI prototype.
33911         * string/memfrob.c (memfrob): Likewise.
33912         * string/strcoll.c (STRCOLL): Likewise.
33913         * string/strlen.c (strlen): Likewise.
33914         * string/strtok.c (STRTOK): Likewise.
33915         * string/strcat.c: Remove unused #include of memcopy.h.
33916         (strcat): Use ANSI prototype.
33917         * string/strchr.c: Remove unused #include of memcopy.h.
33918         (strchr): Use ANSI prototype.
33919         * string/strcmp.c: Remove unused #include of memcopy.h.
33920         (strcmp): Use ANSI prototype.
33921         * string/strcpy.c: Remove unused #include of memcopy.h.
33922         (strcpy): Use ANSI prototype.
33924 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33926         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
33927         * config.make.in (config-extra-cppflags): Set it from
33928         libc_extra_cppflags.
33929         * configure.ac (libc_extra_cflags): Make it accumulate over
33930         configure fragments.
33931         (libc_extra_cppflags): New flag.
33932         * configure. Regenerate.
33933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33934         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
33935         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
33936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
33938         [BZ #16815]
33939         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
33940         result for FE_DOWNWARD rounding mode.
33941         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
33942         Likewise.
33943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33945 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
33947         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
33948         in function argument name.
33950 2014-04-03  David Svoboda  <svoboda@cert.org>
33952         [BZ #5666]
33953         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
33954         explicitly.
33956 2014-04-03  Roland McGrath  <roland@hack.frob.com>
33958         * elf/dl-unmap-segments.h: New file.
33959         * sysdeps/generic/ldsodefs.h
33960         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
33961         * elf/dl-close.c: Include <dl-unmap-segments.h>.
33962         * elf/dl-fptr.c: Likewise.
33963         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
33964         * sysdeps/aarch64/tlsdesc.c: Likewise.
33965         * sysdeps/arm/tlsdesc.c: Likewise.
33966         * sysdeps/i386/tlsdesc.c: Likewise.
33967         * sysdeps/tile/dl-runtime.c: Likewise.
33968         * sysdeps/x86_64/tlsdesc.c: Likewise.
33969         * elf/dl-load.h: New file.
33970         * elf/dl-load.c: Include it.
33971         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
33972         Macros moved to dl-load.h.
33973         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
33974         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
33975         Use _dl_unmap_segments in place of __munmap.
33976         Break out segment-mapping loop into ...
33977         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
33979 2014-04-03  Will Newton  <will.newton@linaro.org>
33981         * elf/dl-lookup.c (do_lookup_x): Remove comment
33982         referring to nested function and move variable
33983         declarations down to before first use.
33985 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
33987         [BZ #16799]
33988         [BZ #16800]
33989         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
33990         with 0 numerator.
33991         * math/s_catanf.c (__catanf): Likewise.
33992         * math/s_catanh.c (__catanh): Likewise.
33993         * math/s_catanhf.c (__catanhf): Likewise.
33994         * math/s_catanhl.c (__catanhl): Likewise.
33995         * math/s_catanl.c (__catanl): Likewise.
33996         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
33997         by positive zero when computing -Inf result.
33998         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
33999         (catanh_test): Likewise.
34000         * sysdeps/i386/fpu/libm-test-ulps: Update.
34001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34003         [BZ #16789]
34004         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
34005         instead of using underflowing value in computing result.
34006         * math/s_clog10.c (__clog10): Likewise.
34007         * math/s_clog10f.c (__clog10f): Likewise.
34008         * math/s_clog10l.c (__clog10l): Likewise.
34009         * math/s_clogf.c (__clogf): Likewise.
34010         * math/s_clogl.c (__clogl): Likewise.
34011         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
34012         (clog10_test): Likewise.
34013         * sysdeps/i386/fpu/libm-test-ulps: Update.
34014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34016 2014-04-02  Alan Modra  <amodra@gmail.com>
34018         [BZ #16739]
34019         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
34020         output when value is near a power of two.  Use int64_t for lx and
34021         remove casts.  Use decimal rather than hex exponent constants.
34022         Don't use long double multiplication when double will suffice.
34023         * math/libm-test.inc (nextafter_test_data): Add tests.
34024         * NEWS: Add 16739 and 16786 to bug list.
34026         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
34028         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
34030 2014-04-01  Will Newton  <will.newton@linaro.org>
34032         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
34033         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
34035 2014-04-01  Florian Weimer  <fweimer@redhat.com>
34037         [BZ #13347]
34038         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
34039         * nptl/tst-setuid2.c: New file.
34040         * nptl/Makefile (xtests): Add tst-setuid2.
34042 2014-04-01  Alan Modra  <amodra@gmail.com>
34044         [BZ #16786]
34045         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
34047 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34049         [BZ #6803]
34050         [BZ #6804]
34051         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
34052         set errno as appropriate.
34053         * math/w_scalbf.c (__scalbf): Likewise.
34054         * math/w_scalbl.c (__scalbl): Likewise.
34055         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
34056         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
34057         * math/libm-test.inc (scalb_test_data): Add errno expectations.
34058         Add more NaN tests.
34060         [BZ #16349]
34061         * math/w_atan2.c: Include <errno.h>.
34062         (__atan2): Set errno for result underflowing to zero.
34063         * math/w_atan2f.c: Include <errno.h>.
34064         (__atan2f): Set errno for result underflowing to zero.
34065         * math/w_atan2l.c: Include <errno.h>.
34066         (__atan2l): Set errno for result underflowing to zero.
34067         * math/auto-libm-test-in: Don't allow missing errno for some atan2
34068         tests.
34069         * math/auto-libm-test-out: Regenerated.
34071 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34073         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34074         Encode instruction correctly in little endian.
34075         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34076         Likewise.
34077         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34078         Likewise.
34079         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34080         Likewise.
34081         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34082         Likewise.
34084 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
34086         [BZ #9894]
34087         * sysdeps/unix/sysv/linux/kernel-features.h
34088         [__sparc__ && !__arch64__ && !__sparc_v9__]
34089         (__ASSUME_SET_ROBUST_LIST): Do not define.
34090         [__sparc__ && !__arch64__ && !__sparc_v9__]
34091         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34092         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
34093         Likewise.
34094         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34095         (__ASSUME_FUTEX_LOCK_PI): Undefine.
34096         (__ASSUME_REQUEUE_PI): Likewise.
34097         (__ASSUME_SET_ROBUST_LIST): Likewise.
34098         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34099         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
34100         Undefine.
34101         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34102         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
34103         Likewise.
34104         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
34105         Likewise.
34106         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
34107         Likewise.
34108         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34109         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
34110         Undefine.
34111         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
34112         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
34113         Likewise.
34115         [BZ #16648]
34116         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34117         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
34118         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
34120 2014-03-31  Will Newton  <will.newton@linaro.org>
34122         * benchtests/Makefile (bench): Add ffs and ffsll to list
34123         of tests.
34124         * benchtests/ffs-inputs: New file.
34125         * benchtests/ffsll-inputs: Likewise.
34127 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
34129         [BZ #16770]
34130         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
34131         too large before casting to int.
34132         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
34133         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
34134         * math/libm-test.inc (scalb_test_data): Add more tests.
34136 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34138         * benchtests/Makefile (DETAILED_OPT): New make option.
34139         (bench-func): Run benchmark program with -d if DETAILED_OPT is
34140         set.
34141         * benchtests/bench-skeleton.c: Include stdbool.h.
34142         (main): Store and print timings per input.
34143         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
34144         member to each argument value.
34145         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
34146         (_print_arg_data): Initialize per-input timing to 0.
34148         * benchtests/Makefile (timing-type): New binary.
34149         (bench-clean): Also remove bench-timing-type.
34150         (bench): New target for timing-type.
34151         (bench-func): Print output in JSON format.
34152         * benchtests/bench-skeleton.c (main): Print output in JSON
34153         format.
34154         * benchtests/bench-timing-type.c: New file.
34155         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
34156         (TIMING_PRINT_STATS): Remove.
34157         * benchtests/scripts/bench.py (_print_arg_data): Store variant
34158         name separately.
34160         * benchtests/bench-modf.c: Remove.
34161         * benchtests/modf-inputs: New inputs file.
34163 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
34165         [BZ #16362]
34166         * math/s_clog10.c (M_PI_LOG10E): New macro.
34167         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
34168         imaginary parts are 0.
34169         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
34170         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
34171         imaginary parts are 0.
34172         * math/s_clog10l.c (M_PI_LOG10El): New macro.
34173         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
34174         imaginary parts are 0.
34175         * math/libm-test.inc (clog10_test_data): Update expected results
34176         for when real and imaginary parts are 0.
34178 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
34180         * elf/dl-load.c: Finish conversion of __builtin_expect into
34181         __glibc_{un}likely.
34183 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
34185         [BZ #16348]
34186         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
34187         1+x for argument with exponent below -67.
34188         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
34189         Likewise.
34190         * math/auto-libm-test-in: Add more tests of exp.
34191         * math/auto-libm-test-out: Regenerated.
34193 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34195         [BZ #16759]
34196         * inet/getnetgrent_r.c (get_nonempty_val): New function.
34197         (nscd_getnetgrent): Use it.
34199         [BZ #16760]
34200         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
34201         of stpcpy.
34203 2014-03-27  Andi Kleen  <ak@linux.intel.com>
34205         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
34206         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34207         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34208         (lll_robust_unlock): Remove out of line section. Use cfi
34209         intrinsics.
34210         (LLL_STUB_UNWIND_INFO*): Remove.
34211         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
34212         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34213         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34214         (lll_robust_unlock): Remove out of line section. Use cfi
34215         intrinsics.
34216         (LLL_STUB_UNWIND_INFO*): Remove.
34218 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34220         [BZ #16758]
34221         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
34222         blank values.
34224 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
34226         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
34228 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
34230         [BZ #16198]
34231         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
34232         fnstenv.
34233         * math/test-fenv-preserve.c: New file.
34234         * math/Makefile (tests): Add test-fenv-preserve.
34236 2014-03-26  Will Newton <will.newton@linaro.org>
34238         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
34240 2014-03-25  Roland McGrath  <roland@hack.frob.com>
34242         * scripts/versionlist.awk: Partition the version sets and emit all
34243         GLIBC_* (sorted) before all others (sorted).
34245 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34247         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
34248         GLIBC_2.2.5 version.
34250 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34252         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
34253         calls.
34255         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
34256         previous change.
34258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34260 2014-03-25  Andreas Schwab  <schwab@suse.de>
34262         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
34263         label to be used after in6ailist is initialized.
34265 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34267         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34268         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34270 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34272         [BZ #16357]
34273         [BZ #16599]
34274         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
34275         min_plus_half.
34276         (fp_formats): Update initializers.
34277         (init_fp_formats): Initialize new field.
34278         (output_for_one_input_case): Allow underflow for results up to
34279         min_plus_half.
34280         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
34281         * math/auto-libm-test-in: Don't mark some underflows from asin and
34282         atanh as spurious.
34283         * math/auto-libm-test-out: Regenerated.
34284         * sysdeps/i386/fpu/libm-test-ulps: Update.
34285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34287 2014-03-25  Andreas Schwab  <schwab@suse.de>
34289         * libio/Makefile (tst-ftell-partial-wide-ENV)
34290         (tst-ftell-active-handler-ENV): Define.
34292 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
34294         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
34296 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34298         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
34300 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34302         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
34303         * sysdeps/x86_64/fpu/multiarch/e_exp.c
34304         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
34306 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34308         [BZ #16634]
34309         * elf/dl-load.c (open_verify): Add mode parameter.
34310         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
34311         (open_path): Change from boolean 'secure' to complete flag 'mode'
34312         (_dl_map_object): Adjust.
34313         * elf/Makefile (tests): Add tst-dlopen-aout.
34314         * elf/tst-dlopen-aout.c: New test.
34316 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
34318         [BZ #16714]
34319         * sysdeps/unix/sysv/linux/s390/bits/stat.h
34320         (struct stat): Rename member pad0 to __glibc_reserved0.
34322         [BZ #16712]
34323         * sysdeps/s390/s390-32/bits/wordsize.h
34324         (__WORDSIZE32_SIZE_ULONG): New define.
34325         * sysdeps/s390/s390-64/bits/wordsize.h
34326         (__WORDSIZE32_SIZE_ULONG): Likewise.
34327         * sysdeps/generic/stdint.h (SIZE_MAX):
34328         Define as UL if __WORDSIZE32_SIZE_ULONG.
34330         [BZ #16713]
34331         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34332         (__glibc_reserved0): New variable.
34333         (sa_flags): Change type to int.
34335         * posix/Makefile (before-compile): Use += before-compile instead
34336         of a :=.
34338         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34339         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34341 2014-03-20  Andreas Schwab  <schwab@suse.de>
34343         [BZ #16743]
34344         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
34345         non-matching result from nscd.
34347 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34349         * scripts/bench.py: Moved to ...
34350         * benchtests/scripts/bench.py: ... here.
34351         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
34353 2014-03-24  Andreas Schwab  <schwab@suse.de>
34355         [BZ #16002]
34356         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
34357         alloca_account and account alloca use for struct in6ailist.
34359 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34361         [BZ #16284]
34362         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
34363         rounding mode to recompute results that overflow to infinity or
34364         underflow to zero.
34365         * math/auto-libm-test-in: Don't mark tests as expected to fail for
34366         bug 16284.
34367         * math/auto-libm-test-out: Regenerated.
34368         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
34369         (ccosh_test): Likewise.
34370         (csin_test_data): Use plus_oflow.
34371         (csin_test): Use ALL_RM_TEST.
34372         (csinh_test_data): Use plus_oflow.
34373         (csinh_test): Use ALL_RM_TEST.
34374         * sysdeps/i386/fpu/libm-test-ulps: Update.
34375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34377 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
34379         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
34380         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
34381         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
34383         [BZ #16731]
34384         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
34385         when x - 1 is zero.
34386         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
34387         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
34388         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34389         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
34390         argument is 1.
34391         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
34392         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
34393         zero.
34394         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
34395         * sysdeps/i386/fpu/libm-test-ulps: Update.
34396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34398 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34400         * scripts/bench.pl: Remove file.
34401         * scripts/bench.py: New benchmark script.
34402         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
34403         * benchtests/README: Mention python dependency.
34404         * scripts/pylintrc: New file.
34405         * scripts/pylint: New file.
34407         * bits/mathdef.h: Use #ifdef instead of #if.
34408         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
34409         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34410         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
34411         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34412         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
34413         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34415 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34416             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34418         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
34419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
34420         and strpbrk-ppc64 objects.
34421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34422         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
34423         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
34424         multiarch strpbrk for POWER7.
34425         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
34426         multiarch strpbrk for PPC64.
34427         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
34428         ifunc selector.
34429         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
34430         strpbrk for POWER7.
34432 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34434         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
34435         (atan_test): Likewise.
34436         (atanh_test_data): Use NO_TEST_INLINE for two tests.
34437         (atanh_test): Use ALL_RM_TEST.
34438         (atan2_test_data): Likewise.
34439         (cabs_test): Likewise.
34440         (cacosh_test): Likewise.
34441         (carg_test): Likewise.
34442         (casin_test): Likewise.
34443         (casinh_test): Likewise.
34444         (cbrt_test): Likewise.
34445         (csqrt_test): Likewise.
34446         (erf_test): Likewise.
34447         (erfc_test): Likewise.
34448         (pow10_test): Likewise.
34449         (exp2_test): Likewise.
34450         (hypot_test): Likewise.
34451         (j0_test): Likewise.
34452         (j1_test): Likewise.
34453         (lgamma_test): Likewise.
34454         (gamma_test): Likewise.
34455         (sincos_test): Likewise.
34456         (tanh_test): Likewise.
34457         (y0_test): Likewise.
34458         (y1_test): Likewise.
34459         * sysdeps/i386/fpu/libm-test-ulps: Update.
34460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34462 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34464         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
34465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
34466         and strcspn-ppc64 objects.
34467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34468         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
34469         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
34470         multiarch strcspn for POWER7.
34471         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
34472         multiarch strcspn for PPC64.
34473         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
34474         ifunc selector.
34475         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
34476         strcspn for POWER7.
34478 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34480         * math/gen-libm-test.pl (generate_testfile): Expect only function
34481         name as argument to AUTO_TESTS_* and pass results for all rounding
34482         modes to parse_args.
34483         (parse_auto_input): Separate inputs of automatic tests from
34484         outputs before storing in %auto_tests.
34485         * math/libm-test.inc (acos_test_data): Update call to
34486         AUTO_TESTS_f_f.
34487         (acos_test): Use ALL_RM_TEST.
34488         (acos_tonearest_test_data): Remove.
34489         (acos_test_tonearest): Likewise.
34490         (acos_towardzero_test_data): Likewise.
34491         (acos_test_towardzero): Likewise.
34492         (acos_downward_test_data): Likewise.
34493         (acos_test_downward): Likewise.
34494         (acos_upward_test_data): Likewise.
34495         (acos_test_upward): Likewise.
34496         (acosh_test_data): Update call to AUTO_TESTS_f_f.
34497         (asin_test_data): Likewise.
34498         (asin_test): Use ALL_RM_TEST.
34499         (asin_tonearest_test_data): Remove.
34500         (asin_test_tonearest): Likewise.
34501         (asin_towardzero_test_data): Likewise.
34502         (asin_test_towardzero): Likewise.
34503         (asin_downward_test_data): Likewise.
34504         (asin_test_downward): Likewise.
34505         (asin_upward_test_data): Likewise.
34506         (asin_test_upward): Likewise.
34507         (asinh_test_data): Update call to AUTO_TESTS_f_f.
34508         (atan_test_data): Likewise.
34509         (atanh_test_data): Likewise.
34510         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
34511         (cabs_test_data): Update call to AUTO_TESTS_c_f.
34512         (carg_test_data): Likewise.
34513         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
34514         (ccos_test_data): Update call to AUTO_TESTS_c_c.
34515         (ccosh_test_data): Likewise.
34516         (cexp_test_data): Likewise.
34517         (clog_test_data): Likewise.
34518         (clog10_test_data): Likewise.
34519         (cos_test_data): Update call to AUTO_TESTS_f_f.
34520         (cos_test): Use ALL_RM_TEST.
34521         (cos_tonearest_test_data): Remove.
34522         (cos_test_tonearest): Likewise.
34523         (cos_towardzero_test_data): Likewise.
34524         (cos_test_towardzero): Likewise.
34525         (cos_downward_test_data): Likewise.
34526         (cos_test_downward): Likewise.
34527         (cos_upward_test_data): Likewise.
34528         (cos_test_upward): Likewise.
34529         (cosh_test_data): Update call to AUTO_TESTS_f_f.
34530         (cosh_test): Use ALL_RM_TEST.
34531         (cosh_tonearest_test_data): Remove.
34532         (cosh_test_tonearest): Likewise.
34533         (cosh_towardzero_test_data): Likewise.
34534         (cosh_test_towardzero): Likewise.
34535         (cosh_downward_test_data): Likewise.
34536         (cosh_test_downward): Likewise.
34537         (cosh_upward_test_data): Likewise.
34538         (cosh_test_upward): Likewise.
34539         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
34540         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
34541         (ctan_test_data): Likewise.
34542         (ctan_test): Use ALL_RM_TEST.
34543         (ctan_tonearest_test_data): Remove.
34544         (ctan_test_tonearest): Likewise.
34545         (ctan_towardzero_test_data): Likewise.
34546         (ctan_test_towardzero): Likewise.
34547         (ctan_downward_test_data): Likewise.
34548         (ctan_test_downward): Likewise.
34549         (ctan_upward_test_data): Likewise.
34550         (ctan_test_upward): Likewise.
34551         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
34552         (ctanh_test): Use ALL_RM_TEST.
34553         (ctanh_tonearest_test_data): Remove.
34554         (ctanh_test_tonearest): Likewise.
34555         (ctanh_towardzero_test_data): Likewise.
34556         (ctanh_test_towardzero): Likewise.
34557         (ctanh_downward_test_data): Likewise.
34558         (ctanh_test_downward): Likewise.
34559         (ctanh_upward_test_data): Likewise.
34560         (ctanh_test_upward): Likewise.
34561         (erf_test_data): Update call to AUTO_TESTS_f_f.
34562         (erfc_test_data): Likewise.
34563         (exp_test_data): Likewise.
34564         (exp_test): Use ALL_RM_TEST.
34565         (exp_tonearest_test_data): Remove.
34566         (exp_test_tonearest): Likewise.
34567         (exp_towardzero_test_data): Likewise.
34568         (exp_test_towardzero): Likewise.
34569         (exp_downward_test_data): Likewise.
34570         (exp_test_downward): Likewise.
34571         (exp_upward_test_data): Likewise.
34572         (exp_test_upward): Likewise.
34573         (exp10_test_data): Update call to AUTO_TESTS_f_f.
34574         (exp10_test): Use ALL_RM_TEST.
34575         (exp10_tonearest_test_data): Remove.
34576         (exp10_test_tonearest): Likewise.
34577         (exp10_towardzero_test_data): Likewise.
34578         (exp10_test_towardzero): Likewise.
34579         (exp10_downward_test_data): Likewise.
34580         (exp10_test_downward): Likewise.
34581         (exp10_upward_test_data): Likewise.
34582         (exp10_test_upward): Likewise.
34583         (exp2_test_data): Update call to AUTO_TESTS_f_f.
34584         (expm1_test_data): Likewise.
34585         (expm1_test): Use ALL_RM_TEST.
34586         (expm1_tonearest_test_data): Remove.
34587         (expm1_test_tonearest): Likewise.
34588         (expm1_towardzero_test_data): Likewise.
34589         (expm1_test_towardzero): Likewise.
34590         (expm1_downward_test_data): Likewise.
34591         (expm1_test_downward): Likewise.
34592         (expm1_upward_test_data): Likewise.
34593         (expm1_test_upward): Likewise.
34594         (fma_test_data): Update call to AUTO_TESTS_fff_f.
34595         (fma_test): Use ALL_RM_TEST.
34596         (fma_towardzero_test_data): Remove.
34597         (fma_test_towardzero): Likewise.
34598         (fma_downward_test_data): Likewise.
34599         (fma_test_downward): Likewise.
34600         (fma_upward_test_data): Likewise.
34601         (fma_test_upward): Likewise.
34602         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
34603         (j0_test_data): Update call to AUTO_TESTS_f_f.
34604         (j1_test_data): Likewise.
34605         (jn_test_data): Update call to AUTO_TESTS_if_f.
34606         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
34607         (log_test_data): Update call to AUTO_TESTS_f_f.
34608         (log10_test_data): Likewise.
34609         (log1p_test_data): Likewise.
34610         (log2_test_data): Likewise.
34611         (pow_test_data): Update call to AUTO_TESTS_ff_f.
34612         (pow_tonearest_test_data): Likewise.
34613         (sin_test_data): Update call to AUTO_TESTS_f_f.
34614         (sin_test): Use ALL_RM_TEST.
34615         (sin_tonearest_test_data): Remove.
34616         (sin_test_tonearest): Likewise.
34617         (sin_towardzero_test_data): Likewise.
34618         (sin_test_towardzero): Likewise.
34619         (sin_downward_test_data): Likewise.
34620         (sin_test_downward): Likewise.
34621         (sin_upward_test_data): Likewise.
34622         (sin_test_upward): Likewise.
34623         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
34624         (sinh_test_data): Update call to AUTO_TESTS_f_f.
34625         (sinh_test): Use ALL_RM_TEST.
34626         (sinh_tonearest_test_data): Remove.
34627         (sinh_test_tonearest): Likewise.
34628         (sinh_towardzero_test_data): Likewise.
34629         (sinh_test_towardzero): Likewise.
34630         (sinh_downward_test_data): Likewise.
34631         (sinh_test_downward): Likewise.
34632         (sinh_upward_test_data): Likewise.
34633         (sinh_test_upward): Likewise.
34634         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
34635         (sqrt_test): Use ALL_RM_TEST.
34636         (sqrt_tonearest_test_data): Remove.
34637         (sqrt_test_tonearest): Likewise.
34638         (sqrt_towardzero_test_data): Likewise.
34639         (sqrt_test_towardzero): Likewise.
34640         (sqrt_downward_test_data): Likewise.
34641         (sqrt_test_downward): Likewise.
34642         (sqrt_upward_test_data): Likewise.
34643         (sqrt_test_upward): Likewise.
34644         (tan_test_data): Update call to AUTO_TESTS_f_f.
34645         (tan_test): Use ALL_RM_TEST.
34646         (tan_tonearest_test_data): Remove.
34647         (tan_test_tonearest): Likewise.
34648         (tan_towardzero_test_data): Likewise.
34649         (tan_test_towardzero): Likewise.
34650         (tan_downward_test_data): Likewise.
34651         (tan_test_downward): Likewise.
34652         (tan_upward_test_data): Likewise.
34653         (tan_test_upward): Likewise.
34654         (tanh_test_data): Update call to AUTO_TESTS_f_f.
34655         (tgamma_test_data): Likewise.
34656         (y0_test_data): Likewise.
34657         (y1_test_data): Likewise.
34658         (yn_test_data): Update call to AUTO_TESTS_if_f.
34659         (main): Do not call removed functions.
34661 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34663         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
34664         (ldexp_test_data): Remove.
34665         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
34666         scalbn_test_data.
34667         (scalb_test): Use ALL_RM_TEST.
34669 2014-03-19  Andreas Schwab  <schwab@suse.de>
34671         * nscd/nscd.service: Also invalidate netgroup cache on reload.
34673 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34675         [BZ #16649]
34676         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34677         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
34678         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
34679         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34680         (__ASSUME_PREADV): Undefine.
34681         (__ASSUME_PWRITEV): Likewise.
34683 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34685         * bits/mman-linux.h: Add comment about non-Linux use.
34686         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
34687         bits/mman-linux.h resting place.
34689         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
34690         * bits/mman-linux.h: ... here.
34692 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34694         * conform/conformtest.pl: Add standard definition when calling C
34695         preprocessor on data files.
34696         (checknamespace): Remove unused variable.
34698 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34700         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
34701         minus_oflow, plus_uflow and minus_uflow in expected results.
34702         * math/libm-test.inc (scalbn_test_data): Add more tests of
34703         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
34704         minus_uflow.
34705         (scalbn_test): Use ALL_RM_TEST.
34706         (scalbln_test_data): Add more tests of negative arguments.  Use
34707         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
34708         (scalbln_test): Use ALL_RM_TEST.
34710 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34712         * scripts/abilist.awk: Ignore symbols marked with .hidden.
34714 2014-03-18  Will Newton  <will.newton@linaro.org>
34716         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
34717         inaccurate comment.
34719 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34721         * Makerules [!subdir] (check-abi): Exit with error status if a
34722         test failed.
34724 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34726         * math/libm-test.inc (nearbyint_test_data): Include all tests used
34727         for rint.  Include results for all rounding modes.
34728         (nearbyint_test): Use ALL_RM_TEST.
34729         (rint_test_data): Include all tests used for nearbyint.
34731 2014-03-17  Will Newton  <will.newton@linaro.org>
34733         * nptl/sysdeps/pthread/pthread.h: Revert previous
34734         change.
34736         * sysdeps/generic/ldsodefs.h: Revert previous
34737         change.
34739         * libio/genops.c: Revert previous change.
34740         * libio/libioP.h: Likewise.
34741         * stdio-common/vfprintf.c: Likewise.
34743         * sysdeps/generic/math_private.h: Revert previous
34744         change.
34746         * sysdeps/generic/math_private.h: Check whether
34747         HAVE_RM_CTX is defined with #ifdef rather
34748         than #if.
34750         * argp/argp-fmtstream.h: Check whether
34751         __STRICT_ANSI__ is defined with #ifdef rather
34752         than #if.
34753         * argp/argp.h: Likewise.
34755         * libio/genops.c: Check whether
34756         _IO_JUMPS_OFFSET is defined with #ifdef rather
34757         than #if.
34758         * libio/libioP.h: Likewise.
34759         * stdio-common/vfprintf.c: Likewise.
34761         * sysdeps/generic/ldsodefs.h: Check whether
34762         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
34763         than #if.
34765         * nptl/sysdeps/pthread/pthread.h: Check
34766         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
34767         its value.
34769 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34771         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
34772         setting O_APPEND.
34773         * libio/tst-ftell-active-handler.c (do_append_test): Add a
34774         test case.
34776         [BZ #16680]
34777         * libio/fileops.c (_IO_file_open): Seek to end of file but
34778         don't cache the offset.
34779         (get_file_offset): Remove function.
34780         (do_ftell): Use cached offset when available.
34781         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
34782         don't cache the offset.
34783         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
34784         case.
34785         (do_one_test): Call it.
34786         (do_ftell_test): Fix up expected old offset for a+ mode.
34787         * libio/wfileops.c (do_ftell_wide): Used cached offset when
34788         available.
34790         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
34791         up test status with function return status.
34792         (do_write_test): Likewise.
34793         (do_append_test): Likewise.
34795         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
34796         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
34797         Remove.
34799 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34801         * math/gen-libm-test.pl (parse_args): Handle results specified for
34802         each rounding mode separately.
34803         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
34804         tests and results from lrint_tonearest_test_data,
34805         lrint_towardzero_test_data, lrint_downward_test_data and
34806         lrint_upward_test_data.
34807         (lrint_test): Use ALL_RM_TEST.
34808         (lrint_tonearest_test_data): Remove.
34809         (lrint_test_tonearest): Likewise.
34810         (lrint_towardzero_test_data): Likewise.
34811         (lrint_test_towardzero): Likewise.
34812         (lrint_downward_test_data): Likewise.
34813         (lrint_test_downward): Likewise.
34814         (lrint_upward_test_data): Likewise.
34815         (lrint_test_upward): Likewise.
34816         (llrint_test_data): Merge in per-rounding-mode tests and results
34817         from llrint_tonearest_test_data, llrint_towardzero_test_data,
34818         llrint_downward_test_data and llrint_upward_test_data.
34819         (llrint_test): Use ALL_RM_TEST.
34820         (llrint_tonearest_test_data): Remove.
34821         (llrint_test_tonearest): Likewise.
34822         (llrint_towardzero_test_data): Likewise.
34823         (llrint_test_towardzero): Likewise.
34824         (llrint_downward_test_data): Likewise.
34825         (llrint_test_downward): Likewise.
34826         (llrint_upward_test_data): Likewise.
34827         (llrint_test_upward): Likewise.
34828         (rint_test_data): Merge in per-rounding-mode tests and results
34829         from rint_tonearest_test_data, rint_towardzero_test_data,
34830         rint_downward_test_data and rint_upward_test_data.  Add
34831         per-rounding-mode results for tests not in those arrays.
34832         (rint_test): Use ALL_RM_TEST.
34833         (rint_tonearest_test_data): Remove.
34834         (rint_test_tonearest): Likewise.
34835         (rint_towardzero_test_data): Likewise.
34836         (rint_test_towardzero): Likewise.
34837         (rint_downward_test_data): Likewise.
34838         (rint_test_downward): Likewise.
34839         (rint_upward_test_data): Likewise.
34840         (rint_test_upward): Likewise.
34841         (main): Don't call removed functions.
34843 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34845         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
34846         "Compiled on ..." crapola.  It is anti-useful.
34848 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
34850         * scripts/evaluate-test.sh: Handle fourth argument to determine
34851         whether test run should stop on failure.
34852         * Makeconfig (stop-on-test-failure): New variable.
34853         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
34854         $(stop-on-test-failure).
34855         * Makefile (tests): Give a summary of results from testing and
34856         exit with failure status if they include an ERROR or FAIL.
34857         (xtests): Likewise.
34858         * manual/install.texi (Configuring and compiling): Mention
34859         stop-on-test-failure=y.
34860         * INSTALL: Regenerated.
34862 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34864         * scripts/versionlist.awk: New file.
34865         * Makerules [$(build-shared) = yes]
34866         (postclean-generated): Add Versions.def, not Versions.def.v and
34867         Versions.def.v.i.
34868         ($(common-objpfx)Versions.def.v.i): Target removed.
34869         ($(common-objpfx)Versions.def): New target.
34870         ($(common-objpfx)Versions.all): Depend on that rather that
34871         $(common-objpfx)Versions.def.v.
34872         * Versions.def: File removed.
34874         * Makeconfig (+gccwarn): Add -Wundef.
34875         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
34876         a dl-sysdep.h breaking its contract.
34877         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
34878         * include/stackinfo.h: New file.
34879         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
34880         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
34881         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
34882         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
34883         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
34884         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
34885         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34886         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34887         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34888         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34889         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34890         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
34891         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34892         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34893         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34895 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34897         [BZ #16707]
34898         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
34899         implementation.
34900         * math/libm-test.inc (round_test_data): Add more tests.
34902         [BZ #16706]
34903         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
34904         implementation.
34905         * math/libm-test.inc (nearbyint_test_data): Add more tests.
34907         [BZ #16701]
34908         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
34909         implementation.
34910         * math/libm-test.inc (ceil_test_data): Add more tests.
34912         * math/libm-test.inc (trunc_test_data): Add more tests related to
34913         BZ#16414.
34915 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34917         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
34918         with #if rather than #ifdef.
34919         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
34921 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
34923         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
34924         first.  Disable AVX-512 GCC support if assembler doesn't support
34925         it.
34926         * sysdeps/x86_64/configure: Regenerated.
34928 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
34930         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
34931         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
34932         (__old_pthread_attr_setstack): Likewise.
34933         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
34934         [!_STACK_GROWS_DOWN]: Likewise.
34936 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
34938         * config.make.in (have-bash2): Delete.
34939         * configure.ac (libc_cv_have_bash2): Delete.
34940         * configure: Regenerate.
34941         * elf/Makefile (common-ldd-rewrite): Rename to ...
34942         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
34943         (sh-ldd-rewrite): Delete.
34944         (bash-ldd-rewrite): Delete.
34945         (have-bash2): Delete checks.
34946         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
34947         ldd-rewrite.
34949         * config.make.in (have-ksh): Delete.
34950         (KSH): Delete.
34951         * configure.ac (libc_cv_have_ksh): Delete.
34952         * configure: Regenerate.
34954         * elf/Makefile: Delete $(have-ksh) check.
34955         ($(objpfx)sotruss): Change KSH to BASH.
34956         * elf/sotruss.ksh: Rename to ...
34957         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
34958         function style to match POSIX.  Drop ksh vim mode setting.
34960         * manual/time.texi (Specifying the Time Zone with TZ): Change
34961         Tuesday to Thursday.
34963         * debug/tst-longjmp_chk2.c: Update header comment.
34964         (stackoverflow_handler): Add comment.  Call assert on pass value.
34966 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
34968         [BZ #16194]
34969         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
34970         (HAVE_AVX512_ASM_SUPPORT): Likewise.
34971         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
34972         (La_x86_64_vector): Add zmm.
34973         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
34974         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
34975         ($(objpfx)tst-audit10): New target.
34976         ($(objpfx)tst-audit10.out): Likewise.
34977         (tst-audit10-ENV): New.
34978         (AVX512-CFLAGS): Likewise.
34979         (CFLAGS-tst-audit10.c): Likewise.
34980         (CFLAGS-tst-auditmod10a.c): Likewise.
34981         (CFLAGS-tst-auditmod10b.c): Likewise.
34982         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
34983         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
34984         * sysdeps/x86_64/configure: Regenerated.
34985         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
34986         AVX-512 zmm register support.
34987         (_dl_x86_64_save_sse): Likewise.
34988         (_dl_x86_64_restore_sse): Likewise.
34989         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
34990         size vector registers.
34991         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
34992         (ZMM_SIZE): Likewise.
34993         * sysdeps/x86_64/tst-audit10.c: New file.
34994         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
34995         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
34997 2014-03-13  Roland McGrath  <roland@hack.frob.com>
34999         * configure.ac (HAVE_EHDR_START): New check.
35000         * configure: Regenerated.
35001         * config.h.in (HAVE_EHDR_START): New #undef.
35002         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
35003         assuming the lowest-addressed segment maps the start of the file.
35005 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
35007         * INSTALL: Regenerated.
35009 2014-03-13  Will Newton  <will.newton@linaro.org>
35011         * manual/setjmp.texi (System V contexts): Improve
35012         clarity and grammar of documentation.
35014 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
35016         [BZ #16381]
35017         * elf/Makefile (tests): Add tst-pie2.
35018         (tests-pie): Add tst-pie2.
35019         * elf/tst-pie2.c: New file.
35020         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
35021         for ET_EXEC.
35022         * elf/rtld.c (map_doit): Load executable as lt_executable.
35023         (dl_main): Likewise.
35025 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
35027         [BZ #16642]
35028         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35029         (__ASSUME_PSELECT): Undefine.
35031 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35033         [BZ #16689]
35034         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
35035         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
35036         static build.
35037         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
35038         selector for static builds.
35040 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35042         [BZ #16695]
35043         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
35044         key in the buffer.
35046 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35048         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
35049         IFUNC selector for static builds.
35051 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
35053         * sysdeps/mips/math_private.h [__mips_hard_float]
35054         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
35055         libc_feresetround_mips_ctx.
35056         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
35057         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
35058         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
35060         [BZ #16677]
35061         * math/s_nextafter.c (__nextafter): Do not return value from
35062         overflowing computation.
35063         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35064         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
35065         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35066         Likewise.
35067         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
35068         Likewise.
35069         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35070         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
35072 2014-03-11  Roland McGrath  <roland@hack.frob.com>
35074         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
35075         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
35076         Move sfi_sp use from the load-multiple (that no longer sets sp) to
35077         the new mov targetting sp.
35079 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35081         [BZ #16683]
35082         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
35083         Define it for static builds as well.
35084         (NO_BZERO_IMPL): Likewise.
35086 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35088         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
35089         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
35090         multiarch strspn for PPC64.
35091         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
35092         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
35093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35094         (__libc_ifunc_impl_list): Likewise.
35095         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
35096         multiarch optimizations
35097         * string/strspn.c (strspn): Using macro to redefine symbol name.
35099 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35100             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35102         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
35103         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
35104         multiarch strncat for PPC64.
35105         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
35106         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
35107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35108         (__libc_ifunc_impl_list): Likewise.
35109         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
35110         multiarch optimizations
35112 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35114         [BZ #16639]
35115         * nscd/nscd.service: Make service type forking.
35117 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35119         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
35120         sign in non default rounding modes.
35121         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
35123 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
35125         * math/libm-test.inc (ALL_RM_TEST): New macro.
35126         (ceil_test): Use ALL_RM_TEST.
35127         (cimag_test): Likewise.
35128         (conj_test): Likewise.
35129         (copysign_test): Likewise.
35130         (cproj_test): Likewise.
35131         (creal_test): Likewise.
35132         (fabs_test): Likewise.
35133         (floor_test): Likewise.
35134         (fmax_test): Likewise.
35135         (fmin_test): Likewise.
35136         (fmod_test): Likewise.
35137         (fpclassify_test): Likewise.
35138         (frexp_test): Likewise.
35139         (ilogb_test): Likewise.
35140         (isfinite_test): Likewise.
35141         (finite_test): Likewise.
35142         (isgreater_test): Likewise.
35143         (isgreaterequal_test): Likewise.
35144         (isinf_test): Likewise.
35145         (isless_test): Likewise.
35146         (islessequal_test): Likewise.
35147         (islessgreater_test): Likewise.
35148         (isnan_test): Likewise.
35149         (isnormal_test): Likewise.
35150         (issignaling_test): Likewise.
35151         (isunordered_test): Likewise.
35152         (logb_test): Likewise.
35153         (logb_downward_test_data): Remove.
35154         (logb_test_downward): Likewise.
35155         (lround_test): Use ALL_RM_TEST.
35156         (llround_test): Likewise.
35157         (modf_test): Likewise.
35158         (nexttoward_test): Likewise.
35159         (remainder_test): Likewise.
35160         (drem_test): Likewise.
35161         (remainder_tonearest_test_data): Likewise.
35162         (remainder_test_tonearest): Likewise.
35163         (drem_test_tonearest): Likewise.
35164         (remainder_towardzero_test_data): Likewise.
35165         (remainder_test_towardzero): Likewise.
35166         (drem_test_towardzero): Likewise.
35167         (remainder_downward_test_data): Likewise.
35168         (remainder_test_downward): Likewise.
35169         (drem_test_downward): Likewise.
35170         (remainder_upward_test_data): Likewise.
35171         (remainder_test_upward): Likewise.
35172         (drem_test_upward): Likewise.
35173         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
35174         (round_test): Use ALL_RM_TEST.
35175         (signbit_test): Likewise.
35176         (trunc_test): Likewise.
35177         (significand_test): Likewise.
35178         (main): Don't call removed functions.
35180 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35182         [BZ #16674]
35183         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
35184         || __USE_XOPEN2K8].
35185         (ILL_ILLOPN): Likewise.
35186         (ILL_ILLADR): Likewise.
35187         (ILL_ILLTRP): Likewise.
35188         (ILL_PRVOPC): Likewise.
35189         (ILL_PRVREG): Likewise.
35190         (ILL_COPROC): Likewise.
35191         (ILL_BADSTK): Likewise.
35192         (FPE_INTDIV): Likewise.
35193         (FPE_INTOVF): Likewise.
35194         (FPE_FLTDIV): Likewise.
35195         (FPE_FLTOVF): Likewise.
35196         (FPE_FLTUND): Likewise.
35197         (FPE_FLTRES): Likewise.
35198         (FPE_FLTINV): Likewise.
35199         (FPE_FLTSUB): Likewise.
35200         (SEGV_MAPERR): Likewise.
35201         (SEGV_ACCERR): Likewise.
35202         (BUS_ADRALN): Likewise.
35203         (BUS_ADRERR): Likewise.
35204         (BUS_OBJERR): Likewise.
35205         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35206         (TRAP_TRACE): Likewise.
35207         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35208         __USE_XOPEN2K8].
35209         (CLD_KILLED): Likewise.
35210         (CLD_DUMPED): Likewise.
35211         (CLD_TRAPPED): Likewise.
35212         (CLD_STOPPED): Likewise.
35213         (CLD_CONTINUED): Likewise.
35214         (POLL_IN): Likewise.
35215         (POLL_OUT): Likewise.
35216         (POLL_MSG): Likewise.
35217         (POLL_ERR): Likewise.
35218         (POLL_PRI): Likewise.
35219         (POLL_HUP): Likewise.
35220         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
35221         Likewise.
35222         (ILL_ILLOPN): Likewise.
35223         (ILL_ILLADR): Likewise.
35224         (ILL_ILLTRP): Likewise.
35225         (ILL_PRVOPC): Likewise.
35226         (ILL_PRVREG): Likewise.
35227         (ILL_COPROC): Likewise.
35228         (ILL_BADSTK): Likewise.
35229         (FPE_INTDIV): Likewise.
35230         (FPE_INTOVF): Likewise.
35231         (FPE_FLTDIV): Likewise.
35232         (FPE_FLTOVF): Likewise.
35233         (FPE_FLTUND): Likewise.
35234         (FPE_FLTRES): Likewise.
35235         (FPE_FLTINV): Likewise.
35236         (FPE_FLTSUB): Likewise.
35237         (SEGV_MAPERR): Likewise.
35238         (SEGV_ACCERR): Likewise.
35239         (BUS_ADRALN): Likewise.
35240         (BUS_ADRERR): Likewise.
35241         (BUS_OBJERR): Likewise.
35242         (BUS_MCEERR_AR): Likewise.
35243         (BUS_MCEERR_AO): Likewise.
35244         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35245         (TRAP_TRACE): Likewise.
35246         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35247         __USE_XOPEN2K8].
35248         (CLD_KILLED): Likewise.
35249         (CLD_DUMPED): Likewise.
35250         (CLD_TRAPPED): Likewise.
35251         (CLD_STOPPED): Likewise.
35252         (CLD_CONTINUED): Likewise.
35253         (POLL_IN): Likewise.
35254         (POLL_OUT): Likewise.
35255         (POLL_MSG): Likewise.
35256         (POLL_ERR): Likewise.
35257         (POLL_PRI): Likewise.
35258         (POLL_HUP): Likewise.
35259         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
35260         (ILL_ILLOPN): Likewise.
35261         (ILL_ILLADR): Likewise.
35262         (ILL_ILLTRP): Likewise.
35263         (ILL_PRVOPC): Likewise.
35264         (ILL_PRVREG): Likewise.
35265         (ILL_COPROC): Likewise.
35266         (ILL_BADSTK): Likewise.
35267         (FPE_INTDIV): Likewise.
35268         (FPE_INTOVF): Likewise.
35269         (FPE_FLTDIV): Likewise.
35270         (FPE_FLTOVF): Likewise.
35271         (FPE_FLTUND): Likewise.
35272         (FPE_FLTRES): Likewise.
35273         (FPE_FLTINV): Likewise.
35274         (FPE_FLTSUB): Likewise.
35275         (SEGV_MAPERR): Likewise.
35276         (SEGV_ACCERR): Likewise.
35277         (BUS_ADRALN): Likewise.
35278         (BUS_ADRERR): Likewise.
35279         (BUS_OBJERR): Likewise.
35280         (BUS_MCEERR_AR): Likewise.
35281         (BUS_MCEERR_AO): Likewise.
35282         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35283         (TRAP_TRACE): Likewise.
35284         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35285         __USE_XOPEN2K8].
35286         (CLD_KILLED): Likewise.
35287         (CLD_DUMPED): Likewise.
35288         (CLD_TRAPPED): Likewise.
35289         (CLD_STOPPED): Likewise.
35290         (CLD_CONTINUED): Likewise.
35291         (POLL_IN): Likewise.
35292         (POLL_OUT): Likewise.
35293         (POLL_MSG): Likewise.
35294         (POLL_ERR): Likewise.
35295         (POLL_PRI): Likewise.
35296         (POLL_HUP): Likewise.
35297         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
35298         Likewise.
35299         (ILL_ILLOPN): Likewise.
35300         (ILL_ILLADR): Likewise.
35301         (ILL_ILLTRP): Likewise.
35302         (ILL_PRVOPC): Likewise.
35303         (ILL_PRVREG): Likewise.
35304         (ILL_COPROC): Likewise.
35305         (ILL_BADSTK): Likewise.
35306         (ILL_BADIADDR): Likewise.
35307         (ILL_BREAK): Likewise.
35308         (FPE_INTDIV): Likewise.
35309         (FPE_INTOVF): Likewise.
35310         (FPE_FLTDIV): Likewise.
35311         (FPE_FLTOVF): Likewise.
35312         (FPE_FLTUND): Likewise.
35313         (FPE_FLTRES): Likewise.
35314         (FPE_FLTINV): Likewise.
35315         (FPE_FLTSUB): Likewise.
35316         (FPE_DECOVF): Likewise.
35317         (FPE_DECDIV): Likewise.
35318         (FPE_DECERR): Likewise.
35319         (FPE_INVASC): Likewise.
35320         (FPE_INVDEC): Likewise.
35321         (SEGV_MAPERR): Likewise.
35322         (SEGV_ACCERR): Likewise.
35323         (SEGV_PSTKOVF): Likewise.
35324         (BUS_ADRALN): Likewise.
35325         (BUS_ADRERR): Likewise.
35326         (BUS_OBJERR): Likewise.
35327         (BUS_MCEERR_AR): Likewise.
35328         (BUS_MCEERR_AO): Likewise.
35329         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35330         (TRAP_TRACE): Likewise.
35331         (TRAP_BRANCH): Likewise.
35332         (TRAP_HWBKPT): Likewise.
35333         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35334         __USE_XOPEN2K8].
35335         (CLD_KILLED): Likewise.
35336         (CLD_DUMPED): Likewise.
35337         (CLD_TRAPPED): Likewise.
35338         (CLD_STOPPED): Likewise.
35339         (CLD_CONTINUED): Likewise.
35340         (POLL_IN): Likewise.
35341         (POLL_OUT): Likewise.
35342         (POLL_MSG): Likewise.
35343         (POLL_ERR): Likewise.
35344         (POLL_PRI): Likewise.
35345         (POLL_HUP): Likewise.
35346         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
35347         (ILL_ILLOPN): Likewise.
35348         (ILL_ILLADR): Likewise.
35349         (ILL_ILLTRP): Likewise.
35350         (ILL_PRVOPC): Likewise.
35351         (ILL_PRVREG): Likewise.
35352         (ILL_COPROC): Likewise.
35353         (ILL_BADSTK): Likewise.
35354         (FPE_INTDIV): Likewise.
35355         (FPE_INTOVF): Likewise.
35356         (FPE_FLTDIV): Likewise.
35357         (FPE_FLTOVF): Likewise.
35358         (FPE_FLTUND): Likewise.
35359         (FPE_FLTRES): Likewise.
35360         (FPE_FLTINV): Likewise.
35361         (FPE_FLTSUB): Likewise.
35362         (SEGV_MAPERR): Likewise.
35363         (SEGV_ACCERR): Likewise.
35364         (BUS_ADRALN): Likewise.
35365         (BUS_ADRERR): Likewise.
35366         (BUS_OBJERR): Likewise.
35367         (BUS_MCEERR_AR): Likewise.
35368         (BUS_MCEERR_AO): Likewise.
35369         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35370         (TRAP_TRACE): Likewise.
35371         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35372         __USE_XOPEN2K8].
35373         (CLD_KILLED): Likewise.
35374         (CLD_DUMPED): Likewise.
35375         (CLD_TRAPPED): Likewise.
35376         (CLD_STOPPED): Likewise.
35377         (CLD_CONTINUED): Likewise.
35378         (POLL_IN): Likewise.
35379         (POLL_OUT): Likewise.
35380         (POLL_MSG): Likewise.
35381         (POLL_ERR): Likewise.
35382         (POLL_PRI): Likewise.
35383         (POLL_HUP): Likewise.
35384         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
35385         (ILL_ILLOPN): Likewise.
35386         (ILL_ILLADR): Likewise.
35387         (ILL_ILLTRP): Likewise.
35388         (ILL_PRVOPC): Likewise.
35389         (ILL_PRVREG): Likewise.
35390         (ILL_COPROC): Likewise.
35391         (ILL_BADSTK): Likewise.
35392         (FPE_INTDIV): Likewise.
35393         (FPE_INTOVF): Likewise.
35394         (FPE_FLTDIV): Likewise.
35395         (FPE_FLTOVF): Likewise.
35396         (FPE_FLTUND): Likewise.
35397         (FPE_FLTRES): Likewise.
35398         (FPE_FLTINV): Likewise.
35399         (FPE_FLTSUB): Likewise.
35400         (SEGV_MAPERR): Likewise.
35401         (SEGV_ACCERR): Likewise.
35402         (BUS_ADRALN): Likewise.
35403         (BUS_ADRERR): Likewise.
35404         (BUS_OBJERR): Likewise.
35405         (BUS_MCEERR_AR): Likewise.
35406         (BUS_MCEERR_AO): Likewise.
35407         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35408         (TRAP_TRACE): Likewise.
35409         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35410         __USE_XOPEN2K8].
35411         (CLD_KILLED): Likewise.
35412         (CLD_DUMPED): Likewise.
35413         (CLD_TRAPPED): Likewise.
35414         (CLD_STOPPED): Likewise.
35415         (CLD_CONTINUED): Likewise.
35416         (POLL_IN): Likewise.
35417         (POLL_OUT): Likewise.
35418         (POLL_MSG): Likewise.
35419         (POLL_ERR): Likewise.
35420         (POLL_PRI): Likewise.
35421         (POLL_HUP): Likewise.
35422         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
35423         (ILL_ILLOPN): Likewise.
35424         (ILL_ILLADR): Likewise.
35425         (ILL_ILLTRP): Likewise.
35426         (ILL_PRVOPC): Likewise.
35427         (ILL_PRVREG): Likewise.
35428         (ILL_COPROC): Likewise.
35429         (ILL_BADSTK): Likewise.
35430         (FPE_INTDIV): Likewise.
35431         (FPE_INTOVF): Likewise.
35432         (FPE_FLTDIV): Likewise.
35433         (FPE_FLTOVF): Likewise.
35434         (FPE_FLTUND): Likewise.
35435         (FPE_FLTRES): Likewise.
35436         (FPE_FLTINV): Likewise.
35437         (FPE_FLTSUB): Likewise.
35438         (SEGV_MAPERR): Likewise.
35439         (SEGV_ACCERR): Likewise.
35440         (BUS_ADRALN): Likewise.
35441         (BUS_ADRERR): Likewise.
35442         (BUS_OBJERR): Likewise.
35443         (BUS_MCEERR_AR): Likewise.
35444         (BUS_MCEERR_AO): Likewise.
35445         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35446         (TRAP_TRACE): Likewise.
35447         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35448         __USE_XOPEN2K8].
35449         (CLD_KILLED): Likewise.
35450         (CLD_DUMPED): Likewise.
35451         (CLD_TRAPPED): Likewise.
35452         (CLD_STOPPED): Likewise.
35453         (CLD_CONTINUED): Likewise.
35454         (POLL_IN): Likewise.
35455         (POLL_OUT): Likewise.
35456         (POLL_MSG): Likewise.
35457         (POLL_ERR): Likewise.
35458         (POLL_PRI): Likewise.
35459         (POLL_HUP): Likewise.
35460         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
35461         (ILL_ILLOPN): Likewise.
35462         (ILL_ILLADR): Likewise.
35463         (ILL_ILLTRP): Likewise.
35464         (ILL_PRVOPC): Likewise.
35465         (ILL_PRVREG): Likewise.
35466         (ILL_COPROC): Likewise.
35467         (ILL_BADSTK): Likewise.
35468         (ILL_DBLFLT): Likewise.
35469         (ILL_HARDWALL): Likewise.
35470         (FPE_INTDIV): Likewise.
35471         (FPE_INTOVF): Likewise.
35472         (FPE_FLTDIV): Likewise.
35473         (FPE_FLTOVF): Likewise.
35474         (FPE_FLTUND): Likewise.
35475         (FPE_FLTRES): Likewise.
35476         (FPE_FLTINV): Likewise.
35477         (FPE_FLTSUB): Likewise.
35478         (SEGV_MAPERR): Likewise.
35479         (SEGV_ACCERR): Likewise.
35480         (BUS_ADRALN): Likewise.
35481         (BUS_ADRERR): Likewise.
35482         (BUS_OBJERR): Likewise.
35483         (BUS_MCEERR_AR): Likewise.
35484         (BUS_MCEERR_AO): Likewise.
35485         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35486         (TRAP_TRACE): Likewise.
35487         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35488         __USE_XOPEN2K8].
35489         (CLD_KILLED): Likewise.
35490         (CLD_DUMPED): Likewise.
35491         (CLD_TRAPPED): Likewise.
35492         (CLD_STOPPED): Likewise.
35493         (CLD_CONTINUED): Likewise.
35494         (POLL_IN): Likewise.
35495         (POLL_OUT): Likewise.
35496         (POLL_MSG): Likewise.
35497         (POLL_ERR): Likewise.
35498         (POLL_PRI): Likewise.
35499         (POLL_HUP): Likewise.
35500         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
35501         (ILL_ILLOPN): Likewise.
35502         (ILL_ILLADR): Likewise.
35503         (ILL_ILLTRP): Likewise.
35504         (ILL_PRVOPC): Likewise.
35505         (ILL_PRVREG): Likewise.
35506         (ILL_COPROC): Likewise.
35507         (ILL_BADSTK): Likewise.
35508         (FPE_INTDIV): Likewise.
35509         (FPE_INTOVF): Likewise.
35510         (FPE_FLTDIV): Likewise.
35511         (FPE_FLTOVF): Likewise.
35512         (FPE_FLTUND): Likewise.
35513         (FPE_FLTRES): Likewise.
35514         (FPE_FLTINV): Likewise.
35515         (FPE_FLTSUB): Likewise.
35516         (SEGV_MAPERR): Likewise.
35517         (SEGV_ACCERR): Likewise.
35518         (BUS_ADRALN): Likewise.
35519         (BUS_ADRERR): Likewise.
35520         (BUS_OBJERR): Likewise.
35521         (BUS_MCEERR_AR): Likewise.
35522         (BUS_MCEERR_AO): Likewise.
35523         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35524         (TRAP_TRACE): Likewise.
35525         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35526         __USE_XOPEN2K8].
35527         (CLD_KILLED): Likewise.
35528         (CLD_DUMPED): Likewise.
35529         (CLD_TRAPPED): Likewise.
35530         (CLD_STOPPED): Likewise.
35531         (CLD_CONTINUED): Likewise.
35532         (POLL_IN): Likewise.
35533         (POLL_OUT): Likewise.
35534         (POLL_MSG): Likewise.
35535         (POLL_ERR): Likewise.
35536         (POLL_PRI): Likewise.
35537         (POLL_HUP): Likewise.
35538         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
35539         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35541         [BZ #16670]
35542         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
35543         before #include of <time.h>.
35544         [!__USE_XOPEN2K] (__need_timespec): Likewise.
35545         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
35546         (test-xfail-UNIX98/sched.h/conform): Likewise.
35548 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35550         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
35551         error absence of trapping exception support.
35552         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35554 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35556         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
35557         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
35558         * timezone/Makefile (testdata): Move definition above include of
35559         Rules.
35560         (test-zones): New variable.
35561         (tests-special): Add zone files.
35562         (build-testdata): Use $(evaluate-test).
35564         * elf/Makefile (tests-special): Rename tests to end with .out.
35565         ($(objpfx)noload-mem): Likewise.
35566         ($(objpfx)tst-leaks1-mem): Likewise.
35567         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
35568         * iconv/Makefile (xtests-special): Change test-iconvconfig to
35569         $(objpfx)test-iconvconfig.out.
35570         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
35571         set -e inside subshell and redirect output to file.
35572         * iconvdata/Makefile (generated): Rename tests to end with .out.
35573         Correct type.
35574         (tests-special): Rename tests to end with .out.
35575         ($(objpfx)mtrace-tst-loading): Likewise.
35576         * intl/Makefile (generated): Likewise.
35577         (tests-special): Likewise.
35578         ($(objpfx)mtrace-tst-gettext): Likewise.
35579         * misc/Makefile (generated): Likewise.
35580         (tests-special): Likewise.
35581         ($(objpfx)tst-error1-mem): Likewise.
35582         * nptl/Makefile (tests-special): Likewise.
35583         ($(objpfx)tst-stack3-mem): Likewise.
35584         (generated): Likewise.
35585         * posix/Makefile (generated): Likewise.
35586         (tests-special): Likewise.
35587         (xtests-special): Likewise.
35588         ($(objpfx)tst-fnmatch-mem): Likewise.
35589         ($(objpfx)bug-regex2-mem): Likewise.
35590         ($(objpfx)bug-regex14-mem): Likewise.
35591         ($(objpfx)bug-regex21-mem): Likewise.
35592         ($(objpfx)bug-regex31-mem): Likewise.
35593         ($(objpfx)tst-vfork3-mem): Likewise.
35594         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35595         ($(objpfx)tst-pcre-mem): Likewise.
35596         ($(objpfx)tst-boost-mem): Likewise.
35597         ($(objpfx)bug-ga2-mem): Likewise.
35598         ($(objpfx)bug-glob2-mem): Likewise.
35599         * resolv/Makefile (generate): Likewise.
35600         (tests-special): Likewise.
35601         (xtests-special): Likewise.
35602         (generated): Likewise.
35603         ($(objpfx)mtrace-tst-leaks): Likewise.
35604         ($(objpfx)mtrace-tst-leaks2): Likewise.
35606         * scripts/merge-test-results.sh: New file.
35607         * Makefile (tests-special-notdir): New variable.
35608         (tests): Run merge-test-results.sh.
35609         (xtests): Likewise.
35610         * Rules (tests-special-notdir): New variable.
35611         (xtests-special-notdir): Likewise.
35612         (tests): Run merge-test-results.sh
35613         (xtests): Likewise.
35615         * Makeconfig (test-xfail-name): New variable.
35616         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
35617         compute variable name for expected failures.
35618         * conform/Makefile (conformtest-headers-data): New variable.
35619         (conformtest-standards): Likewise.
35620         (conformtest-headers-ISO): Likewise.
35621         (conformtest-headers-ISO99): Likewise.
35622         (conformtest-headers-ISO11): Likewise.
35623         (conformtest-headers-POSIX): Likewise.
35624         (conformtest-headers-XPG3): Likewise.
35625         (conformtest-headers-XPG4): Likewise.
35626         (conformtest-headers-UNIX98): Likewise.
35627         (conformtest-headers-XOPEN2K): Likewise.
35628         (conformtest-headers-POSIX2008): Likewise.
35629         (conformtest-headers-XOPEN2K8): Likewise.
35630         (conformtest-header-list-base): Likewise.
35631         (conformtest-header-list-tests): Likewise.
35632         (conformtest-header-base): Likewise.
35633         (conformtest-header-tests): Likewise.
35634         (tests-special): Add $(conformtest-header-list-tests).  If
35635         [$(fast-check) && !$(cross-compiling)], add
35636         $(conformtest-header-tests) instead of
35637         $(objpfx)run-conformtest.out.
35638         (generated): Add $(conformtest-header-list-base).  If
35639         [$(fast-check) && !$(cross-compiling)], add
35640         $(conformtest-header-base).  Remove previous setting.
35641         ($(conformtest-header-list-tests)): New target.
35642         (test-xfail-run-conformtest): Remove variable.
35643         ($(objpfx)run-conformtest.out): Remove target.
35644         (test-xfail-ISO11/complex.h/conform): New variable.
35645         (test-xfail-ISO11/stdalign.h/conform): Likewise.
35646         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
35647         (test-xfail-XPG3/varargs.h/conform): Likewise.
35648         (test-xfail-XPG4/varargs.h/conform): Likewise.
35649         (test-xfail-UNIX98/varargs.h/conform): Likewise.
35650         (test-xfail-XPG4/ndbm.h/conform): Likewise.
35651         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
35652         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
35653         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
35654         (test-xfail-XPG3/fcntl.h/conform): Likewise.
35655         (test-xfail-XPG3/ftw.h/conform): Likewise.
35656         (test-xfail-XPG3/grp.h/conform): Likewise.
35657         (test-xfail-XPG3/langinfo.h/conform): Likewise.
35658         (test-xfail-XPG3/limits.h/conform): Likewise.
35659         (test-xfail-XPG3/pwd.h/conform): Likewise.
35660         (test-xfail-XPG3/search.h/conform): Likewise.
35661         (test-xfail-XPG3/signal.h/conform): Likewise.
35662         (test-xfail-XPG3/stdio.h/conform): Likewise.
35663         (test-xfail-XPG3/stdlib.h/conform): Likewise.
35664         (test-xfail-XPG3/string.h/conform): Likewise.
35665         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
35666         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
35667         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35668         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35669         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
35670         (test-xfail-XPG3/sys/types.h/conform): Likewise.
35671         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
35672         (test-xfail-XPG3/termios.h/conform): Likewise.
35673         (test-xfail-XPG3/time.h/conform): Likewise.
35674         (test-xfail-XPG3/unistd.h/conform): Likewise.
35675         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
35676         (test-xfail-XPG4/fcntl.h/conform): Likewise.
35677         (test-xfail-XPG4/langinfo.h/conform): Likewise.
35678         (test-xfail-XPG4/netdb.h/conform): Likewise.
35679         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
35680         (test-xfail-XPG4/signal.h/conform): Likewise.
35681         (test-xfail-XPG4/stdio.h/conform): Likewise.
35682         (test-xfail-XPG4/stdlib.h/conform): Likewise.
35683         (test-xfail-XPG4/stropts.h/conform): Likewise.
35684         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35685         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35686         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35687         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35688         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35689         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
35690         (test-xfail-XPG4/sys/time.h/conform): Likewise.
35691         (test-xfail-XPG4/sys/types.h/conform): Likewise.
35692         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
35693         (test-xfail-XPG4/termios.h/conform): Likewise.
35694         (test-xfail-XPG4/ucontext.h/conform): Likewise.
35695         (test-xfail-XPG4/unistd.h/conform): Likewise.
35696         (test-xfail-XPG4/utmpx.h/conform): Likewise.
35697         (test-xfail-POSIX/sched.h/conform): Likewise.
35698         (test-xfail-POSIX/signal.h/conform): Likewise.
35699         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35700         (test-xfail-POSIX/tar.h/conform): Likewise.
35701         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
35702         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
35703         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
35704         (test-xfail-UNIX98/netdb.h/conform): Likewise.
35705         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
35706         (test-xfail-UNIX98/sched.h/conform): Likewise.
35707         (test-xfail-UNIX98/signal.h/conform): Likewise.
35708         (test-xfail-UNIX98/stdio.h/conform): Likewise.
35709         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
35710         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35711         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35712         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35713         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35714         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35715         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35716         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
35717         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35718         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35719         (test-xfail-UNIX98/unistd.h/conform): Likewise.
35720         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
35721         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
35722         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
35723         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
35724         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
35725         (test-xfail-XOPEN2K/math.h/conform): Likewise.
35726         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
35727         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35728         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35729         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
35730         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35731         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
35732         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
35733         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35734         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35735         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35736         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35737         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35738         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35739         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35740         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
35741         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
35742         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35743         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35744         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
35745         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35746         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
35747         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
35748         (test-xfail-POSIX2008/signal.h/conform): Likewise.
35749         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35750         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
35751         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35752         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35753         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35754         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
35755         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
35756         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35757         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35758         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35759         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
35760         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35761         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35762         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35763         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
35764         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35765         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35766         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35767         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35768         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35769         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
35770         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
35771         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
35772         (conformtest-cc-flags): Likewise.
35773         ($(conformtest-header-tests): New target.
35774         * conform/check-header-lists.sh: New file.
35775         * conform/run-conformtest.sh: Remove.
35777         * conform/conformtest.pl: Allow ' and \ in values given for
35778         constants.
35779         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
35780         inclusion.
35781         [POSIX] (sys/types.h): Likewise.
35782         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
35783         inclusion.
35784         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
35785         inclusion.
35786         * conform/data/signal.h-data (SIGIO): Remove expectation.
35787         [XPG3] (SIGBUS): Do not expect.
35788         [POSIX || XPG3] (SIGPOLL): Likewise.
35789         [POSIX || XPG3] (SIGPROF): Likewise.
35790         [POSIX || XPG3] (SIGSYS): Likewise.
35791         [XPG3] (SIGTRAP): Likewise.
35792         [POSIX || XPG3] (SIGURG): Likewise.
35793         [POSIX || XPG3] (SIGVTALRM): Likewise.
35794         [POSIX || XPG3] (SIGXCPU): Likewise.
35795         [POSIX || XPG3] (SIGXFSZ): Likewise.
35796         [POSIX] (SA_SIGINFO): Expect.
35797         [XPG3] (siginfo_t): Do not expect type or contents.
35798         [POSIX] (si_pid): Do not expect element.
35799         [POSIX] (si_uid): Likewise.
35800         [POSIX] (si_addr): Likewise.
35801         [POSIX] (si_status): Likewise.
35802         [POSIX] (si_band): Likewise.
35803         [XPG4] (si_value): Likewise.
35804         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
35805         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
35806         [POSIX || XPG3] (ILL_ILLADR): Likewise.
35807         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
35808         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
35809         [POSIX || XPG3] (ILL_PRVREG): Likewise.
35810         [POSIX || XPG3] (ILL_COPROC): Likewise.
35811         [POSIX || XPG3] (ILL_BADSTK): Likewise.
35812         [POSIX || XPG3] (FPE_INTDIV): Likewise.
35813         [POSIX || XPG3] (FPE_INTOVF): Likewise.
35814         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
35815         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
35816         [POSIX || XPG3] (FPE_FLTUND): Likewise.
35817         [POSIX || XPG3] (FPE_FLTRES): Likewise.
35818         [POSIX || XPG3] (FPE_FLTINV): Likewise.
35819         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
35820         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
35821         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
35822         [POSIX || XPG3] (BUS_ADRALN): Likewise.
35823         [POSIX || XPG3] (BUS_ADRERR): Likewise.
35824         [POSIX || XPG3] (BUS_OBJERR): Likewise.
35825         [POSIX || XPG3] (CLD_EXITED): Likewise.
35826         [POSIX || XPG3] (CLD_KILLED): Likewise.
35827         [POSIX || XPG3] (CLD_DUMPED): Likewise.
35828         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
35829         [POSIX || XPG3] (CLD_STOPPED): Likewise.
35830         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
35831         [POSIX || XPG3] (POLL_IN): Likewise.
35832         [POSIX || XPG3] (POLL_OUT): Likewise.
35833         [POSIX || XPG3] (POLL_MSG): Likewise.
35834         [POSIX || XPG3] (POLL_ERR): Likewise.
35835         [POSIX || XPG3] (POLL_PRI): Likewise.
35836         [POSIX || XPG3] (POLL_HUP): Likewise.
35837         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
35838         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
35839         (SIG*): Do not allow.
35840         [XPG3] (si_*): Likewise.
35841         [XPG3] (SI_*): Likewise.
35842         [XPG3 || XPG4] (sigev_*): Likewise.
35843         [XPG3 || XPG4] (SIGEV_*): Likewise.
35844         [XPG3 || XPG4] (sival_*): Likewise.
35845         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
35846         [POSIX || XPG3] (BUS_*): Likewise.
35847         [POSIX || XPG3] (CLD_*): Likewise.
35848         [POSIX || XPG3] (FPE_*): Likewise.
35849         [POSIX || XPG3] (ILL_*): Likewise.
35850         [POSIX || XPG3] (POLL_*): Likewise.
35851         [POSIX || XPG3] (SEGV_*): Likewise.
35852         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
35853         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
35854         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
35855         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
35856         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
35857         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
35858         Specify type and value.
35859         (TVERSLEN): Likewise.
35860         (REGTYPE): Likewise.
35861         (AREGTYPE): Likewise.
35862         (LNKTYPE): Likewise.
35863         (SYMTYPE): Likewise.
35864         (CHRTYPE): Likewise.
35865         (BLKTYPE): Likewise.
35866         (DIRTYPE): Likewise.
35867         (FIFOTYPE): Likewise.
35868         (CONTTYPE): Likewise.
35869         (TSUID): Likewise.
35870         (TSGID): Likewise.
35871         (TSVTX): Likewise.
35872         (TUREAD): Likewise.
35873         (TUWRITE): Likewise.
35874         (TUEXEC): Likewise.
35875         (TGREAD): Likewise.
35876         (TGWRITE): Likewise.
35877         (TGEXEC): Likewise.
35878         (TOREAD): Likewise.
35879         (TOWRITE): Likewise.
35880         (TOEXEC): Likewise.
35881         [POSIX] (TSVTX): Expect constant.
35883 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
35885         * Makefile (tests): Change dependencies to ....
35886         (tests-special): ... additions to this variable.
35887         (tests): Depend on $(tests-special).
35888         * Makerules (check-abi-list): New variable.
35889         (check-abi): Depend on $(check-abi-list).
35890         [$(subdir) = elf] (tests-special): Add
35891         $(objpfx)check-abi-libc.out.
35892         [$(build-shared) = yes && subdir] (tests-special): Add
35893         $(check-abi-list).
35894         [$(build-shared) = yes && subdir] (tests): Do not depend on
35895         check-abi.
35896         * Rules (tests): Depend on $(tests-special).
35897         (xtests): Depend on $(xtests-special).
35898         * catgets/Makefile (tests): Change dependencies to ....
35899         (tests-special): ... additions to this variable.
35900         * conform/Makefile (tests): Change dependencies to ....
35901         (tests-special): ... additions to this variable.
35902         * elf/Makefile (tests): Change dependencies to ....
35903         (tests-special): ... additions to this variable.
35904         * grp/Makefile (tests): Change dependencies to ....
35905         (tests-special): ... additions to this variable.
35906         * iconv/Makefile (xtests): Change dependencies to ....
35907         (xtests-special): ... additions to this variable.
35908         * iconvdata/Makefile (tests): Change dependencies to ....
35909         (tests-special): ... additions to this variable.
35910         * intl/Makefile (tests): Change dependencies to ....
35911         (tests-special): ... additions to this variable.  Also add
35912         $(objpfx)tst-gettext.out.
35913         * io/Makefile (tests): Change dependencies to ....
35914         (tests-special): ... additions to this variable.
35915         * libio/Makefile (tests): Change dependencies to ....
35916         (tests-special): ... additions to this variable.
35917         * malloc/Makefile (tests): Change dependencies to ....
35918         (tests-special): ... additions to this variable.
35919         * misc/Makefile (tests): Change dependencies to ....
35920         (tests-special): ... additions to this variable.
35921         * nptl/Makefile (tests): Change dependencies to ....
35922         (tests-special): ... additions to this variable.
35923         * nptl_db/Makefile (tests): Change dependencies to ....
35924         (tests-special): ... additions to this variable.
35925         * posix/Makefile (tests): Change dependencies to ....
35926         (tests-special): ... additions to this variable.
35927         (xtests): Change dependencies to ....
35928         (xtests-special): ... additions to this variable.
35929         * resolv/Makefile (tests): Change dependencies to ....
35930         (tests-special): ... additions to this variable.
35931         (xtests): Change dependencies to ....
35932         (xtests-special): ... additions to this variable.
35933         * stdio-common/Makefile (tests): Change dependencies to ....
35934         (tests-special): ... additions to this variable.
35935         (do-tst-unbputc): Remove target.
35936         (do-tst-printf): Likewise.
35937         * stdlib/Makefile (tests): Change dependencies to ....
35938         (tests-special): ... additions to this variable.
35939         * string/Makefile (tests): Change dependencies to ....
35940         (tests-special): ... additions to this variable.
35941         * sysdeps/x86/Makefile (tests): Change dependencies to ....
35942         (tests-special): ... additions to this variable.
35944         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
35945         whole file.
35946         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
35947         whole file.
35948         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
35949         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
35951         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
35952         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
35953         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
35954         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
35955         * conform/data/libgen.h-data [XPG3]: Likewise.
35956         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
35957         * conform/data/ndbm.h-data [XPG3]: Likewise.
35958         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35959         * conform/data/netdb.h-data [XPG3]: Likewise.
35960         * conform/data/netinet/in.h-data [XPG3]: Likewise.
35961         * conform/data/poll.h-data [XPG3]: Likewise.
35962         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35963         * conform/data/strings.h-data [XPG3]: Likewise.
35964         * conform/data/stropts.h-data [XPG3]: Likewise.
35965         * conform/data/sys/mman.h-data [XPG3]: Likewise.
35966         * conform/data/sys/resource.h-data [XPG3]: Likewise.
35967         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
35968         Likewise.
35969         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
35970         * conform/data/sys/time.h-data [XPG3]: Likewise.
35971         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
35972         * conform/data/sys/uio.h-data [XPG3]: Likewise.
35973         * conform/data/sys/un.h-data [XPG3]: Likewise.
35974         * conform/data/syslog.h-data [XPG3]: Likewise.
35975         * conform/data/ucontext.h-data [XPG3]: Likewise.
35976         * conform/data/utmpx.h-data [XPG3]: Likewise.
35977         * conform/data/varargs.h-data [UNIX98]: Enable file.
35979         * manual/Makefile (INSTALL_INFO): Remove variable setting.
35981         * math/libm-test.inc (struct test_f_f_data): Move expected results
35982         into structure for each rounding mode.
35983         (struct test_ff_f_data): Likewise.
35984         (struct test_ff_f_data_nexttoward): Likewise.
35985         (struct test_fi_f_data): Likewise.
35986         (struct test_fl_f_data): Likewise.
35987         (struct test_if_f_data): Likewise.
35988         (struct test_fff_f_data): Likewise.
35989         (struct test_c_f_data): Likewise.
35990         (struct test_f_f1_data): Likewise.
35991         (struct test_fF_f1_data): Likewise.
35992         (struct test_ffI_f1_data): Likewise.
35993         (struct test_c_c_data): Likewise.
35994         (struct test_cc_c_data): Likewise.
35995         (struct test_f_i_data): Likewise.
35996         (struct test_ff_i_data): Likewise.
35997         (struct test_f_l_data): Likewise.
35998         (struct test_f_L_data): Likewise.
35999         (struct test_fFF_11_data): Likewise.
36000         (RM_): New macro.
36001         (RM_FE_DOWNWARD): Likewise.
36002         (RM_FE_TONEAREST): Likewise.
36003         (RM_FE_TOWARDZERO): Likewise.
36004         (RM_FE_UPWARD): Likewise.
36005         (RUN_TEST_LOOP_f_f): Update references to expected results.
36006         (RUN_TEST_LOOP_2_f): Likewise.
36007         (RUN_TEST_LOOP_fff_f): Likewise.
36008         (RUN_TEST_LOOP_c_f): Likewise.
36009         (RUN_TEST_LOOP_f_f1): Likewise.
36010         (RUN_TEST_LOOP_fF_f1): Likewise.
36011         (RUN_TEST_LOOP_fI_f1): Likewise.
36012         (RUN_TEST_LOOP_ffI_f1): Likewise.
36013         (RUN_TEST_LOOP_c_c): Likewise.
36014         (RUN_TEST_LOOP_cc_c): Likewise.
36015         (RUN_TEST_LOOP_f_i): Likewise.
36016         (RUN_TEST_LOOP_f_i_tg): Likewise.
36017         (RUN_TEST_LOOP_ff_i_tg): Likewise.
36018         (RUN_TEST_LOOP_f_b): Likewise.
36019         (RUN_TEST_LOOP_f_b_tg): Likewise.
36020         (RUN_TEST_LOOP_f_l): Likewise.
36021         (RUN_TEST_LOOP_f_L): Likewise.
36022         (RUN_TEST_LOOP_fFF_11): Likewise.
36023         * math/gen-libm-test.pl (parse_args): Output four copies of
36024         expected results for each test.
36026         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36027         (__ASSUME_UTIMES): Remove.
36028         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36029         (__ASSUME_UTIMES): Likewise.
36031         * math/gen-auto-libm-tests.c: Update comment on output format.
36032         (output_for_one_input_case): Generate before-rounding and
36033         after-rounding information as conditions on output flags not
36034         floating-point format.
36035         * math/auto-libm-test-out: Regenerated.
36036         * math/gen-libm-test.pl (cond_value): New function.
36037         (or_cond_value): Use cond_value.
36038         (generate_testfile): Handle conditional exceptions.
36040 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
36042         * math/libm-test.inc (max_valid_error): New variable.
36043         (init_max_error): Take new argument specifying whether function
36044         results are exactly determined.  Set max_valid_error and bound
36045         other variables for errors based on this argument.
36046         (set_max_error): Do not record results above max_valid_error.
36047         (check_float_internal): Only accept errors of up to 0.5ulps if
36048         also at most max_valid_error.
36049         (START): Take new argument EXACT and pass it to init_max_error.
36050         (acos_test): Update call to START.
36051         (acos_test_tonearest): Likewise.
36052         (acos_test_towardzero): Likewise.
36053         (acos_test_downward): Likewise.
36054         (acos_test_upward): Likewise.
36055         (acosh_test): Likewise.
36056         (asin_test): Likewise.
36057         (asin_test_tonearest): Likewise.
36058         (asin_test_towardzero): Likewise.
36059         (asin_test_downward): Likewise.
36060         (asin_test_upward): Likewise.
36061         (asinh_test): Likewise.
36062         (atan_test): Likewise.
36063         (atanh_test): Likewise.
36064         (atan2_test): Likewise.
36065         (cabs_test): Likewise.
36066         (cacos_test): Likewise.
36067         (cacosh_test): Likewise.
36068         (carg_test): Likewise.
36069         (casin_test): Likewise.
36070         (casinh_test): Likewise.
36071         (catan_test): Likewise.
36072         (catanh_test): Likewise.
36073         (cbrt_test): Likewise.
36074         (ccos_test): Likewise.
36075         (ccosh_test): Likewise.
36076         (ceil_test): Likewise.
36077         (cexp_test): Likewise.
36078         (cimag_test): Likewise.
36079         (clog_test): Likewise.
36080         (clog10_test): Likewise.
36081         (conj_test): Likewise.
36082         (copysign_test): Likewise.
36083         (cos_test): Likewise.
36084         (cos_test_tonearest): Likewise.
36085         (cos_test_towardzero): Likewise.
36086         (cos_test_downward): Likewise.
36087         (cos_test_upward): Likewise.
36088         (cosh_test): Likewise.
36089         (cosh_test_tonearest): Likewise.
36090         (cosh_test_towardzero): Likewise.
36091         (cosh_test_downward): Likewise.
36092         (cosh_test_upward): Likewise.
36093         (cpow_test): Likewise.
36094         (cproj_test): Likewise.
36095         (creal_test): Likewise.
36096         (csin_test): Likewise.
36097         (csinh_test): Likewise.
36098         (csqrt_test): Likewise.
36099         (ctan_test): Likewise.
36100         (ctan_test_tonearest): Likewise.
36101         (ctan_test_towardzero): Likewise.
36102         (ctan_test_downward): Likewise.
36103         (ctan_test_upward): Likewise.
36104         (ctanh_test): Likewise.
36105         (ctanh_test_tonearest): Likewise.
36106         (ctanh_test_towardzero): Likewise.
36107         (ctanh_test_downward): Likewise.
36108         (ctanh_test_upward): Likewise.
36109         (erf_test): Likewise.
36110         (erfc_test): Likewise.
36111         (exp_test): Likewise.
36112         (exp_test_tonearest): Likewise.
36113         (exp_test_towardzero): Likewise.
36114         (exp_test_downward): Likewise.
36115         (exp_test_upward): Likewise.
36116         (exp10_test): Likewise.
36117         (exp10_test_tonearest): Likewise.
36118         (exp10_test_towardzero): Likewise.
36119         (exp10_test_downward): Likewise.
36120         (exp10_test_upward): Likewise.
36121         (pow10_test): Likewise.
36122         (exp2_test): Likewise.
36123         (expm1_test): Likewise.
36124         (expm1_test_tonearest): Likewise.
36125         (expm1_test_towardzero): Likewise.
36126         (expm1_test_downward): Likewise.
36127         (expm1_test_upward): Likewise.
36128         (fabs_test): Likewise.
36129         (fdim_test): Likewise.
36130         (floor_test): Likewise.
36131         (fma_test): Likewise.
36132         (fma_test_towardzero): Likewise.
36133         (fma_test_downward): Likewise.
36134         (fma_test_upward): Likewise.
36135         (fmax_test): Likewise.
36136         (fmin_test): Likewise.
36137         (fmod_test): Likewise.
36138         (fpclassify_test): Likewise.
36139         (frexp_test): Likewise.
36140         (hypot_test): Likewise.
36141         (ilogb_test): Likewise.
36142         (isfinite_test): Likewise.
36143         (finite_test): Likewise.
36144         (isgreater_test): Likewise.
36145         (isgreaterequal_test): Likewise.
36146         (isinf_test): Likewise.
36147         (isless_test): Likewise.
36148         (islessequal_test): Likewise.
36149         (islessgreater_test): Likewise.
36150         (isnan_test): Likewise.
36151         (isnormal_test): Likewise.
36152         (issignaling_test): Likewise.
36153         (isunordered_test): Likewise.
36154         (j0_test): Likewise.
36155         (j1_test): Likewise.
36156         (jn_test): Likewise.
36157         (ldexp_test): Likewise.
36158         (lgamma_test): Likewise.
36159         (gamma_test): Likewise.
36160         (lrint_test): Likewise.
36161         (lrint_test_tonearest): Likewise.
36162         (lrint_test_towardzero): Likewise.
36163         (lrint_test_downward): Likewise.
36164         (lrint_test_upward): Likewise.
36165         (llrint_test): Likewise.
36166         (llrint_test_tonearest): Likewise.
36167         (llrint_test_towardzero): Likewise.
36168         (llrint_test_downward): Likewise.
36169         (llrint_test_upward): Likewise.
36170         (log_test): Likewise.
36171         (log10_test): Likewise.
36172         (log1p_test): Likewise.
36173         (log2_test): Likewise.
36174         (logb_test): Likewise.
36175         (logb_test_downward): Likewise.
36176         (lround_test): Likewise.
36177         (llround_test): Likewise.
36178         (modf_test): Likewise.
36179         (nearbyint_test): Likewise.
36180         (nextafter_test): Likewise.
36181         (nexttoward_test): Likewise.
36182         (pow_test): Likewise.
36183         (pow_test_tonearest): Likewise.
36184         (pow_test_towardzero): Likewise.
36185         (pow_test_downward): Likewise.
36186         (pow_test_upward): Likewise.
36187         (remainder_test): Likewise.
36188         (drem_test): Likewise.
36189         (remainder_test_tonearest): Likewise.
36190         (drem_test_tonearest): Likewise.
36191         (remainder_test_towardzero): Likewise.
36192         (drem_test_towardzero): Likewise.
36193         (remainder_test_downward): Likewise.
36194         (drem_test_downward): Likewise.
36195         (remainder_test_upward): Likewise.
36196         (drem_test_upward): Likewise.
36197         (remquo_test): Likewise.
36198         (rint_test): Likewise.
36199         (rint_test_tonearest): Likewise.
36200         (rint_test_towardzero): Likewise.
36201         (rint_test_downward): Likewise.
36202         (rint_test_upward): Likewise.
36203         (round_test): Likewise.
36204         (scalb_test): Likewise.
36205         (scalbn_test): Likewise.
36206         (scalbln_test): Likewise.
36207         (signbit_test): Likewise.
36208         (sin_test): Likewise.
36209         (sin_test_tonearest): Likewise.
36210         (sin_test_towardzero): Likewise.
36211         (sin_test_downward): Likewise.
36212         (sin_test_upward): Likewise.
36213         (sincos_test): Likewise.
36214         (sinh_test): Likewise.
36215         (sinh_test_tonearest): Likewise.
36216         (sinh_test_towardzero): Likewise.
36217         (sinh_test_downward): Likewise.
36218         (sinh_test_upward): Likewise.
36219         (sqrt_test): Likewise.
36220         (sqrt_test_tonearest): Likewise.
36221         (sqrt_test_towardzero): Likewise.
36222         (sqrt_test_downward): Likewise.
36223         (sqrt_test_upward): Likewise.
36224         (tan_test): Likewise.
36225         (tan_test_tonearest): Likewise.
36226         (tan_test_towardzero): Likewise.
36227         (tan_test_downward): Likewise.
36228         (tan_test_upward): Likewise.
36229         (tanh_test): Likewise.
36230         (tgamma_test): Likewise.
36231         (trunc_test): Likewise.
36232         (y0_test): Likewise.
36233         (y1_test): Likewise.
36234         (yn_test): Likewise.
36235         (significand_test): Likewise.
36237         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
36238         individual tests in comment.
36239         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
36240         (prev_max_error): New variable.
36241         (prev_real_max_error): Likewise.
36242         (prev_imag_max_error): Likewise.
36243         (compare_ulp_data): Don't refer to test names in comment.
36244         (find_test_ulps): Remove function.
36245         (find_function_ulps): Likewise.
36246         (find_complex_function_ulps): Likewise.
36247         (init_max_error): Take function name as argument.  Look up ulps
36248         for that function.
36249         (print_ulps): Remove function.
36250         (print_max_error): Use prev_max_error instead of calling
36251         find_function_ulps.
36252         (print_complex_max_error): Use prev_real_max_error and
36253         prev_imag_max_error instead of calling find_complex_function_ulps.
36254         (check_float_internal): Take max_ulp parameter instead of calling
36255         find_test_ulps.  Don't call print_ulps.
36256         (check_float): Update call to check_float_internal.
36257         (check_complex): Update calls to check_float_internal.
36258         (START): Pass argument to init_max_error.
36259         * math/gen-libm-test.pl (%results): Don't include "kind"
36260         information.
36261         (parse_ulps): Don't handle ulps of individual tests.
36262         (print_ulps_file): Likewise.
36263         (output_ulps): Likewise.
36264         * math/README.libm-test: Update.
36265         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
36266         individual tests.
36267         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
36268         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
36269         * sysdeps/arm/libm-test-ulps: Likewise.
36270         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
36271         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
36272         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
36273         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
36274         * sysdeps/microblaze/libm-test-ulps: Likewise.
36275         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
36276         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36277         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36278         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
36279         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36280         * sysdeps/sh/libm-test-ulps: Likewise.
36281         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36282         * sysdeps/tile/libm-test-ulps: Likewise.
36283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36285 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
36287         * math/libm-test.inc (print_complex_max_error): Check separately
36288         whether real and imaginary errors are within allowed range and
36289         pass 0 to print_complex_function_ulps instead of value within
36290         allowed range.
36292 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36294         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
36295         formatting.
36296         (get_handles_fopen): Likewise.
36297         (do_write_test): Likewise.
36299         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
36301         * libio/fileops.c (do_ftell): Use cached offset when
36302         available.
36303         * libio/iofwide.c (do_ftell_wide): Likewise.
36304         * libio/iofdopen.c (_IO_new_fdopen): Don't use
36305         _IO_file_attach.
36306         * libio/wfileops.c (_IO_fwide): Don't cache offset.
36308         [BZ #16532]
36309         * libio/libioP.h (get_file_offset): New function.
36310         * libio/fileops.c (get_file_offset): Likewise.
36311         (do_ftell): Likewise.
36312         (_IO_new_file_seekoff): Split out ftell logic.
36313         * libio/wfileops.c (do_ftell_wide): Likewise.
36314         (_IO_wfile_seekoff): Split out ftell logic.
36315         * libio/tst-ftell-active-handler.c: New test case.
36316         * libio/Makefile (tests): Add it.
36318 2014-03-03  Roland McGrath  <roland@hack.frob.com>
36320         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
36321         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
36323 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36325         [BZ #16639]
36326         * nscd/connections.c (nscd_init): Call do_exit.
36327         (start_threads): Call do_exit and notify_parent.
36328         (begin_drop_privileges): Call do_exit.
36329         (finish_drop_privileges): Likewise.
36330         * nscd/selinux.c (preserve_capabilities): Likewise.
36331         (install_real_capabilities): Likewise.
36332         (nscd_selinux_enabled): Likewise.
36333         (avc_create_thread): Likewise.
36334         (avc_alloc_lock): Likewise.
36335         (nscd_avc_init): Likewise.
36336         * nscd/nscd.c (parent_fd): New static variable.
36337         (main): Create a pipe between parent and child processes.
36338         Skip closing parent_fd.
36339         (monitor_child): New function.
36340         (do_exit): Likewise.
36341         (notify_parent): Likewise.
36342         * nscd/nscd.h (notify_parent): Likewise.
36343         (do_exit): Likewise.
36345 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
36347         * malloc/malloc.c (__libc_calloc): Revert last change.
36349 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36353 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36355         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
36356         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
36357         implementation.
36358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36359         (__libc_ifunc_impl_list): Likewise.
36360         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
36361         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
36362         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
36363         * string/strrchr.c: Define STRRCHR.
36365 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
36367         * benchtest/bench-strtok.c (simple_strtok): Delete.
36368         (strtok_string): Use as benchmark.
36369         * string/strtok (STRTOK): New macro.
36371 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
36373         * manual/threads.texi: Add header and standard comments to all
36374         functions.
36376         * elf/dl-lookup.c (check_match): New function.
36377         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
36378         (do_lookup_x): Remove nested function check_match. Use non-nested
36379         function check_match.
36381 2014-02-28  Roland McGrath  <roland@hack.frob.com>
36383         * csu/Makefile (generated, before-compile): Use += rather than =.
36384         * catgets/Makefile (generated, generated-dirs): Likewise.
36385         * debug/Makefile (generated): Likewise.
36386         * dlfcn/Makefile (generated): Likewise.
36387         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
36388         * iconvdata/Makefile (before-compile, generated): Likewise.
36389         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
36390         * libio/Makefile (generated): Likewise.
36391         * malloc/Makefile (generated): Likewise.
36392         * manual/Makefile (generated, generated-dirs): Likewise.
36393         * misc/Makefile (generated): Likewise.
36394         * posix/Makefile (generated): Likewise.
36395         * resolv/Makefile (generated): Likewise.
36396         * sunrpc/Makefile (generated, generated-dirs): Likewise.
36397         * timezone/Makefile (generated, generated-dirs): Likewise.
36399         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
36401 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36403         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36404         power8 implementation.
36405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
36406         file: POWER8 llround ifunc implementation.
36407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
36408         (__lllround): Add POWER8 implementation.
36409         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
36410         POWER8 llround implementation.
36412         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
36413         power8 implementation.
36414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
36415         file: POWER8 llrint ifunc implementation.
36416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
36417         Add POWER8 implementation.
36418         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
36419         POWER8 llrint implementation.
36421         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
36422         power8 implementation.
36423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
36424         file: POWER8 finite ifunc implementation.
36425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
36426         Add POWER8 implementation.
36427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
36428         Likewise.
36429         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
36430         POWER8 finite implementation.
36431         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
36433         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
36434         power8 implementation.
36435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
36436         file: POWER8 isinf ifunc implementation.
36437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
36438         POWER8 implementation.
36439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
36440         Likewise.
36441         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
36442         isinf implementation.
36443         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
36445         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
36446         (INIT_ARCH): Add hwcap2 initialization.
36447         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36448         power8 implementation.
36449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
36450         file: POWER8 isnan ifunc implementation.
36451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
36452         POWER8 implementation.
36453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
36454         Likewise.
36455         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
36456         isnan implementation.
36457         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
36459 2014-02-27  Joey Ye  <joey.ye@arm.com>
36461         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36462         (_FP_NANFRAC_Q): Set to zero.
36464 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36466         [BZ #16623]
36467         * math/auto-libm-test-in: New test inputs.
36468         * math/auto-libm-test-out: Regenerate.
36469         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
36470         and DA.
36471         (__cos): Likewise.
36472         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36474 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
36476         * scripts/evaluate-test.sh: Take new argument indicating whether
36477         failure is expected.
36478         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
36479         indicating whether failure is expected.
36480         * conform/Makefile (test-xfail-run-conformtest): New variable.
36481         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
36482         level.
36483         * posix/Makefile (test-xfail-annexc): New variable.
36484         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
36486 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
36488         * argp/Makefile: Include Makeconfig immediately after defining
36489         subdir.
36490         * assert/Makefile: Likewise.
36491         * benchtests/Makefile: Likewise.
36492         * catgets/Makefile: Likewise.
36493         * conform/Makefile: Likewise.
36494         * crypt/Makefile: Likewise.
36495         * csu/Makefile: Likewise.
36496         (all): Remove target.
36497         * ctype/Makefile: Include Makeconfig immediately after defining
36498         subdir.
36499         * debug/Makefile: Likewise.
36500         * dirent/Makefile: Likewise.
36501         * dlfcn/Makefile: Likewise.
36502         * gmon/Makefile: Likewise.
36503         * gnulib/Makefile: Likewise.
36504         * grp/Makefile: Likewise.
36505         * gshadow/Makefile: Likewise.
36506         * hesiod/Makefile: Likewise.
36507         * hurd/Makefile: Likewise.
36508         (all): Remove target.
36509         * iconvdata/Makefile: Include Makeconfig immediately after
36510         defining subdir.
36511         * inet/Makefile: Likewise.
36512         * intl/Makefile: Likewise.
36513         * io/Makefile: Likewise.
36514         * libio/Makefile: Likewise.
36515         (all): Remove target.
36516         * locale/Makefile: Include Makeconfig immediately after defining
36517         subdir.
36518         * login/Makefile: Likewise.
36519         * mach/Makefile: Likewise.
36520         (all): Remove target.
36521         * malloc/Makefile: Include Makeconfig immediately after defining
36522         subdir.
36523         (all): Remove target.
36524         * manual/Makefile: Include Makeconfig immediately after defining
36525         subdir.
36526         * math/Makefile: Likewise.
36527         * misc/Makefile: Likewise.
36528         * nis/Makefile: Likewise.
36529         * nss/Makefile: Likewise.
36530         * po/Makefile: Likewise.
36531         (all): Remove target.
36532         * posix/Makefile: Include Makeconfig immediately after defining
36533         subdir.
36534         * pwd/Makefile: Likewise.
36535         * resolv/Makefile: Likewise.
36536         * resource/Makefile: Likewise.
36537         * rt/Makefile: Likewise.
36538         * setjmp/Makefile: Likewise.
36539         * shadow/Makefile: Likewise.
36540         * signal/Makefile: Likewise.
36541         * socket/Makefile: Likewise.
36542         * soft-fp/Makefile: Likewise.
36543         * stdio-common/Makefile: Likewise.
36544         * stdlib/Makefile: Likewise.
36545         * streams/Makefile: Likewise.
36546         * string/Makefile: Likewise.
36547         * sunrpc/Makefile: Likewise.
36548         (all): Remove target.
36549         * sysvipc/Makefile: Include Makeconfig immediately after defining
36550         subdir.
36551         * termios/Makefile: Likewise.
36552         * time/Makefile: Likewise.
36553         * timezone/Makefile: Likewise.
36554         (all): Remove target.
36555         * wcsmbs/Makefile: Include Makeconfig immediately after defining
36556         subdir.
36557         * wctype/Makefile: Likewise.
36559 2014-02-26  Steve Ellcey  <sellcey@mips.com>
36561         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
36562         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
36563         (libc_feholdexcept_setround_mips): Ditto.
36564         (libc_feholdsetround): New.
36565         (libc_feholdsetroundf): New.
36566         (libc_feholdsetroundl): New.
36567         (libc_feupdateenv_test_mips): New.
36568         (libc_feupdateenv_test): New.
36569         (libc_feupdateenv_testf): New.
36570         (libc_feupdateenv_testl): New.
36571         (libc_feresetround): New.
36572         (libc_feresetroundf): New.
36573         (libc_feresetroundl): New.
36574         (libc_fetestexcept_mips): New.
36575         (libc_fetestexcept): New.
36576         (libc_fetestexceptf): New.
36577         (libc_fetestexceptl): New.
36578         (HAVE_RM_CTX): New.
36579         (libc_feholdexcept_setround_mips_ctx): New.
36580         (libc_feholdexcept_setround_ctx): New.
36581         (libc_feholdexcept_setroundf_ctx): New.
36582         (libc_feholdexcept_setroundl_ctx): New.
36583         (libc_fesetenv_mips_ctx): New.
36584         (libc_fesetenv_ctx): New.
36585         (libc_fesetenv_ctxf): New.
36586         (libc_fesetenv_ctxl): New.
36587         (libc_feupdateenv_mips_ctx): New.
36588         (libc_feupdateenv_ctx): New.
36589         (libc_feupdateenvf_ctx): New.
36590         (libc_feupdateenvl_ctx): New.
36591         (libc_feholdsetround_mips_ctx): New.
36592         (libc_feholdsetround_ctx): New.
36593         (libc_feholdsetroundf_ctx): New.
36594         (libc_feholdsetroundl_ctx): New.
36595         (libc_feresetround_mips_ctx): New.
36596         (libc_feresetround_ctx): New.
36597         (libc_feresetroundf_ctx): New.
36598         (libc_feresetroundl_ctx): New.
36600 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
36602         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
36604         * manual/ipc.texi: New file.
36605         * manual/Makefile (chapters): Add ipc.
36606         * manual/job.texi: Add "Inter-Process Communication" to next.
36607         * manual/process.texi: Add "Inter-Process Communication" to prev.
36609 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36613 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
36615         * malloc/malloc.c (__libc_calloc): Simplify implementation.
36617         * manual/arith.texi: Fix spaces after sentences.
36618         * manual/charset.texi: Likewise.
36619         * manual/errno.texi: Likewise.
36620         * manual/install.texi: Likewise.
36621         * manual/llio.texi: Likewise.
36622         * manual/locale.texi: Likewise.
36623         * manual/maint.texi: Likewise.
36624         * manual/math.texi: Likewise.
36625         * manual/memory.texi: Likewise.
36626         * manual/message.texi: Likewise.
36627         * manual/probes.texi: Likewise.
36628         * manual/resource.texi: Likewise.
36629         * manual/signal.texi: Likewise.
36630         * manual/socket.texi: Likewise.
36631         * manual/stdio.texi: Likewise.
36632         * manual/string.texi: Likewise.
36633         * manual/time.texi: Likewise.
36634         * manual/users.texi: Likewise.
36636 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
36638         [BZ #16632]
36639         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
36640         _DEFAULT_SOURCE is defined.
36642 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
36643             Carlos O'Donell  <carlos@redhat.com>
36645         [BZ #16613]
36646         * elf/dl-tls.c (_dl_count_modids): New function.
36647         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
36648         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
36649         audit library and increment generation counter.
36650         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
36651         * elf/tst-audit9.c: New file.
36652         * elf/tst-auditmod9a.c: New file.
36653         * elf/tst-auditmod9b.c: New file.
36654         * elf/Makefile: Add rules to build and run tst-audit9.
36656 2014-02-25  Florian Weimer  <fweimer@redhat.com>
36658         [BZ #15347]
36659         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
36661 2014-02-25  Will Newton  <will.newton@linaro.org>
36663         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
36664         (__longjmp): Restore sp and lr before restoring callee
36665         saved registers.  Add longjmp and longjmp_target
36666         SystemTap probe point.
36667         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
36668         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
36669         Define to zero to match jmpbuf layout.
36670         * sysdeps/arm/setjmp.S: Include stap-probe.h.
36671         (__sigsetjmp): Save sp and lr before saving callee
36672         saved registers.  Add setjmp SystemTap probe point.
36674 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36676         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36678 2014-02-24  Andreas Schwab  <schwab@suse.de>
36680         [BZ #15804]
36681         * elf/pldd.c (wait_for_ptrace_stop): New function.
36682         (main): Call it after attaching.
36684 2014-02-22  Roland McGrath  <roland@hack.frob.com>
36686         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
36687         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
36688         Versions files is now verboten.
36689         * hurd/Versions (libc: GLIBC_2.0):
36690         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
36691         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
36692         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
36693         * mach/Versions: Likewise.
36695         * csu/Versions: Remove unused %include.
36696         * resolv/Versions: Likewise.
36698 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
36700         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
36701         ($(objpfx)check-local-headers.out): Likewise.
36702         ($(objpfx)begin-end-check.out): Likewise.
36703         * Makerules (check-abi-%.out): Likewise.
36704         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
36705         ($(objpfx)test2.cat): Likewise.
36706         ($(objpfx)de/libc.cat): Likewise.
36707         ($(objpfx)test-gencat.out): Likewise.
36708         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
36709         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
36710         ($(objpfx)noload-mem): Likewise.
36711         ($(objpfx)tst-pathopt.out): Likewise.
36712         ($(objpfx)tst-rtld-load-self.out): Likewise.
36713         ($(objpfx)tst-array1-cmp.out): Likewise.
36714         ($(objpfx)tst-array1-static-cmp.out): Likewise.
36715         ($(objpfx)tst-array2-cmp.out): Likewise.
36716         ($(objpfx)tst-array3-cmp.out): Likewise.
36717         ($(objpfx)tst-array4-cmp.out): Likewise.
36718         ($(objpfx)tst-array5-cmp.out): Likewise.
36719         ($(objpfx)tst-array5-static-cmp.out): Likewise.
36720         ($(objpfx)check-textrel.out): Likewise.
36721         ($(objpfx)check-execstack.out): Likewise.
36722         ($(objpfx)check-localplt.out): Likewise.
36723         ($(objpfx)order2-cmp.out): Likewise.
36724         ($(objpfx)tst-leaks1-mem): Likewise.
36725         ($(objpfx)tst-leaks1-static-mem): Likewise.
36726         ($(objpfx)tst-initorder-cmp.out): Likewise.
36727         ($(objpfx)tst-initorder2-cmp.out): Likewise.
36728         ($(objpfx)tst-unused-dep.out): Likewise.
36729         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
36730         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36731         * iconv/Makefile (test-iconvconfig): Likewise.
36732         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
36733         ($(objpfx)iconv-test.out): Likewise.
36734         ($(objpfx)tst-tables.out): Likewise.
36735         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
36736         ($(objpfx)tst-gettext.out): Likewise.
36737         ($(objpfx)tst-translit.out): Likewise.
36738         ($(objpfx)tst-gettext2.out): Likewise.
36739         ($(objpfx)tst-gettext4.out): Likewise.
36740         ($(objpfx)tst-gettext6.out): Likewise.
36741         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
36742         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36743         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
36744         ($(objpfx)tst-fopenloc-mem.out): Likewise.
36745         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36746         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
36747         * posix/Makefile ($(objpfx)globtest.out): Likewise.
36748         ($(objpfx)wordexp-tst.out): Likewise.
36749         ($(objpfx)annexc.out): Likewise.
36750         ($(objpfx)tst-fnmatch-mem): Likewise.
36751         ($(objpfx)bug-regex2-mem): Likewise.
36752         ($(objpfx)bug-regex14-mem): Likewise.
36753         ($(objpfx)bug-regex21-mem): Likewise.
36754         ($(objpfx)bug-regex31-mem): Likewise.
36755         ($(objpfx)tst-vfork3-mem): Likewise.
36756         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36757         ($(objpfx)tst-pcre-mem): Likewise.
36758         ($(objpfx)tst-boost-mem): Likewise.
36759         ($(objpfx)tst-getconf.out): Likewise.
36760         ($(objpfx)bug-ga2-mem): Likewise.
36761         ($(objpfx)bug-glob2-mem): Likewise.
36762         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
36763         ($(objpfx)mtrace-tst-leaks2): Likewise.
36764         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
36765         ($(objpfx)tst-printf.out): Likewise.
36766         ($(objpfx)tst-setvbuf1.out): Likewise.
36767         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
36768         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
36769         ($(objpfx)tst-fmtmsg.out): Likewise.
36770         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
36771         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
36773         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
36774         * bits/sigaction.h [__USE_MISC]: Likewise.
36775         * bits/waitstatus.h: Update #endif comments.
36776         * ctype/ctype.h: Likewise.
36777         * dirent/dirent.h: Likewise.
36778         [__USE_MISC]: Remove redundant conditionals.
36779         * grp/grp.h: Update #endif comments.
36780         [__USE_GNU]: Remove redundant conditionals.
36781         [__USE_MISC]: Likewise.
36782         * inet/netinet/in.h [__USE_GNU]: Likewise.
36783         * io/sys/stat.h [__USE_MISC]: Likewise.
36784         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
36785         * libio/bits/stdio.h: Update #endif comments.
36786         [__USE_MISC]: Remove redundant conditionals.
36787         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
36788         * libio/stdio.h: Update #endif comments.
36789         [__USE_MISC]: Remove redundant conditionals.
36790         * math/bits/math-finite.h [__USE_MISC]: Likewise.
36791         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
36792         * math/math.h: Update #else and #endif comments.
36793         [__USE_MISC]: Remove redundant conditionals.
36794         * misc/sys/uio.h: Update #endif comments.
36795         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
36796         * posix/glob.h [__USE_MISC]: Likewise.
36797         * posix/sys/types.h: Update #endif comments.
36798         [__USE_MISC]: Remove redundant conditionals.
36799         * posix/sys/wait.h: Update #endif comments.
36800         [__USE_MISC]: Remove redundant conditionals.
36801         * posix/unistd.h: Update #endif comments.
36802         [__USE_MISC]: Remove redundant conditionals.
36803         * pwd/pwd.h [__USE_GNU]: Likewise.
36804         [__USE_MISC]: Likewise.
36805         * resolv/netdb.h [__USE_GNU]: Likewise.
36806         * signal/signal.h: Update #endif comments.
36807         [__USE_MISC]: Remove redundant conditionals.
36808         * stdlib/stdlib.h: Update #else and #endif comments.
36809         [__USE_MISC]: Remove redundant conditionals.
36810         [__USE_GNU]: Likewise.
36811         * string/bits/string2.h [__USE_MISC]: Likewise.
36812         * string/string.h: Update #endif comments.
36813         [__USE_MISC]: Remove redundant conditionals.
36814         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
36815         Likewise.
36816         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
36817         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
36818         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
36819         Likewise.
36820         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
36821         Likewise.
36822         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
36823         comments.
36824         [__USE_MISC]: Remove redundant conditionals.
36825         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
36826         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
36827         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
36828         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
36829         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
36830         Likewise.
36831         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
36832         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
36833         Likewise.
36834         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
36835         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
36836         Likewise.
36837         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
36838         Likewise.
36839         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
36840         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
36841         Likewise.
36842         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
36843         Likewise.
36844         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
36845         * sysdeps/x86/bits/string.h: Update #endif comments.
36846         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
36847         conditionals.
36848         * time/sys/time.h: Update #endif comments.
36849         * time/time.h: Likewise.
36850         [__USE_MISC]: Remove redundant conditionals.
36852 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
36854         [BZ #16600]
36855         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
36857 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
36859         * Versions.def (librt): Add GLIBC_2.17.
36861 2014-02-21  Adam Conrad  <adconrad@0c3.net>
36863         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
36864         synonym for _SYS_AUXV_H to allow direct inclusion.
36865         * sysdeps/sparc/bits/hwcap.h: Likewise.
36866         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
36867         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
36868         * sysdeps/sparc/sysdep.h: Likewise.
36870 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36872         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
36874 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36876         * benchtests/bench-strrchr.c: Print length instead of position.
36878 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
36880         [BZ #16611]
36881         * sysdeps/unix/sysv/linux/kernel-features.h
36882         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
36883         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
36884         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
36885         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
36886         Likewise.
36887         [__i386__ || __powerpc__ || __sh__ || __sparc__]
36888         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36889         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
36890         (__ASSUME_SENDMMSG): Define instead of using previous
36891         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
36892         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36893         (__ASSUME_SENDMMSG_SYSCALL): Define.
36894         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36895         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
36896         Likewise.
36897         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36898         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36899         Likewise.
36900         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36901         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36902         Likewise.
36903         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
36904         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36905         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36906         [__ASSUME_SENDMMSG]: Change conditionals to
36907         [__ASSUME_SENDMMSG_SOCKETCALL].
36908         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36909         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
36910         Define.
36911         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36912         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
36913         Likewise.
36914         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
36915         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36916         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36917         [!__ASSUME_SENDMMSG]: Change conditional to
36918         [!__ASSUME_SENDMMSG_SOCKETCALL].
36919         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36920         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36921         Define.
36923         [BZ #16610]
36924         * sysdeps/unix/sysv/linux/kernel-features.h
36925         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
36926         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
36927         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
36928         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
36929         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36930         [__i386__ || __sparc__]
36931         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36932         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
36933         (__ASSUME_RECVMMSG): Define instead of using previous
36934         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
36935         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36936         (__ASSUME_RECVMMSG_SYSCALL): Define.
36937         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36938         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36939         Likewise.
36940         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36941         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36942         Likewise.
36943         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36944         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36945         Likewise.
36946         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
36947         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36948         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36949         [__ASSUME_RECVMMSG]: Change condition to
36950         [__ASSUME_RECVMMSG_SOCKETCALL].
36951         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36952         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36953         Define.
36954         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36955         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36956         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36957         Likewise.
36958         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
36959         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36960         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36961         [!__ASSUME_RECVMMSG]: Change condition to
36962         [!__ASSUME_RECVMMSG_SOCKETCALL].
36963         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36964         (__ASSUME_RECVMMSG_SYSCALL): Define.
36966         [BZ #16609]
36967         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
36968         __powerpc__ || __s390__ || __sh__ || __sparc__]
36969         (__ASSUME_SOCKETCALL): Define.
36970         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
36971         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
36972         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
36973         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
36974         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36975         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36976         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
36977         (__ASSUME_ACCEPT4): Define instead of using previous
36978         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
36979         __powerpc__ || __sparc__ || __s390__)] condition.
36980         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36981         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36982         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
36983         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36984         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36985         [!__ASSUME_ACCEPT4]: Change condition to
36986         [!__ASSUME_ACCEPT4_SOCKETCALL].
36987         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36988         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
36989         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
36990         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36991         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
36992         __ASSUME_ACCEPT4_SYSCALL.
36993         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
36994         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
36995         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36996         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
36997         __ASSUME_ACCEPT4_SYSCALL.
36998         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
36999         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37000         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37001         [__ASSUME_ACCEPT4]: Change condition to
37002         [__ASSUME_ACCEPT4_SOCKETCALL].
37003         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37004         (__ASSUME_SOCKETCALL): Define.
37005         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
37006         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37007         (__ASSUME_SOCKETCALL): Define.
37008         (__ASSUME_ACCEPT4): Remove.
37009         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
37010         Define.
37011         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37012         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
37013         Likewise.
37014         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37015         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37017         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
37018         macro.
37019         (HWCAP_ARM_LPAE): Likewise.
37020         (HWCAP_ARM_EVTSTRM): Likewise.
37021         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
37022         Add vpfd32, lpae and evtstrm.
37023         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
37024         Increase to 22.
37026 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
37028         * math/auto-libm-test-in: Add tests of clog10.
37029         * math/auto-libm-test-out: Regenerated.
37030         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
37031         * sysdeps/i386/fpu/libm-test-ulps: Update.
37032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37034 2014-02-18  Andreas Schwab  <schwab@suse.de>
37036         [BZ #16574]
37037         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
37038         Store non-zero if the second buffer was newly allocated.
37039         (send_dg): Likewise.
37040         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
37041         to send_vc and send_dg.
37042         (res_nsend): Pass NULL for ansp2_malloced.
37043         * resolv/res_query.c (__libc_res_nquery): Add parameter
37044         answerp2_malloced and pass it down to __libc_res_nsend.
37045         (res_nquery): Pass additional NULL to __libc_res_nquery.
37046         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
37047         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
37048         second answer buffer if answerp2_malloced was set.
37049         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
37050         (__libc_res_nquerydomain): Add parameter
37051         answerp2_malloced and pass it down to __libc_res_nquery.
37052         (res_nquerydomain): Pass additional NULL to
37053         __libc_res_nquerydomain.
37054         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
37055         additional NULL to __libc_res_nsend and __libc_res_nquery.
37056         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
37057         additional NULL to __libc_res_nsearch.
37058         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
37059         parameter of __libc_res_nsearch to check for separately allocated
37060         second buffer.
37061         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
37062         __libc_res_nquery.
37063         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
37064         additional NULL to __libc_res_nquery.
37065         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
37066         __libc_res_nsearch.
37067         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
37068         * include/resolv.h: Update prototypes of __libc_res_nquery,
37069         __libc_res_nsearch, __libc_res_nsend.
37071 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
37073         * math/auto-libm-test-in: Add tests of fma.
37074         * math/auto-libm-test-out: Regenerated.
37075         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
37076         (fma_towardzero_test_data): Likewise.
37077         (fma_downward_test_data): Likewise.
37078         (fma_upward_test_data): Likewise.
37079         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
37080         mpc_mode.
37081         (rounding_modes): Add values for new field.
37082         (func_calc_method): Add value mpfr_fff_f.
37083         (func_calc_desc): Add mpfr_fff_f union field.
37084         (test_function): Add field exact_args.
37085         (FUNC): Add macro argument EXACT_ARGS.
37086         (FUNC_mpfr_f_f): Update call to FUNC.
37087         (FUNC_mpfr_f_f): Likewise.
37088         (FUNC_mpfr_ff_f): Likewise.
37089         (FUNC_mpfr_if_f): Likewise.
37090         (FUNC_mpc_c_f): Likewise.
37091         (FUNC_mpc_c_c): Likewise.
37092         (test_functions): Add fma.  Update calls to FUNC.
37093         (handle_input_arg): Add argument exact_args.
37094         (add_test): Update call to handle_input_arg.
37095         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
37096         (output_for_one_input_case): Update call to calc_generic_results.
37097         Recalculate exact zero results in each rounding mode.
37099         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
37100         non-negative before setting low bit.
37101         * math/auto-libm-test-in: Mark one asin test possibly having
37102         spurious underflow.
37103         * math/auto-libm-test-out: Regenerated.
37104         * sysdeps/i386/fpu/libm-test-ulps: Update.
37105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37107 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
37109         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
37110         * sysdeps/unix/sysv/linux/microblaze: Move directory from
37111         ports/sysdeps/unix/sysv/linux/microblaze.
37112         * README: Add missing listing for microblaze*-*-linux-gnu.
37114 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
37116         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
37117         duplicate code
37119 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
37121         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
37122         * sysdeps/unix/sysv/linux/ia64: Move directory from
37123         ports/sysdeps/unix/sysv/linux/ia64.
37124         * README: Update listing for ia64-*-linux-gnu.
37126 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
37127             Joseph Myers  <joseph@codesourcery.com>
37129         * Makeconfig (test-name): New variable.
37130         (evaluate-test): Likewise.
37131         * Makerules (do-test-clean): Remove .test-result files.
37132         (common-mostlyclean): Likewise.
37133         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
37134         * scripts/evaluate-test.sh: New file.
37136 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
37138         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
37139         separate $(objpfx)tst-fopenloc-cmp.out and
37140         $(objpfx)tst-fopenloc-mem.out targets.
37141         (tests): Update dependencies.
37142         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
37143         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
37144         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
37145         (tst-rxspencer-no-utf8-ARGS): New variable.
37146         (tst-rxspencer-no-utf8-ENV): Likewise.
37147         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
37148         instead of $(objpfx)tst-rxspencer-mem.
37149         ($(objpfx)tst-rxspencer-mem): Change target to
37150         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
37151         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
37152         * posix/tst-rxspencer-no-utf8.c: New file.
37154         * elf/Makefile ($(objpfx)order.out): Remove rule.
37155         [$(run-built-tests) = yes] (tests): Depend on
37156         $(objpfx)order-cmp.out.
37157         ($(objpfx)order-cmp.out): New rule.
37158         [$(run-built-tests) = yes] (tests): Depend on
37159         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
37160         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
37161         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
37162         $(objpfx)tst-array5-static-cmp.out.
37163         ($(objpfx)tst-array1.out): Remove rule.
37164         ($(objpfx)tst-array1-cmp.out): New rule.
37165         ($(objpfx)tst-array1-static.out): Remove rule.
37166         ($(objpfx)tst-array1-static-cmp.out): New rule.
37167         ($(objpfx)tst-array2.out): Remove rule.
37168         ($(objpfx)tst-array2-cmp.out): New rule.
37169         ($(objpfx)tst-array3.out): Remove rule.
37170         ($(objpfx)tst-array3-cmp.out): New rule.
37171         ($(objpfx)tst-array4.out): Remove rule.
37172         ($(objpfx)tst-array4-cmp.out): New rule.
37173         ($(objpfx)tst-array5.out): Remove rule.
37174         ($(objpfx)tst-array5-cmp.out): New rule.
37175         ($(objpfx)tst-array5-static.out): Remove rule.
37176         ($(objpfx)tst-array5-static-cmp.out): New rule.
37177         [$(run-built-tests) = yes] (tests): Depend on
37178         $(objpfx)order2-cmp.out.
37179         ($(objpfx)order2.out): Remove rule.
37180         ($(objpfx)order2-cmp.out): New rule.
37181         ($(objpfx)tst-initorder.out): Remove rule.
37182         [$(run-built-tests) = yes] (tests): Depend on
37183         $(objpfx)tst-initorder-cmp.out.
37184         ($(objpfx)tst-initorder-cmp.out): New rule.
37185         ($(objpfx)tst-initorder2.out): Remove rule.
37186         [$(run-built-tests) = yes] (tests): Depend on
37187         $(objpfx)tst-initorder2-cmp.out.
37188         ($(objpfx)tst-initorder2-cmp.out): New rule.
37189         [$(run-built-tests) = yes] (tests): Depend on
37190         $(objpfx)tst-unused-dep-cmp.out.
37191         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
37192         ($(objpfx)tst-unused-dep-cmp.out): New rule.
37193         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
37194         on $(objpfx)tst-setvbuf1-cmp.out.
37195         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
37196         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
37197         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
37198         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
37199         ($(objpfx)tst-svc.out): Remove rule.
37200         ($(objpfx)tst-svc-cmp.out): New rule.
37202 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
37204         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
37205         * ctype/ctype.h [__USE_MISC]: Likewise.
37206         * dirent/dirent.h [__USE_MISC]: Likewise.
37207         * grp/grp.h [__USE_MISC]: Likewise.
37208         * io/fcntl.h [__USE_MISC]: Likewise.
37209         * io/sys/stat.h [__USE_MISC]: Likewise.
37210         * libio/stdio.h [__USE_MISC]: Likewise.
37211         * posix/unistd.h [__USE_MISC]: Likewise.
37212         * pwd/pwd.h [__USE_MISC]: Likewise.
37213         * stdlib.h [__USE_MISC]: Likewise.
37214         * string/bits/string2.h [__USE_MISC]: Likewise.
37215         * string/string.h [__USE_MISC]: Likewise.
37216         * time/time.h [__USE_MISC]: Likewise.
37218 2014-02-13  Andreas Schwab  <schwab@suse.de>
37220         [BZ #16574]
37221         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
37222         second answer buffer if it was separately allocated.
37224 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
37226         * sysdeps/mips/math-tests.h: Include <features.h>.
37227         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37228         (ROUNDING_TESTS_long_double): Do not define.
37229         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37230         (EXCEPTION_TESTS_long_double): Likewise.
37231         * sysdeps/mips/mips64/libm-test-ulps: Update.
37233         * include/features.h (__USE_BSD): Remove macro definitions.
37234         (__USE_SVID): Likewise.
37235         (_BSD_SOURCE): Likewise.
37236         (_SVID_SOURCE): Likewise.
37237         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
37238         from definition of _DEFAULT_SOURCE.
37239         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
37240         [_DEFAULT_SOURCE].
37241         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
37242         * bits/mman.h [__USE_BSD]: Likewise.
37243         * bits/termios.h [__USE_BSD]: Likewise.
37244         * bits/waitstatus.h [__USE_BSD]: Likewise.
37245         * ctype/ctype.h [__USE_SVID]: Likewise.
37246         * dirent/dirent.h [__USE_BSD]: Likewise.
37247         * grp/grp.h [__USE_SVID]: Likewise.
37248         [__USE_BSD]: Likewise.
37249         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
37250         * io/fcntl.h [__USE_BSD]: Likewise.
37251         * io/ftw.h [__USE_BSD]: Likewise.
37252         * io/sys/stat.h [__USE_BSD]: Likewise.
37253         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
37254         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
37255         * libio/stdio.h [__USE_SVID]: Likewise.
37256         [__USE_BSD]: Likewise.
37257         * math/math.h [__USE_SVID]: Likewise.
37258         [__USE_BSD]: Likewise.
37259         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
37260         * misc/bits/syslog.h [__USE_BSD]: Likewise.
37261         * misc/search.h [__USE_SVID]: Likewise.
37262         * misc/sys/mman.h [__USE_BSD]: Likewise.
37263         * misc/sys/syslog.h [__USE_BSD]: Likewise.
37264         * misc/sys/uio.h [__USE_BSD]: Likewise.
37265         * posix/bits/unistd.h [__USE_BSD]: Likewise.
37266         * posix/glob.h [__USE_BSD]: Likewise.
37267         * posix/regex.h [__USE_BSD]: Likewise.
37268         * posix/sys/types.h [__USE_BSD]: Likewise.
37269         [__USE_SVID]: Likewise.
37270         * posix/sys/utsname.h [__USE_SVID]: Likewise.
37271         * posix/sys/wait.h [__USE_BSD]: Likewise.
37272         [__USE_SVID]: Likewise.
37273         * posix/unistd.h [__USE_BSD]: Likewise.
37274         [__USE_SVID]: Likewise.
37275         * pwd/pwd.h [__USE_SVID]: Likewise.
37276         * resolv/netdb.h [__USE_BSD]: Likewise.
37277         * setjmp/setjmp.h [__USE_BSD]: Likewise.
37278         * signal/signal.h [__USE_BSD]: Likewise.
37279         [__USE_SVID]: Likewise.
37280         * socket/sys/socket.h [__USE_BSD]: Likewise.
37281         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
37282         * stdlib/stdlib.h [__USE_BSD]: Likewise.
37283         [__USE_SVID]: Likewise.
37284         * string/bits/string2.h [__USE_BSD]: Likewise.
37285         [__USE_SVID]: Likewise.
37286         * string/bits/string3.h [__USE_BSD]: Likewise.
37287         * string/endian.h [__USE_BSD]: Likewise.
37288         * string/string.h [__USE_SVID]: Likewise.
37289         [__USE_BSD]: Likewise.
37290         * string/strings.h [__USE_BSD]: Likewise.
37291         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
37292         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
37293         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
37294         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
37295         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
37296         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
37297         Likewise.
37298         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
37299         Likewise.
37300         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
37301         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
37302         Likewise.
37303         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
37304         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
37305         Likewise.
37306         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
37307         Likewise.
37308         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
37309         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
37310         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
37311         Likewise.
37312         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
37313         Likewise.
37314         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
37315         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
37316         * termios/termios.h [__USE_BSD]: Likewise.
37317         * time/sys/time.h [__USE_BSD]: Likewise.
37318         * time/time.h [__USE_BSD]: Likewise.
37319         [__USE_SVID]: Likewise.
37321         * Makefile (subdir_targets): Remove subdir_lint.out.
37323         * stdio-common/Makefile (do-tst-unbputc): Remove target.
37324         (do-tst-printf): Likewise.
37325         (tests): Depend directly on $(objpfx)tst-unbputc.out and
37326         $(objpfx)tst-printf.out.
37328         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
37330         * Makerules (check-abi-%): Change target to
37331         $(objpfx)check-abi-%.out.
37332         (check-abi target): Update dependencies.
37333         (check-abi-pattern variable): Redirect output of diff to $@.
37334         (check-abi variable): Likewise.
37335         * elf/Makefile (check-abi): Update dependencies.
37337         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
37338         unused.
37339         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
37340         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
37341         subnormal range.
37342         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
37343         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
37344         value has largest subnormal exponent.
37345         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
37346         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
37347         * sysdeps/aarch64/soft-fp/sfp-machine.h
37348         (_FP_TININESS_AFTER_ROUNDING): New macro.
37349         * sysdeps/alpha/soft-fp/sfp-machine.h
37350         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37351         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37352         Likewise.
37353         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
37354         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37355         * sysdeps/mips/soft-fp/sfp-machine.h
37356         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37357         * sysdeps/powerpc/soft-fp/sfp-machine.h
37358         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37359         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37360         Likewise.
37361         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37362         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37363         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37364         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37365         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37366         Likewise.
37368 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
37370         [BZ #16545]
37371         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
37372         model 1.
37374 2014-02-12  Richard Henderson  <rth@redhat.com>
37376         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
37377         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
37378         * sysdeps/unix/sysv/linux/alpha: Move directory from
37379         ports/sysdeps/unix/sysv/linux/alpha.
37380         * README: Update listing for alpha-*-linux-gnu.
37382 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
37384         * include/features.h: Update comment documenting feature test
37385         macros.
37386         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
37387         _DEFAULT_SOURCE.
37388         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
37389         (_SVID_SOURCE): Likewise.
37390         (_DEFAULT_SOURCE): Update description of default features.
37391         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
37392         with _GNU_SOURCE.
37393         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
37394         (S_ISVTX): Likewise.
37395         * manual/math.texi (Mathematical Constants): Likewise.
37396         * manual/signal.texi (Interrupted Primitives): Likewise.
37397         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
37398         * math/test-matherr.c (_SVID_SOURCE): Do not define.
37399         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
37400         Don't refer to _SVID_SOURCE in warning text.
37402         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37404         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
37405         already defined.
37406         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
37407         * sysdeps/mips/dl-lookup.c: Remove.
37408         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
37410 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37412         [BZ #16447]
37413         * math/auto-libm-test-in: Add testcase for expl.
37414         * math/auto-libm-test-out: Regenerate.
37415         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
37416         calculation of unsafe.
37417         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
37419 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37421         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
37422         * sysdeps/unix/sysv/linux/aarch64: Move directory from
37423         ports/sysdeps/unix/sysv/linux/aarch64.
37424         * README: Update listing for aarch64*-*-linux-gnu.
37426 2014-02-11  Will Newton  <will.newton@linaro.org>
37428         * manual/probes.texi (Mathematical Function Probes): Use
37429         "triggered" instead of "hit".
37431         * manual/probes.texi (Internal Probes): Add documentation
37432         of setjmp, longjmp and longjmp_target probes.
37434         * include/stap-probe.h: Add comment about probe argument
37435         format.
37437         * malloc/mtrace.c (attribute_hidden): Remove unused macro
37438         definition.  (tr_where, tr_freehook, tr_mallochook,
37439         tr_reallochook, tr_memalignhook): Use ANSI protoype.
37441 2014-02-11  David S. Miller  <davem@davemloft.net>
37443         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
37444         processing int_tests.
37446 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
37448         * sysdeps/mips: Move directory from ports/sysdeps/mips.
37449         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
37450         * sysdeps/unix/sysv/linux/mips: Move directory from
37451         ports/sysdeps/unix/sysv/linux/mips.
37452         * README: Update listing for mips-*-linux-gnu and
37453         mips64-*-linux-gnu.
37455 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
37457         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
37458         * sysdeps/unix/sysv/linux/m68k: Move directory from
37459         ports/sysdeps/unix/sysv/linux/m68k.
37460         * README: Update listing for m68k-*-linux-gnu.
37462 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
37464         * sysdeps/tile: Move directory from ports/sysdeps/tile.
37465         * sysdeps/unix/sysv/linux/generic: Move directory from
37466         ports/sysdeps/unix/sysv/linux/generic.
37467         * sysdeps/unix/sysv/linux/tile: Move directory from
37468         ports/sysdeps/unix/sysv/linux/tile.
37469         * README: Update listing for tile*-*-linux-gnu.
37471 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
37473         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
37474         __builtin_expect.
37475         * benchtests/bench-memmem.c (simple_memmem): Likewise.
37476         * catgets/open_catalog.c (__open_catalog): Likewise.
37477         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
37478         * debug/confstr_chk.c: Likewise.
37479         * debug/fread_chk.c (__fread_chk): Likewise.
37480         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
37481         * debug/getgroups_chk.c: Likewise.
37482         * debug/mbsnrtowcs_chk.c: Likewise.
37483         * debug/mbsrtowcs_chk.c: Likewise.
37484         * debug/mbstowcs_chk.c: Likewise.
37485         * debug/memcpy_chk.c: Likewise.
37486         * debug/memmove_chk.c: Likewise.
37487         * debug/mempcpy_chk.c: Likewise.
37488         * debug/memset_chk.c: Likewise.
37489         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
37490         * debug/strcat_chk.c (__strcat_chk): Likewise.
37491         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
37492         * debug/strncat_chk.c (__strncat_chk): Likewise.
37493         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
37494         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
37495         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
37496         * debug/wcpncpy_chk.c: Likewise.
37497         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37498         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
37499         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
37500         * debug/wcsncpy_chk.c: Likewise.
37501         * debug/wcsnrtombs_chk.c: Likewise.
37502         * debug/wcsrtombs_chk.c: Likewise.
37503         * debug/wcstombs_chk.c: Likewise.
37504         * debug/wmemcpy_chk.c: Likewise.
37505         * debug/wmemmove_chk.c: Likewise.
37506         * debug/wmempcpy_chk.c: Likewise.
37507         * debug/wmemset_chk.c: Likewise.
37508         * dirent/scandirat.c (SCANDIRAT): Likewise.
37509         * dlfcn/dladdr1.c (dladdr1): Likewise.
37510         * dlfcn/dladdr.c (dladdr): Likewise.
37511         * dlfcn/dlclose.c (dlclose_doit): Likewise.
37512         * dlfcn/dlerror.c (__dlerror): Likewise.
37513         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
37514         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
37515         * dlfcn/dlopen.c (dlopen_doit): Likewise.
37516         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
37517         * dlfcn/dlsym.c (dlsym_doit): Likewise.
37518         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
37519         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
37520         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
37521         Likewise.
37522         * elf/dl-conflict.c: Likewise.
37523         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
37524         * elf/dl-dst.h: Likewise.
37525         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
37526         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
37527         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
37528         * elf/dl-init.c (call_init, _dl_init): Likewise.
37529         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
37530         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
37531         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
37532         Likewise.
37533         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
37534         Likewise.
37535         * elf/dl-minimal.c (__libc_memalign): Likewise.
37536         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
37537         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
37538         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
37539         * elf/dl-sym.c (do_sym): Likewise.
37540         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
37541         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
37542         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
37543         * elf/dl-writev.h (_dl_writev): Likewise.
37544         * elf/ldconfig.c (search_dir): Likewise.
37545         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
37546         (dl_main): Likewise.
37547         * elf/setup-vdso.h (setup_vdso): Likewise.
37548         * grp/compat-initgroups.c (compat_call): Likewise.
37549         * grp/fgetgrent.c (fgetgrent): Likewise.
37550         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
37551         * grp/putgrent.c (putgrent): Likewise.
37552         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37553         Likewise.
37554         * hurd/hurdinit.c: Likewise.
37555         * iconvdata/8bit-gap.c (struct): Likewise.
37556         * iconvdata/ansi_x3.110.c : Likewise.
37557         * iconvdata/big5.c : Likewise.
37558         * iconvdata/big5hkscs.c : Likewise.
37559         * iconvdata/cp1255.c: Likewise.
37560         * iconvdata/cp1258.c : Likewise.
37561         * iconvdata/cp932.c : Likewise.
37562         * iconvdata/euc-cn.c: Likewise.
37563         * iconvdata/euc-jisx0213.c : Likewise.
37564         * iconvdata/euc-jp.c: Likewise.
37565         * iconvdata/euc-jp-ms.c : Likewise.
37566         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
37567         * iconvdata/gb18030.c : Likewise.
37568         * iconvdata/gbbig5.c (const): Likewise.
37569         * iconvdata/gbgbk.c: Likewise.
37570         * iconvdata/gbk.c : Likewise.
37571         * iconvdata/ibm1364.c : Likewise.
37572         * iconvdata/ibm930.c : Likewise.
37573         * iconvdata/ibm932.c: Likewise.
37574         * iconvdata/ibm933.c : Likewise.
37575         * iconvdata/ibm935.c : Likewise.
37576         * iconvdata/ibm937.c : Likewise.
37577         * iconvdata/ibm939.c : Likewise.
37578         * iconvdata/ibm943.c: Likewise.
37579         * iconvdata/iso_11548-1.c: Likewise.
37580         * iconvdata/iso-2022-cn.c : Likewise.
37581         * iconvdata/iso-2022-cn-ext.c : Likewise.
37582         * iconvdata/iso-2022-jp-3.c: Likewise.
37583         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
37584         * iconvdata/iso-2022-kr.c : Likewise.
37585         * iconvdata/iso646.c (gconv_end): Likewise.
37586         * iconvdata/iso_6937-2.c : Likewise.
37587         * iconvdata/iso_6937.c : Likewise.
37588         * iconvdata/iso8859-1.c: Likewise.
37589         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
37590         * iconvdata/shift_jisx0213.c : Likewise.
37591         * iconvdata/sjis.c : Likewise.
37592         * iconvdata/t.61.c : Likewise.
37593         * iconvdata/tcvn5712-1.c : Likewise.
37594         * iconvdata/tscii.c: Likewise.
37595         * iconvdata/uhc.c : Likewise.
37596         * iconvdata/unicode.c (gconv_end): Likewise.
37597         * iconvdata/utf-16.c (gconv_end): Likewise.
37598         * iconvdata/utf-32.c (gconv_end): Likewise.
37599         * iconvdata/utf-7.c (base64): Likewise.
37600         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
37601         * iconv/gconv_close.c (__gconv_close): Likewise.
37602         * iconv/gconv_open.c (__gconv_open): Likewise.
37603         * iconv/gconv_simple.c (internal_ucs4_loop_single)
37604         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
37605         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
37606         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
37607         (ucs4le_internal_loop_single): Likewise.
37608         * iconv/iconv.c (iconv): Likewise.
37609         * iconv/iconv_close.c: Likewise.
37610         * iconv/loop.c (SINGLE): Likewise.
37611         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
37612         * include/atomic.h: Likewise.
37613         * inet/inet6_option.c (option_alloc): Likewise.
37614         * intl/bindtextdom.c (set_binding_values): Likewise.
37615         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
37616         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
37617         * intl/localealias.c (read_alias_file): Likewise.
37618         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
37619         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
37620         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
37621         * libio/fmemopen.c (fmemopen): Likewise.
37622         * libio/iofgets.c (_IO_fgets): Likewise.
37623         * libio/iofgets_u.c (fgets_unlocked): Likewise.
37624         * libio/iofgetws.c (fgetws): Likewise.
37625         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
37626         * libio/iogetdelim.c (_IO_getdelim): Likewise.
37627         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
37628         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
37629         * locale/findlocale.c (_nl_find_locale): Likewise.
37630         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37631         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
37632         Likewise.
37633         * locale/setlocale.c (setlocale): Likewise.
37634         * login/programs/pt_chown.c (main): Likewise.
37635         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
37636         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
37637         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
37638         (mmap, mmap64, mremap, munmap): Likewise.
37639         * math/e_exp2l.c: Likewise.
37640         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
37641         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
37642         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
37643         * math/s_catan.c (__catan): Likewise.
37644         * math/s_catanf.c (__catanf): Likewise.
37645         * math/s_catanh.c (__catanh): Likewise.
37646         * math/s_catanhf.c (__catanhf): Likewise.
37647         * math/s_catanhl.c (__catanhl): Likewise.
37648         * math/s_catanl.c (__catanl): Likewise.
37649         * math/s_ccosh.c (__ccosh): Likewise.
37650         * math/s_ccoshf.c (__ccoshf): Likewise.
37651         * math/s_ccoshl.c (__ccoshl): Likewise.
37652         * math/s_cexp.c (__cexp): Likewise.
37653         * math/s_cexpf.c (__cexpf): Likewise.
37654         * math/s_cexpl.c (__cexpl): Likewise.
37655         * math/s_clog10.c (__clog10): Likewise.
37656         * math/s_clog10f.c (__clog10f): Likewise.
37657         * math/s_clog10l.c (__clog10l): Likewise.
37658         * math/s_clog.c (__clog): Likewise.
37659         * math/s_clogf.c (__clogf): Likewise.
37660         * math/s_clogl.c (__clogl): Likewise.
37661         * math/s_csin.c (__csin): Likewise.
37662         * math/s_csinf.c (__csinf): Likewise.
37663         * math/s_csinh.c (__csinh): Likewise.
37664         * math/s_csinhf.c (__csinhf): Likewise.
37665         * math/s_csinhl.c (__csinhl): Likewise.
37666         * math/s_csinl.c (__csinl): Likewise.
37667         * math/s_csqrt.c (__csqrt): Likewise.
37668         * math/s_csqrtf.c (__csqrtf): Likewise.
37669         * math/s_csqrtl.c (__csqrtl): Likewise.
37670         * math/s_ctan.c (__ctan): Likewise.
37671         * math/s_ctanf.c (__ctanf): Likewise.
37672         * math/s_ctanh.c (__ctanh): Likewise.
37673         * math/s_ctanhf.c (__ctanhf): Likewise.
37674         * math/s_ctanhl.c (__ctanhl): Likewise.
37675         * math/s_ctanl.c (__ctanl): Likewise.
37676         * math/w_pow.c: Likewise.
37677         * math/w_powf.c: Likewise.
37678         * math/w_powl.c: Likewise.
37679         * math/w_scalb.c (sysv_scalb): Likewise.
37680         * math/w_scalbf.c (sysv_scalbf): Likewise.
37681         * math/w_scalbl.c (sysv_scalbl): Likewise.
37682         * misc/error.c (error_tail): Likewise.
37683         * misc/pselect.c (__pselect): Likewise.
37684         * nis/nis_callback.c (__nis_create_callback): Likewise.
37685         * nis/nis_call.c (__nisfind_server): Likewise.
37686         * nis/nis_creategroup.c (nis_creategroup): Likewise.
37687         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
37688         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
37689         * nis/nis_getservlist.c (nis_getservlist): Likewise.
37690         * nis/nis_lookup.c (nis_lookup): Likewise.
37691         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
37692         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
37693         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
37694         * nis/nis_xdr.c (xdr_endpoint): Likewise.
37695         * nis/nss_compat/compat-grp.c (getgrent_next_file)
37696         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
37697         * nis/nss_compat/compat-initgroups.c (add_group)
37698         (internal_getgrent_r): Likewise.
37699         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
37700         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
37701         * nis/nss_compat/compat-spwd.c (getspent_next_file)
37702         (internal_getspnam_r): Likewise.
37703         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
37704         (_nss_nis_getaliasbyname_r): Likewise.
37705         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
37706         (_nss_nis_getntohost_r): Likewise.
37707         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
37708         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
37709         (_nss_nis_getgrgid_r): Likewise.
37710         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
37711         (internal_nis_gethostent_r, internal_gethostbyname2_r)
37712         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
37713         (_nss_nis_gethostbyname4_r): Likewise.
37714         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
37715         (initgroups_netid): Likewise.
37716         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
37717         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
37718         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
37719         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
37720         (_nss_nis_getprotobynumber_r): Likewise.
37721         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
37722         (_nss_nis_getsecretkey): Likewise.
37723         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
37724         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
37725         (_nss_nis_getpwuid_r): Likewise.
37726         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
37727         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
37728         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
37729         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
37730         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
37731         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
37732         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
37733         Likewise.
37734         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
37735         (_nss_nisplus_getntohost_r): Likewise.
37736         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
37737         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
37738         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
37739         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
37740         Likewise.
37741         * nis/nss_nisplus/nisplus-initgroups.c
37742         (_nss_nisplus_initgroups_dyn): Likewise.
37743         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
37744         (_nss_nisplus_getnetbyaddr_r): Likewise.
37745         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
37746         (_nss_nisplus_getprotobynumber_r): Likewise.
37747         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
37748         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
37749         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
37750         Likewise.
37751         * nis/nss_nisplus/nisplus-service.c
37752         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
37753         (_nss_nisplus_getservbyport_r): Likewise.
37754         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
37755         (_nss_nisplus_getspnam_r): Likewise.
37756         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
37757         Likewise.
37758         * nscd/aicache.c (addhstaiX): Likewise.
37759         * nscd/cache.c (cache_search, prune_cache): Likewise.
37760         * nscd/connections.c (register_traced_file, send_ro_fd)
37761         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
37762         (main_loop_epoll): Likewise.
37763         * nscd/grpcache.c (addgrbyX): Likewise.
37764         * nscd/hstcache.c (addhstbyX): Likewise.
37765         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37766         * nscd/mem.c (gc, mempool_alloc): Likewise.
37767         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
37768         (addinnetgrX): Likewise.
37769         * nscd/nscd-client.h (__nscd_acquire_maplock)
37770         (__nscd_drop_map_ref): Likewise.
37771         * nscd/nscd_getai.c (__nscd_getai): Likewise.
37772         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37773         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
37774         Likewise.
37775         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
37776         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37777         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
37778         (__nscd_get_map_ref): Likewise.
37779         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
37780         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
37781         Likewise.
37782         * nscd/pwdcache.c (addpwbyX): Likewise.
37783         * nscd/selinux.c (preserve_capabilities): Likewise.
37784         * nscd/servicescache.c (addservbyX): Likewise.
37785         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
37786         * posix/fnmatch.c (fnmatch): Likewise.
37787         * posix/getopt.c (_getopt_internal_r): Likewise.
37788         * posix/glob.c (glob, glob_in_dir): Likewise.
37789         * posix/wordexp.c (exec_comm_child): Likewise.
37790         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
37791         (getanswer_r, gaih_getanswer_slice): Likewise.
37792         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
37793         * resolv/res_init.c: Likewise.
37794         * resolv/res_mkquery.c (res_nmkquery): Likewise.
37795         * resolv/res_query.c (__libc_res_nquery): Likewise.
37796         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
37797         Likewise.
37798         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
37799         * stdio-common/perror.c (perror): Likewise.
37800         * stdio-common/printf_fp.c (___printf_fp): Likewise.
37801         * stdio-common/tmpnam.c (tmpnam): Likewise.
37802         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
37803         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
37804         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
37805         Likewise.
37806         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
37807         * stdlib/putenv.c (putenv): Likewise.
37808         * stdlib/setenv.c (__add_to_environ): Likewise.
37809         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
37810         * stdlib/strtol_l.c (INTERNAL): Likewise.
37811         * string/memmem.c (memmem): Likewise.
37812         * string/strerror.c (strerror): Likewise.
37813         * string/strnlen.c (__strnlen): Likewise.
37814         * string/test-memmem.c (simple_memmem): Likewise.
37815         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
37816         * sunrpc/pm_getport.c (__get_socket): Likewise.
37817         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
37818         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
37819         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
37820         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
37821         Likewise.
37822         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
37823         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
37824         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37825         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
37826         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37827         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
37828         Likewise.
37829         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
37830         Likewise.
37831         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37832         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37833         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37834         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37835         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
37836         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
37837         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37838         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
37839         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37840         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
37841         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37842         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
37843         Likewise.
37844         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
37845         Likewise.
37846         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
37847         Likewise.
37848         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
37849         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37850         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
37851         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
37852         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
37853         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
37854         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37855         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
37856         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
37857         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
37858         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
37859         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37860         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37861         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
37862         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37863         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37864         Likewise.
37865         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
37866         Likewise.
37867         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
37868         Likewise.
37869         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
37870         Likewise.
37871         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37872         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37873         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
37874         Likewise.
37875         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
37876         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
37877         * sysdeps/posix/opendir.c (__opendirat): Likewise.
37878         * sysdeps/posix/sleep.c: Likewise.
37879         * sysdeps/posix/tempname.c: Likewise.
37880         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
37881         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37882         Likewise.
37883         * sysdeps/powerpc/powerpc32/dl-machine.h
37884         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
37885         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37886         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37887         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
37888         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
37889         Likewise.
37890         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
37891         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
37892         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37893         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
37894         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37895         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
37896         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
37897         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
37898         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37899         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
37900         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
37901         (elf_machine_lazy_rel): Likewise.
37902         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37903         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
37904         (elf_machine_lazy_rel): Likewise.
37905         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
37906         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
37907         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
37908         * sysdeps/unix/grantpt.c (grantpt): Likewise.
37909         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
37910         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
37911         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
37912         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37913         Likewise.
37914         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
37915         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
37916         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
37917         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
37918         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37919         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37920         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
37921         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
37922         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
37923         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37924         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37925         Likewise.
37926         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
37927         (__posix_fallocate64_l64): Likewise.
37928         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
37929         (posix_fallocate): Likewise.
37930         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
37931         Likewise.
37932         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37933         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
37934         (getifaddrs_internal): Likewise.
37935         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
37936         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
37937         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
37938         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37939         * sysdeps/unix/sysv/linux/posix_fallocate64.c
37940         (__posix_fallocate64_l64): Likewise.
37941         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37942         Likewise.
37943         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
37944         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
37945         (__get_clockfreq): Likewise.
37946         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
37947         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
37948         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
37949         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37950         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37951         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
37952         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
37953         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
37954         Likewise.
37955         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
37956         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
37957         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
37958         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
37959         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37960         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
37961         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
37962         Likewise.
37963         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37964         (posix_fallocate): Likewise.
37965         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37966         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
37967         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
37968         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
37969         (elf_machine_rela, elf_machine_rela_relative)
37970         (elf_machine_lazy_rel): Likewise.
37971         * time/asctime.c (asctime_internal): Likewise.
37972         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
37973         * time/tzset.c (__tzset_parse_tz): Likewise.
37974         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37975         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37976         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
37977         * wcsmbs/wcsmbsload.h: Likewise.
37979         [BZ #15894]
37980         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
37982         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
37983         (arena_get2): Remove THREAD_STATS conditionals.
37984         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
37985         (__malloc_stats, int): Likewise.
37987 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
37989         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
37990         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
37992         * manual/setjmp.texi: Fix typos/grammar errors.
37994         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
37995         Only return early when n is <= 0.  Delete unused return statement.
37997         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
37998         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
37999         * debug/tst-longjmp_chk3.c: New file.
38001         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
38002         (test_main): Replace code with set_fortify_handler call.
38003         * debug/test-strcpy_chk.c: Likewise.
38004         * debug/tst-chk1.c: Likewise.
38005         * debug/tst-longjmp_chk.c: Likewise.
38006         * test-skeleton.c: Include fcntl.h & paths.h
38007         (set_fortify_handler): Define.
38009         * debug/tst-longjmp_chk.c: Add header comment and include
38010         ../test-skeleton.c.
38011         (do_test): Mark static.
38012         (TEST_FUNCTION): Define.
38014         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
38015         (IP_PMTUDISC_INTERFACE): Likewise.
38016         (IP_MULTICAST_IF): Likewise.
38017         (IP_MULTICAST_TTL): Likewise.
38018         (IP_MULTICAST_LOOP): Likewise.
38019         (IP_ADD_MEMBERSHIP): Likewise.
38020         (IP_DROP_MEMBERSHIP): Likewise.
38021         (IP_UNBLOCK_SOURCE): Likewise.
38022         (IP_BLOCK_SOURCE): Likewise.
38023         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
38024         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
38025         (IP_MSFILTER): Likewise.
38026         (MCAST_JOIN_GROUP): Likewise.
38027         (MCAST_BLOCK_SOURCE): Likewise.
38028         (MCAST_UNBLOCK_SOURCE): Likewise.
38029         (MCAST_LEAVE_GROUP): Likewise.
38030         (MCAST_JOIN_SOURCE_GROUP): Likewise.
38031         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
38032         (MCAST_MSFILTER): Likewise.
38033         (IP_MULTICAST_ALL): Likewise.
38034         (IP_UNICAST_IF): Likewise.
38036         * timezone/Makefile: Delete $(have-ksh) check.
38037         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
38038         * timezone/tzselect.ksh: Add +x mode bits.
38040         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
38041         (ANON_INODE_FS_MAGIC): Likewise.
38042         (BDEVFS_MAGIC): Likewise.
38043         (BINFMTFS_MAGIC): Likewise.
38044         (BTRFS_TEST_MAGIC): Likewise.
38045         (CRAMFS_MAGIC_WEND): Likewise.
38046         (DEBUGFS_MAGIC): Likewise.
38047         (ECRYPTFS_SUPER_MAGIC): Likewise.
38048         (EXT3_SUPER_MAGIC): Likewise.
38049         (EXT4_SUPER_MAGIC): Likewise.
38050         (FUTEXFS_SUPER_MAGIC): Likewise.
38051         (HOSTFS_SUPER_MAGIC): Likewise.
38052         (HUGETLBFS_MAGIC): Likewise.
38053         (MINIX3_SUPER_MAGIC): Likewise.
38054         (MTD_INODE_FS_MAGIC): Likewise.
38055         (NILFS_SUPER_MAGIC): Likewise.
38056         (OPENPROM_SUPER_MAGIC): Likewise.
38057         (PIPEFS_MAGIC): Likewise.
38058         (PSTOREFS_MAGIC): Likewise.
38059         (QNX6_SUPER_MAGIC): Likewise.
38060         (RAMFS_MAGIC): Likewise.
38061         (REISERFS_SUPER_MAGIC_STRING): Likewise.
38062         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
38063         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
38064         (SECURITYFS_MAGIC): Likewise.
38065         (SELINUX_MAGIC): Likewise.
38066         (SMACK_MAGIC): Likewise.
38067         (SOCKFS_MAGIC): Likewise.
38068         (SQUASHFS_MAGIC): Likewise.
38069         (STACK_END_MAGIC): Likewise.
38070         (TMPFS_MAGIC): Likewise.
38071         (USBDEVICE_SUPER_MAGIC): Likewise.
38072         (V9FS_MAGIC): Likewise.
38073         (XENFS_SUPER_MAGIC): Likewise.
38074         (CRAMFS_MAGIC): Fix typo in comment.
38075         (EXT2_SUPER_MAGIC): Update comment.
38076         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
38078 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
38080         * sysdeps/arm: Move directory from ports/sysdeps/arm.
38081         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
38082         * sysdeps/unix/sysv/linux/arm: Move directory from
38083         ports/sysdeps/unix/sysv/linux/arm.
38084         * README: Update listing for arm-*-linux-gnueabi.
38086         * README: Remove mention of am33.
38088 2014-02-07  Roland McGrath  <roland@hack.frob.com>
38090         * bits/sigset.h (__sigemptyset): Use a statement expression rather
38091         than the comma operator, to avoid "rhs of comma has no effect"
38092         compiler warnings.
38093         (__sigfillset, __sigandset, __sigorset): Likewise.
38094         * include/signal.h (__sigemptyset): Likewise.
38095         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
38097 2014-02-07  Allan McRae  <allan@archlinux.org>
38099         * version.h (RELEASE): Set to "development".
38100         (VERSION): Set to "2.19.90"
38101         * NEWS: Add 2.20 section.
38103 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
38105         [BZ #16529]
38106         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
38108 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38110         * manual/contrib.texi: Update entry for Carlos O'Donell,
38111         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
38113 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
38115         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
38117         * sysdeps/unix/sysv/linux/kernel-features.h
38118         [__LINUX_KERNEL_VERSION >= 0x020621]
38119         (__ASSUME_PROC_PID_TASK_COMM): Define.
38121 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38123         [BZ #16398]
38124         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
38125         conversion when destination buffer does not have enough space.
38126         * libio/tst-ftell-partial-wide.c: New test case.
38127         * libio/Makefile (tests): Add tst-ftell-partial-wide.
38129         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
38130         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
38131         Leonard and Allan McRae.
38133 2014-02-04  David S. Miller  <davem@davemloft.net>
38135         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
38136         32-bit.
38138 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38141         New file
38142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38143         New file
38144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38145         New file.
38146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38147         New file.
38148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38149         New file.
38150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38151         New file.
38152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38153         New file.
38154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38155         New file.
38156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38157         New file.
38158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38159         New file.
38160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38161         New file.
38162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38163         New file.
38164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38165         New file.
38167 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38169         * nptl/shlib-versions: Change powerpc*le start to 2.17.
38170         * shlib-versions: Likewise.
38172 2014-02-04  Roland McGrath  <roland@hack.frob.com>
38173             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38175         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
38176         (abilist-pattern): New variable, set to %-le.abilist.
38178         * Makerules (abilist-pattern): New variable.
38179         (vpath): Use $(abilist-pattern) in place of %.abilist.
38180         (check-abi-% pattern rule): Likewise.
38181         (check-abi, update-abi): Likewise.
38183 2014-02-04  Eric Wong  <normalperson@yhbt.net>
38185         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38187 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
38189         * manual/startup.texi: Add next, previous, and top entries for
38190         the `Program Arguments' and `Environment Variables' nodes.
38192 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
38194         * manual/macros.texi: Add comments before MTASC-safety macros.
38196         * manual/users.texi: Document MTASC-safety properties.
38198         * manual/threads.texi (pthread_key_create, pthread_key_delete)
38199         (pthread_getspecific, pthread_setspecific): Format with
38200         @deftypefun, and add @safety note.
38201         * manual/signal.texi: Move comments that analyze the above
38202         functions to their home place.
38204 2014-02-03  Allan McRae  <allan@archlinux.org>
38206         * po/sl.po: Update Slovenian translation from translation project.
38208 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
38210         * manual/time.texi (timegm): Add missing blank after @c.
38211         Reported by Joseph Myers <joseph@codesourcery.com>.
38213 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
38215         * manual/check-safety.sh: New.
38216         * manual/Makefile ($(objpfx)stamp-summary): Run it.
38218         * manual/terminal.texi: Document MTASC-safety properties.
38220         * manual/filesys.texi: Document MTASC-safety properties.
38222         * manual/errno.texi: Document MTASC-safety properties.
38224         * manual/intro.texi: Document safety identifiers and
38225         conditionals.
38227         * manual/string.texi (wcstok): Fix prototype.
38228         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
38230         * manual/time.texi: Document MTASC-safety properties.
38232         * manual/string.texi: Document MTASC-safety properties.
38234         * manual/threads.texi: Document MTASC-safety properties.
38236         * manual/stdio.texi: Document MTASC-safety properties.
38238         * manual/syslog.texi: Document MTASC-safety properties.
38240         * manual/sysinfo.texi: Document MTASC-safety properties.
38242         * manual/startup.texi: Document MTASC-safety properties.
38244         * manual/socket.texi: Document MTASC-safety properties.
38246         * manual/signal.texi: Document MTASC-safety properties.
38248 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
38250         * manual/setjmp.texi: Document MTASC-safety properties.
38252         * manual/search.texi: Document MTASC-safety properties.
38254         * manual/resource.texi: Document MTASC-safety properties.
38256         * manual/process.texi: Document MTASC-safety properties.
38258         * manual/platform.texi: Document MTASC-safety properties.
38260         * manual/pipe.texi: Document MTASC-safety properties.
38262         * manual/pattern.texi: Document MTASC-safety properties.
38264         * manual/message.texi: Document MTASC-safety properties.
38266         [BZ #12751]
38267         * manual/memory.texi: Document MTASC-safety properties.
38269         * manual/math.texi: Document MTASC-safety properties.
38271         * manual/locale.texi: Document MTASC-safety properties.
38273         * manual/llio.texi: Document MTASC-safety properties.
38275         * manual/libdl.texi: New.
38277         * manual/lang.texi: Document MTASC-safety properties.
38279         * manual/job.texi: Document MTASC-safety properties.
38281         * manual/getopt.texi: Document MTASC-safety properties.
38283         * manual/ctype.texi: Document MTASC-safety properties.
38285 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
38287         [BZ #16046]
38288         * csu/libc-tls.c (static_map): Remove variable.
38289         (__libc_setup_tls): Use main executable's link map for TLS data.
38290         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
38291         casing for LM_ID_BASE and GL(dl_nns).
38292         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
38293         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
38294         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
38295         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
38296         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
38297         member.
38298         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
38299         l_phnum members.
38301 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
38303         * manual/debug.texi: Document MTASC-safety properties.
38305 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
38307         [BZ #16510]
38308         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
38309         of __x86_64__ when disabling x87 inline functions.
38311 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
38313         * manual/charset.texi: Document MTASC-safety properties.
38315         * manual/crypt.texi: Document MTASC-safety properties.
38317         * manual/conf.texi: Document MTASC-safety properties.
38319         * manual/arith.texi: Document MTASC-safety properties.
38321         * manual/argp.texi: Document MTASC-safety properties.
38323         * manual/macros.texi: Introduce macros to document multi
38324         thread, asynchronous signal and asynchronous cancellation
38325         safety properties.
38326         * manual/intro.texi: Introduce the properties themselves.
38328 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38330         * sysdeps/sh/sh4/Makefile: New file.
38332 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
38334         * math/gen-libm-test.pl ($srcdir): New variable.
38335         ($auto_input): Use it.
38337 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38339         [BZ #16506]
38340         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
38341         access beyond array bounds when parsing netgroups file.
38343         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
38344         the old buffer before realloc.
38346 2014-01-27  Allan McRae  <allan@archlinux.org>
38348         * po/fr.po: Update French translation from translation project.
38350 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38352         * sysdeps/sh/libm-test-ulps: Regenerate.
38354 2014-01-24  David S. Miller  <davem@davemloft.net>
38356         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
38358 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38360         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
38361         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
38363 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38365         [BZ #16474]
38366         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
38367         string pointers after reallocation.
38369 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38371         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
38372         __SH4A__ instead of __SH_FPU_ANY__.
38374 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38376         * sysdeps/sh/fpu_control.h: New file.
38377         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
38378         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
38379         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
38380         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
38381         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
38382         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
38383         * sysdeps/sh/sys/ucontext.h: Remove.
38384         * sysdeps/sh/sys: Remove directory.
38386 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38388         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
38389         s390/sys/ucontext.h.
38390         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
38391         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
38393 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
38395         [BZ #15605]
38396         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
38398 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38400         [BZ#16431]
38401         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38402         Adjust the vDSO correctly for internal calls.
38403         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
38405 2014-01-20  Allan McRae  <allan@archlinux.org>
38407         * po/ca.po: Update Catalan translation from translation project.
38409 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
38411         * sysdeps/s390/sotruss-lib.c: New file.
38413 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38415         [BZ#16430]
38416         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
38417         (__GI___gettimeofday): Alias for a different internal symbol to avoid
38418         local calls issues by not having a PLT stub required for IFUNC calls.
38419         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
38421 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
38423         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
38424         * math/test-fpucw-static.c: Likewise.
38426 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38428         [BZ #16453]
38429         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
38431 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38433         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
38434         implementation for powerpc.
38436 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
38438         [BZ #14782]
38439         * sysdeps/posix/system.c (__libc_system): Do not enable
38440         asynchronous cancellation.
38442 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38444         [BZ #16427]
38445         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
38446         handling only for numbers special also in the IEEE case.
38448 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38450         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38452 2014-01-11  Allan McRae  <allan@archlinux.org>
38454         * po/bg.po: Update Bulgarian translation from translation project.
38456         * po/de.po: Update German translation from translation project.
38458 2014-01-10  Roland McGrath  <roland@hack.frob.com>
38460         * sysdeps/generic/gcc-compat.h: New file.
38462 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38464         * benchtests/asin-inputs: Correct slow inputs.
38465         * benchtests/acos-inputs: Likewise.
38467 2014-01-10  Allan McRae  <allan@archlinux.org>
38469         * po:sv.po: Update Swedish translation from translation project.
38471         * po/vi.po: Update Vietnamese translation from translation project.
38473         * po/eo.po: Update Esperanto translation from translation project.
38475         * po/cs.po: Update Czech translation from translation project.
38477         * po/nl.po: Update Dutch translation from translation project.
38479         * po/pl.po: Update Polish translation from translation project.
38481         * po/ru.po: Update Russian translation from translation project.
38483         * po/uk.po: Update Ukrainian translation from translation project.
38485 2014-01-08  Brooks Moses  <bmoses@google.com>
38487         * elf/dl-load.c: Fix comment typo.
38489 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
38491         * po/header.pot: Rename to...
38492         * po/pot.header: ... this.
38493         * po/Makefile: Use pot.header.
38495 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
38496             Maxim Kuvyrkov  <maxim@kugelworks.com>
38498         [BZ #16394]
38499         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
38500         SRC and DEST against LEN.
38502 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38504         [BZ #16414]
38505         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
38506         implementation.
38507         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
38509 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38513 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
38515         [BZ #16408]
38516         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
38517         for large positive arguments.
38519 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
38521         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38523         * math/auto-libm-test-in: Mark various tests with
38524         xfail-rounding:ldbl-128ibm.
38525         * math/auto-libm-test-out: Regenerated.
38527         [BZ #16407]
38528         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38529         Increase overflow threshold.
38531 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
38533         [BZ #14286]
38534         * stdio-common/vfprintf.c: Check for integer overflow.
38536 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38538         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
38539         the first argument and return value of __tls_get_addr_internal.
38541 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38543         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
38544         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
38546 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38548         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
38549         * sysdeps/s390/rtld-global-offsets.sym: New file.
38550         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
38551         GLIBC_2.19 symbol.
38552         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
38553         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
38554         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38555         ... this.
38556         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
38557         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38558         ... this.
38559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38560         Regenerate.
38561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38562         Regenerate.
38563         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
38564         halfs of GPRs for high_gprs contexts.
38565         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
38566         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
38567         field.
38568         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
38569         uc_flags field.
38570         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
38571         64 bit versions:
38572         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
38573         for high GPRs (uc_high_gprs) and for future extensions
38574         (__reserved).
38575         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
38576         for future extensions (__reserved).
38577         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
38578         64 bit versions:
38579         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
38580         SC_HIGHGPRS offset definition.
38581         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
38582         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
38584         * Versions.def: Add GLIBC_2.19 for libpthread.
38585         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
38586         siglongjmp for libpthread with GLIBC_2.19 symver.
38587         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
38588         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
38589         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
38590         * sysdeps/s390/__longjmp.c: New file.
38591         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
38592         * sysdeps/s390/longjmp.c: New file.
38593         * sysdeps/s390/setjmp.S: New file.
38594         * sysdeps/s390/sigjmp.S: New file.
38595         * sysdeps/s390/v1-longjmp.c: New file.
38596         * sysdeps/s390/v1-setjmp.h: New file.
38597         * sysdeps/s390/v1-sigjmp.c: New file.
38598         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
38599         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
38600         GLIBC_2.19 version.
38601         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
38602         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
38603         versioned symbols for ____longjmp_chk.
38604         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38605         Likewise.
38606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38607         Regenerate.
38608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38609         Regenerate.
38610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38611         Regenerate.
38612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38613         Regenerate.
38614         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
38615         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
38616         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
38617         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
38618         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
38619         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
38620         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
38621         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
38622         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
38623         * sysdeps/s390/rtld-__longjmp.c: New file.
38624         * sysdeps/s390/rtld-setjmp.S: New file.
38626 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
38628         [BZ #16400]
38629         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38630         Return -__logl (x) for small positive arguments without evaluating
38631         a polynomial.
38633 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
38635         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
38636         Rename to ...
38637         (__ptrace_peeksiginfo_args): ... this.
38638         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38639         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38640         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38642 2014-01-06  Allan McRae  <allan@archlinux.org>
38644         * inet/netinet/in.h: Fix typo in comment.
38646 2014-01-05  Andreas Jaeger  <aj@suse.de>
38648         * sysdeps/i386/fpu/libm-test-ulps: Update.
38650 2014-01-05  Allan McRae  <allan@archlinux.org>
38652         * po/libc.pot: Regenerated.
38654         * malloc/memusagestat.c: Fix gettext call formatting.
38656 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
38658         * nscd/nscd.c: Improve usage() output.
38660 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
38662         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
38663         * sysdeps/unix/sysv/linux/configure: Regenerated.
38664         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
38665         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
38667 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38669         [BZ #16390]
38670         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38671         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
38673 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38675         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
38676         extra tokens at end of #undef directive.
38677         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
38678         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
38679         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
38681 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38683         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38685         * math/auto-libm-test-in: Mark various tests with
38686         xfail-rounding:ldbl-128ibm.
38687         * math/auto-libm-test-out: Regenerated.
38689 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
38691         [BZ #16386]
38692         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
38693         numbers with subnormal high part when calculating exponent.
38695         [BZ #16385]
38696         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
38697         fabs.
38699         [BZ #16384]
38700         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
38701         M_LN2l.
38702         (__ieee754_acoshl): Use __log1pl not __log1p.
38704 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
38706         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
38707         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
38708         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
38709         (grow_heap, heap_trim, _int_new_arena, get_free_list)
38710         (reused_arena, arena_get2): Convert to GNU style.
38711         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
38712         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
38713         (memalign_check, __malloc_set_state): Likewise.
38714         * malloc/mallocbug.c (main): Likewise.
38715         * malloc/malloc.c (__malloc_assert, malloc_init_state)
38716         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
38717         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
38718         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
38719         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
38720         (__posix_memalign, malloc_info): Likewise.
38721         * malloc/malloc.h: Likewise.
38722         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
38723         (mallochook, memalignhook, reallochook, mabort): Likewise.
38724         * malloc/mcheck.h: Likewise.
38725         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
38726         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
38727         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
38728         * malloc/morecore.c (__default_morecore): Likewise.
38729         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
38730         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
38731         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
38732         (print_and_abort): Likewise.
38733         * malloc/obstack.h: Likewise.
38734         * malloc/set-freeres.c (__libc_freeres): Likewise.
38735         * malloc/tst-mallocstate.c (main): Likewise.
38736         * malloc/tst-mtrace.c (main): Likewise.
38737         * malloc/tst-realloc.c (do_test): Likewise.
38739 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38741         [BZ #16366]
38742         * nscd/netgroupcache.c (do_notfound): New function.
38743         (addgetnetgrentX): Use it.
38745         [BZ # 16365]
38746         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
38747         NSS_STATUS_NOTFOUND.
38749 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
38751         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38754 2014-01-01  Allan McRae  <allan@archlinux.org>
38756         * scripts/update-copyrights: Update configure input file suffix.
38758         * NEWS: Update copyright year.
38759         * catgets/gencat.c: Likewise.
38760         * csu/version.c: Likewise.
38761         * debug/catchsegv.sh: Likewise.
38762         * debug/pcprofiledump.c: Likewise.
38763         * debug/xtrace.sh: Likewise.
38764         * elf/ldconfig.c: Likewise.
38765         * elf/ldd.bash.in: Likewise.
38766         * elf/pldd.c: Likewise.
38767         * elf/sotruss.ksh: Likewise.
38768         * elf/sprof.c: Likewise.
38769         * iconv/iconv_prog.c: Likewise.
38770         * iconv/iconvconfig.c: Likewise.
38771         * locale/programs/locale.c: Likewise.
38772         * locale/programs/localedef.c: Likewise.
38773         * login/programs/pt_chown.c: Likewise.
38774         * malloc/memusage.sh: Likewise.
38775         * malloc/memusagestat.c: Likewise.
38776         * malloc/mtrace.pl: Likewise.
38777         * manual/libc.texinfo: Likewise.
38778         * nscd/nscd.c: Likewise.
38779         * nss/getent.c: Likewise.
38780         * nss/makedb.c: Likewise.
38781         * posix/getconf.c: Likewise.
38782         * scripts/test-installation.pl: Likewise.
38784         * All files with FSF copyright notices: Update copyright dates
38785         using scripts/update-copyrights.
38786         * intl/plural.c: Regenerated.
38787         * locale/programs/charmap-kw.h: Likewise.
38788         * locale/programs/locfile-kw.h: Likewise.
38790 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
38792         * sysdeps/unix/sysv/linux/configure: Regenerated.
38793         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
38794         the linux/fanotify.h header.
38795         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
38796         HAVE_LINUX_FANOTIFY_H is defined.
38798 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38800         * benchtests/cos-inputs: New inputs.
38801         * benchtests/sin-inputs: Likewise.
38803         * benchtests/atan-inputs: New inputs. Fix name of multiple
38804         precision fallback inputs.
38806         * benchtests/atanh-inputs: New inputs.
38807         * benchtests/tanh-inputs: Likewise.
38809         * benchtests/acosh-inputs: New inputs.
38810         * benchtests/asinh-inputs: Likewise.
38812         * benchtests/cosh-inputs: New inputs.
38813         * benchtests/sinh-inputs: Likewise.
38815         * benchtests/acos-inputs: Add more inputs.
38816         * benchtests/asin-inputs: Likewise.
38818 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
38820         [BZ #16375]
38821         * manual/arith.texi: Fix spelling.
38822         * manual/charset.texi: Likewise.
38823         * manual/errno.texi: Likewise.
38824         * manual/filesys.texi: Likewise.
38825         * manual/lang.texi: Likewise.
38826         * manual/llio.texi: Likewise.
38827         * manual/locale.texi: Likewise.
38828         * manual/message.texi: Likewise.
38829         * manual/resource.texi: Likewise.
38830         * manual/search.texi: Likewise.
38831         * manual/setjmp.texi: Likewise.
38832         * manual/stdio.texi: Likewise.
38833         * manual/string.texi: Likewise.
38834         * manual/sysinfo.texi: Likewise.
38835         * manual/time.texi: Likewise.
38837 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
38839         * po/sl.po: New file.
38841 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
38843         * .gitignore: Add core/.gdbinit/.gdb_history.
38845 2013-12-27  Allan McRae  <allan@archlinux.org>
38847         [BZ #16369]
38848         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
38849         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
38851 2013-12-24  Brooks Moses  <bmoses@google.com>
38853         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
38854         all compilers that claim C++98 compliance, not just GCC.
38855         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38856         Likewise.
38858 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38860         * NEWS: Restore accidentally deleted bug-fix entries.
38862 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38863             Ondřej Bílka  <neleai@seznam.cz>
38865         [BZ #15073]
38866         * malloc/malloc.c (_int_free): Perform sanity check only if we
38867         have_lock.
38869 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
38871         [BZ #12986]
38872         * manual/stdio.texi (String Input Conversions): Clarify that character
38873         classes are not supported.
38875 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38879 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
38881         [BZ #16337]
38882         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38883         Calculate results for small negative arguments directly rather
38884         than using reflection formula with special underflow handling.
38886         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
38887         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
38888         sysdeps/unix/bsd/bsd4.4/syscalls.list.
38889         (fchflags): Likewise.
38890         (revoke): Likewise.
38891         (setlogin): Likewise.
38892         (sigaltstack): Likewise.
38893         (wait4): Likewise.
38894         (sigblock): Remove.
38895         (sigsetmask): Likewise.
38896         (wait3): Likewise.
38897         (waitpid): Likewise.
38898         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
38899         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
38900         file.
38901         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
38902         * sysdeps/unix/bsd/Makefile: ... here.
38903         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
38904         * sysdeps/unix/bsd/Versions: ... here.
38905         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
38906         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
38907         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
38908         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
38909         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
38910         * sysdeps/unix/bsd/sigblock.c: ... here.
38911         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
38912         * sysdeps/unix/bsd/sigsetmask.c: ... here.
38913         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
38914         * sysdeps/unix/bsd/sigvec.c: ... here.
38915         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
38916         * sysdeps/unix/bsd/tcdrain.c: ... here.
38917         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
38918         * sysdeps/unix/bsd/tcgetattr.c: ... here.
38919         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
38920         * sysdeps/unix/bsd/tcsetattr.c: ... here.
38921         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
38922         * sysdeps/unix/bsd/wait.c: ... here.
38923         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
38924         * sysdeps/unix/bsd/wait3.c: ... here.
38925         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
38926         * sysdeps/unix/bsd/waitpid.c: ... here.
38928 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
38930         [BZ #16356]
38931         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
38932         round-to-nearest for [!USE_AS_EXPM1L].
38933         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
38934         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
38935         more tests of exp and exp10.  Expect some exp10 tests to miss
38936         exceptions or fail in directed rounding modes.
38937         * math/auto-libm-test-out: Regenerated.
38938         * math/libm-test.inc (exp10_tonearest_test_data): New array.
38939         (exp10_test_tonearest): New function.
38940         (exp10_towardzero_test_data): New array.
38941         (exp10_test_towardzero): New function.
38942         (exp10_downward_test_data): New array.
38943         (exp10_test_downward): New function.
38944         (exp10_upward_test_data): New array.
38945         (exp10_test_upward): New function.
38946         (main): Call the new functions.
38947         * sysdeps/i386/fpu/libm-test-ulps: Update.
38948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38950 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
38952         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
38953         asinh, atan, atan2, atanh, cbrt, cos and cosh.
38954         * math/auto-libm-test-out: Regenerated.
38955         * math/libm-test.inc (acosh_test_data): Add more tests.
38956         (atanh_test_data): Likewise.
38957         (ceil_test_data): Likewise.
38958         (copysign_test_data): Likewise.
38959         * sysdeps/i386/fpu/libm-test-ulps: Update.
38960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38962         * timezone/checktab.awk: Update from tzcode 2013i.
38963         * timezone/private.h: Likewise.
38964         * timezone/scheck.c: Likewise.
38965         * timezone/tzfile.h: Likewise.
38966         * timezone/tzselect.ksh: Likewise.
38967         * timezone/zdump.c: Likewise.
38968         * timezone/zic.c: Likewise.
38970         * math/auto-libm-test-in: Add tests of cpow.
38971         * math/auto-libm-test-out: Regenerated.
38972         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
38973         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38974         mpc_cc_c.
38975         (func_calc_desc): Add mpc_cc_c union field.
38976         (test_functions): Add cpow.
38977         (special_fill_2pi): New function.
38978         (special_real_inputs): Add 2pi.
38979         (calc_generic_results): Handle mpc_cc_c.
38980         * sysdeps/i386/fpu/libm-test-ulps: Update.
38981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38983         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
38984         csqrt, ctan and ctanh.
38985         * math/auto-libm-test-out: Regenerated.
38986         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38987         (TEST_COND_x86): Likewise.
38988         (ccos_test_data): Use AUTO_TESTS_c_c.
38989         (ccosh_test_data): Likewise.
38990         (cexp_test_data): Likewise.
38991         (clog_test_data): Likewise.
38992         (csqrt_test_data): Likewise.
38993         (ctan_test_data): Likewise.
38994         (ctan_tonearest_test_data): Likewise.
38995         (ctan_towardzero_test_data): Likewise.
38996         (ctan_downward_test_data): Likewise.
38997         (ctan_upward_test_data): Likewise.
38998         (ctanh_test_data): Likewise.
38999         (ctanh_tonearest_test_data): Likewise.
39000         (ctanh_towardzero_test_data): Likewise.
39001         (ctanh_downward_test_data): Likewise.
39002         (ctanh_upward_test_data): Likewise.
39003         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39004         mpc_c_c.
39005         (func_calc_desc): Add mpc_c_c union field.
39006         (FUNC_mpc_c_c): New macro.
39007         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
39008         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
39009         ctanh.
39010         (special_fill_min_subnorm_p120): New function.
39011         (special_real_inputs): Add min_subnorm_p120.
39012         (calc_generic_results): Handle mpc_c_c.
39013         * sysdeps/i386/fpu/libm-test-ulps: Update.
39014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39016 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39018         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
39019         (do_sin_slow): New functions.
39020         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
39021         (cslow2, csloww1, csloww2): Use the new functions.
39023         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
39024         Use M to change sign of result instead of X.  Assume X is
39025         positive.
39026         (csloww1): Likewise.
39027         (__sin): Adjust.
39028         (__cos): Adjust.
39030         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
39031         arguments A and DA.
39032         (__sin): Adjust.
39033         (__cos): Likewise.
39035         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
39036         (__cos): Likewise.
39037         (sloww1): Don't adjust sign of DX.
39038         (csloww1): Likewise.
39039         (sloww2): Use X directly and don't adjust sign of DX.
39040         (csloww2): Likewise.
39042 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39044         * math/auto-libm-test-in: Add tests of cabs and carg.
39045         * math/auto-libm-test-out: Regenerated.
39046         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
39047         (carg_test_data): Likewise.
39048         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39049         mpc_c_f.
39050         (func_calc_desc): Add mpc_c_f union field.
39051         (test_functions): Add cabs and carg.
39052         (calc_generic_results): Handle mpc_c_f.
39054         * sysdeps/powerpc/powerpc32/libgcc-compat.S
39055         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
39056         as a macro and a compat symbol.
39057         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39058         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39059         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39060         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39061         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
39062         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
39063         not use .hidden.
39064         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
39065         Likewise.
39066         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
39067         Likewise.
39068         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
39069         Likewise.
39070         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
39071         Likewise.
39072         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
39073         Likewise.
39074         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
39075         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
39076         from GLIBC_2.3.2.
39078 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39082 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39084         * manual/texinfo.tex: Update to version 2013-11-26.10 with
39085         trailing whitespace removed.
39086         * scripts/config.guess: Update to version 2013-11-29.
39087         * scripts/config.sub: Update to version 2013-10-01.
39089         * math/auto-libm-test-in: Add tests of sincos.
39090         * math/auto-libm-test-out: Regenerated.
39091         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
39092         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39093         mpfr_f_11.
39094         (func_calc_desc): Add mpfr_f_11 union field.
39095         (test_functions): Add sincos.
39096         (calc_generic_results): Handle mpfr_f_11.
39097         * sysdeps/i386/fpu/libm-test-ulps: Update.
39098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39100 2013-12-19  Andreas Schwab  <schwab@suse.de>
39102         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
39103         CALL_MCOUNT.
39104         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39105         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
39106         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
39108 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
39110         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
39111         * sysdeps/i386/fpu/libm-test-ulps: Update.
39112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39114         [BZ #16293]
39115         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
39116         round-to-nearest mode when using frndint.
39117         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
39118         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39119         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
39120         Likewise.
39121         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
39122         sinh test to fail.
39123         * math/auto-libm-test-out: Regenerated.
39124         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
39125         (TEST_COND_x86): Likewise.
39126         (expm1_tonearest_test_data): New array.
39127         (expm1_test_tonearest): New function.
39128         (expm1_towardzero_test_data): New array.
39129         (expm1_test_towardzero): New function.
39130         (expm1_downward_test_data): New array.
39131         (expm1_test_downward): New function.
39132         (expm1_upward_test_data): New array.
39133         (expm1_test_upward): New function.
39134         (main): Run the new test functions.
39135         * sysdeps/i386/fpu/libm-test-ulps: Update.
39136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39138         * include/features.h: Update comment documenting feature test
39139         macros.  Mention _DEFAULT_SOURCE in comment.
39140         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
39141         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
39142         _BSD_SOURCE and _SVID_SOURCE.
39143         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
39144         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
39145         !_SVID_SOURCE]: Likewise.
39146         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39147         (__USE_POSIX_IMPLICITLY): Define.
39148         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39149         (_POSIX_SOURCE): Undefine and redefine.
39150         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39151         (_POSIX_C_SOURCE): Likewise.
39152         * manual/creature.texi (_DEFAULT_SOURCE): Document.
39153         (Feature Test Macros): Update documentation of default features.
39155 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39157         * benchtests/Makefile: Add bench-strtok.
39158         * benchtests/bench-strtok.c: New file: strtok benchtest.
39160 2013-12-19  Allan McRae  <allan@archlinux.org>
39162         * manual/install.texi: Suppress menu for plain text output.
39163         * INSTALL: Regenerated.
39165 2013-12-18  Brooks Moses  <bmoses@google.com>
39167         [BZ #15846]
39168         * misc/getauxval.c: Include errno.h.
39169         (__getauxval): Set errno to ENOENT if the requested type is not
39170         found.
39171         * misc/sys/auxv.h (getauxval): Document that it may set errno;
39172         don't declare with __attribute_const__.
39173         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
39174         * manual/startup.texi: Document that getauxval sets errno.
39176 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39178         * math/auto-libm-test-in: Add tests of jn and yn.
39179         * math/auto-libm-test-out: Regenerated.
39180         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
39181         (yn_test_data): Likewise.
39182         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39183         mpfr_if_f.
39184         (func_calc_desc): Add mpfr_if_f union field.
39185         (FUNC_mpfr_if_f): New macro.
39186         (test_functions): Add jn and yn.
39187         (calc_generic_results): Assert type of second input for
39188         mpfr_ff_f.  Handle mpfr_if_f.
39189         (output_for_one_input_case): Disable all checking for arguments
39190         fitting floating-point types in case of an integer argument.
39191         * sysdeps/i386/fpu/libm-test-ulps: Update.
39192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39195         Don't expect fegetround reference in libm.so.
39197 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39199         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
39200         $(config-cflags-nofma).
39202 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39204         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
39205         * math/auto-libm-test-out: Regenerated.
39207         [BZ #16338]
39208         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
39209         to determine exponent and adjust argument to have exponent of -1.
39210         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
39211         log2.
39212         * math/auto-libm-test-out: Regenerated.
39213         * sysdeps/i386/fpu/libm-test-ulps: Update.
39214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39216 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
39218         * manual/probes.texi: Remove cases when per-thread arenas are
39219         disabled.
39221 2013-12-18  Andreas Schwab  <schwab@suse.de>
39223         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
39224         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
39225         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
39226         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
39227         * sysdeps/i386/i686/multiarch/Makefile: Update.
39228         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
39230 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39232         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
39233         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
39235 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
39237         [BZ #15968]
39238         Support TZ transition times < 00:00:00.
39239         This is needed for version-3 tz-format files; it supports time
39240         stamps past 2037 for America/Godthab (the only entry in the tz
39241         database for which this change is relevant).
39242         * manual/time.texi (TZ Variable): Document transition times
39243         from -167:59:59 through -00:00:01.
39244         * time/tzset.c (tz_rule): Time of day is now signed.
39245         (__tzset_parse_tz): Parse negative time of day.
39247         Document TZ transition times >= 25:00:00.
39248         * manual/time.texi (TZ Variable): Document transition times from
39249         25:00:00 through 167:59:59.  These are already supported, and this
39250         support will help with version-3 tz-format files.
39252         * manual/time.texi (TZ Variable): Modernize North America example
39253         to reflect current (i.e., 2007-and-later) daylight saving rules.
39255         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
39257 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39259         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
39260         * sysdeps/unix/bsd/bits/stat.h: Likewise.
39261         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
39262         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39263         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
39264         * sysdeps/unix/bsd/bsdstat.h: Likewise.
39265         * sysdeps/unix/bsd/clock.c: Likewise.
39266         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
39267         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
39268         * sysdeps/unix/bsd/init-posix.c: Likewise.
39269         * sysdeps/unix/bsd/poll.c: Likewise.
39270         * sysdeps/unix/bsd/ptsname.c: Likewise.
39271         * sysdeps/unix/bsd/seekdir.c: Likewise.
39272         * sysdeps/unix/bsd/setegid.c: Likewise.
39273         * sysdeps/unix/bsd/seteuid.c: Likewise.
39274         * sysdeps/unix/bsd/setgid.c: Likewise.
39275         * sysdeps/unix/bsd/setrgid.c: Likewise.
39276         * sysdeps/unix/bsd/setruid.c: Likewise.
39277         * sysdeps/unix/bsd/setsid.c: Likewise.
39278         * sysdeps/unix/bsd/setuid.c: Likewise.
39279         * sysdeps/unix/bsd/sigaction.c: Likewise.
39280         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
39281         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
39282         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
39283         * sysdeps/unix/bsd/telldir.c: Likewise.
39284         * sysdeps/unix/bsd/times.c: Likewise.
39285         * sysdeps/unix/bsd/usleep.c: Likewise.
39287         * misc/Makefile (install-lib): Remove libbsd-compat.a.
39288         ($(objpfx)libbsd-compat.a): Remove rule.
39290         * include/features.h (__FAVOR_BSD): Do not define.
39291         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
39292         features conflicting with POSIX.
39293         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
39294         (_BSD_SOURCE): Remove description of not being a subset of other
39295         feature test macros.
39296         * manual/job.texi (getpgrp): Do not document BSD version.
39297         (getpgid): Do not document by reference to BSD getpgrp.
39298         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
39299         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
39300         * signal/signal.h [__FAVOR_BSD]: Likewise.
39301         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
39302         instead of making contents conditional on [__FAVOR_BSD].
39303         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
39305 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39309 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39311         [BZ #16314]
39312         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
39313         values below 2**-450, not 2**-500.
39314         * math/auto-libm-test-in: Don't allow spurious underflow from
39315         hypot.
39316         * math/auto-libm-test-out: Regenerated.
39318         [BZ #16316]
39319         [BZ #16330]
39320         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
39321         values of ha and hb and sort them after adjusting subnormal
39322         arguments.
39323         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
39324         Likewise.
39325         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
39326         values of ea and eb and sort them after adjusting subnormal
39327         arguments.
39328         * math/auto-libm-test-in: Do not expect some hypot tests of
39329         subnormals to fail.  Add more hypot tests.
39330         * math/auto-libm-test-out: Regenerated.
39332 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39334         [BZ #13304]
39335         * sysdeps/sh/s_fma.c: New file.
39336         * sysdeps/sh/s_fmaf.c: New file.
39337         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
39338         version.
39339         * sysdeps/sh/Implies: Add sh/soft-fp.
39341 2013-12-16  Roland McGrath  <roland@hack.frob.com>
39343         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
39344         level of indirection to members `objname', `errstring', `malloced'.
39345         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
39346         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
39347         it as the __longjmp argument (just pass 1 instead).
39348         (_dl_catch_error): Initialize C with argument pointers and address of
39349         volatile local ERRCODE rather than copying values out of C at return.
39351 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
39353         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
39354         * math/auto-libm-test-out: Regenerated.
39355         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
39356         (hypot_test_data): Likewise.
39357         (pow_test_data): Likewise.
39358         (pow_tonearest_test_data): Likewise.
39359         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39360         mpfr_ff_f.
39361         (func_calc_desc): Add mpfr_ff_f union field.
39362         (FUNC_mpfr_ff_f): New macro.
39363         (test_functions): Add atan2, hypot and pow.
39364         (special_fill_min): New function.
39365         (special_fill_minus_min): Likewise.
39366         (special_fill_min_subnorm): Likewise.
39367         (special_fill_minus_min_subnorm): Likewise.
39368         (special_real_inputs): Add min, -min, min_subnorm and
39369         -min_subnorm.
39370         (calc_generic_results): Handle mpfr_ff_f.
39371         * sysdeps/i386/fpu/libm-test-ulps: Update.
39372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39374 2013-12-16  Will Newton  <will.newton@linaro.org>
39376         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
39377         (Aligned Memory Blocks): Add documentation for aligned_alloc
39378         and suggest it as an alternative to posix_memalign.
39379         (Hooks for Malloc): Document __memalign_hook is also called
39380         for aligned_alloc.  (Summary of Malloc): Add summary for
39381         aligned alloc.  Document __memalign_hook is also called
39382         for aligned_alloc.
39384 2013-12-16  Will Newton  <will.newton@linaro.org>
39386         * manual/memory.texi (Malloc Examples): Clarify default
39387         alignment documentation.  Suggest posix_memalign rather
39388         than memalign or valloc.
39389         (Aligned Memory Blocks): Remove suggestion to use memalign
39390         or valloc.  Remove obsolete comment about BSD.
39391         Document memalign errno values and mark the function obsolete.
39392         Document posix_memalign returned error codes.  Mark valloc
39393         as obsolete.  (Hooks for Malloc): __memalign_hook is also
39394         called for posix_memalign and valloc.
39395         (Summary of Malloc): Add posix_memalign to function summary.
39396         __memalign_hook is also called for posix_memalign and valloc.
39398 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39400         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
39401         TAYLOR_SIN.
39402         (__sin): Adjust.
39403         (__cos): Likewise.
39404         (sloww): Use mynumber union.  Expand ternary operator into
39405         if-else statements.
39406         (cslow): use mynumber union.
39408 2013-12-16  Allan McRae  <allan@archlinux.org>
39410         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
39411         * configure: Regenerated.
39413         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
39415         [BZ #14120]
39416         * configure.ac: Added --enable-maintainer-mode. Check for
39417         autoconf when enabled.
39418         * configure: Regenerated.
39420         * nscd/nscd.service: New file.
39421         * nscd/nscd.tmpfiles: New file.
39423 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
39425         [BZ #12100]
39426         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
39427         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
39428         * sysdeps/x86_64/multiarch/strstr.c: ... here.
39429         (strstr): Add __strstr_sse2_unaligned ifunc.
39430         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
39431         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
39432         (strcasestr): Remove __strcasestr_sse42 ifunc.
39433         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
39434         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39435         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39437 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39439         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
39440         * sysdeps/sh/bits/fenv.h: ... here.
39441         * sysdeps/sh/sh4/fpu/bits: Remove directory.
39443 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39445         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
39447         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
39448         hypotf multiarch implementations.
39449         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
39450         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
39451         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
39452         multiarch hypot for PPC64.
39453         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
39454         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
39455         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
39456         multiarch hypotf for PPC64.
39458         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
39459         modff multiarch implementations.
39460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
39461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
39462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
39463         multiarch modf for PPC64.
39464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
39465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
39466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
39467         multiarch modff for PPC64.
39469         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
39470         and logl multiarch implementations.
39471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
39472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
39473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
39474         multiarch logb for PPC64.
39475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
39476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
39477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
39478         multiarch logb for PPC64.
39479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
39480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
39481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
39482         multiarch logb for PPC64.
39484         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
39485         isinff multiarch implementation.
39486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
39487         file.
39488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
39489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
39490         multiarch isinf for PPC64.
39491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
39492         file.
39493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
39494         multiarch isinff for PPC64.
39496         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
39497         finitef multiarch implementation.
39498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
39499         file.
39500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
39501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
39502         multiarch finite for PPC64.
39503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
39504         file.
39505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
39506         multiarch finitef for PPC64.
39508         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
39509         lrint multiarch implementation.
39510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
39511         file.
39512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
39513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
39514         multiarch llrint for PPC64.
39515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
39516         multiarch lrint for PPC64.
39518         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
39519         copysignf multiarch implementation.
39520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
39521         file.
39522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
39523         file.
39524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
39525         multiarch copysign for PPC64.
39526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
39527         multiarch copysignf for PPC64.
39529         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
39530         multiarch implementation.
39531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
39532         file.
39533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
39534         file.
39535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
39536         file.
39537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
39538         file.
39539         multiarch llround for PPC64.
39540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
39541         multiarch trunc for PPC64.
39542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
39543         multiarch truncf for PPC64.
39545         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
39546         multiarch implementation.
39547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
39548         file.
39549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
39550         file.
39551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
39552         file.
39553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
39554         file.
39555         multiarch llround for PPC64.
39556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
39557         multiarch round for PPC64.
39558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
39559         multiarch roundf for PPC64.
39561         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
39562         multiarch implementation.
39563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
39564         file.
39565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
39566         file.
39567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
39568         file.
39569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
39570         file.
39571         multiarch llround for PPC64.
39572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
39573         multiarch floor for PPC64.
39574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
39575         multiarch floorf for PPC64.
39577         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
39578         multiarch implementation.
39579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
39580         file.
39581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
39582         file.
39583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
39584         file.
39585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
39586         file.
39587         multiarch llround for PPC64.
39588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
39589         multiarch ceil for PPC64.
39590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
39591         multiarch ceilf for PPC64.
39593         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39594         multiarch implementation.
39595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
39596         file.
39597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
39598         file.
39599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
39600         file.
39601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
39602         multiarch llround for PPC64.
39603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
39604         multiarch lround for PPC64.
39606         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39607         multiarch implementation.
39608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
39609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
39610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
39611         file.
39612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
39613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
39614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
39615         multiarch isnan for PPC64.
39616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
39617         multiarch isnanf for PPC64.
39619         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
39620         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
39621         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
39622         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
39623         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
39624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
39626         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
39627         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39628         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39629         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39631         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
39632         multiarch implementations.
39633         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39634         (__libc_ifunc_impl_list): Likewise.
39635         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
39636         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
39637         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
39638         multiarch stpcpy for PPC64.
39640         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
39641         multiarch implementations.
39642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39643         (__libc_ifunc_impl_list): Likewise.
39644         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
39645         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
39646         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
39647         multiarch strcpy for PPC64.
39649         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
39650         redefine function name.
39651         (_wordcopy_fwd_dest_aligned): Likewise.
39652         (_wordcopy_bwd_aligned): Likewise.
39653         (_wordcopy_bwd_dest_aligned): Likewise.
39654         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
39655         multiarch implementations.
39656         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39657         (__libc_ifunc_impl_list): Likewise.
39658         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
39659         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
39660         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
39661         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
39662         multiarch wcscpy for PPC64.
39664         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
39665         multiarch implementations.
39666         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39667         (__libc_ifunc_impl_list): Likewise.
39668         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
39669         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
39670         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
39671         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
39672         multiarch wcscpy for PPC64.
39674         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
39675         multiarch implementations.
39676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39677         (__libc_ifunc_impl_list): Likewise.
39678         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
39679         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
39680         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
39681         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
39682         multiarch wcsrchr for PPC64.
39684         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
39685         multiarch implementations.
39686         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39687         (__libc_ifunc_impl_list): Likewise.
39688         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
39689         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
39690         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
39691         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
39692         multiarch wcschr for PPC64.
39694         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
39695         multiarch implementations.
39696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39697         (__libc_ifunc_impl_list): Likewise.
39698         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
39699         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
39700         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
39701         multiarch strchrnul for PPC64.
39703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
39704         implementations.
39705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39706         (__libc_ifunc_impl_list): Likewise.
39707         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
39708         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
39709         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
39710         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
39711         strchr for PPC64.
39713         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
39714         implementations.
39715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39716         (__libc_ifunc_impl_list): Likewise.
39717         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
39718         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
39719         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
39720         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
39721         strncmp for PPC64.
39723         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
39724         multiarch implementations.
39725         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39726         (__libc_ifunc_impl_list): Likewise.
39727         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
39728         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
39729         strncasecmp for PPC64.
39730         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
39731         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
39732         multiarch strncasecmp_l for PPC64.
39734         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
39735         multiarch implementations.
39736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39737         (__libc_ifunc_impl_list): Likewise.
39738         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
39739         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
39740         multiarch strcasecmp for PPC64.
39741         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
39742         file.
39743         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
39744         multiarch strcasecmp_l for PPC64.
39746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
39747         implementations.
39748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39749         (__libc_ifunc_impl_list): Likewise.
39750         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
39751         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
39752         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
39753         strnlen for PPC64.
39755         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
39756         implementations.
39757         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39758         (__libc_ifunc_impl_list): Likewise.
39759         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
39760         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
39761         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
39762         strlen for PPC64.
39764         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
39765         implementations.
39766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39767         (__libc_ifunc_impl_list): Likewise.
39768         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
39769         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
39770         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
39771         rawmemrchr for PPC64.
39773         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
39774         implementation.
39775         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39776         (__libc_ifunc_impl_list): Likewise.
39777         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
39778         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
39779         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
39780         memrchr for PPC64.
39782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
39783         implementation.
39784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39785         (__libc_ifunc_impl_list): Likewise.
39786         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
39787         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
39788         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
39789         memchr for PPC64.
39791         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
39792         implementation.
39793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39794         (__libc_ifunc_impl_list): Likewise.
39795         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
39796         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
39797         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
39798         mempcpy for PPC64.
39800         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
39801         avoid cretion of __bzero symbol.
39802         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
39803         Likewise.
39804         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
39805         Likewise.
39806         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
39807         Likewise.
39808         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
39809         multiarch implementations.
39810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39811         (__libc_ifunc_impl_list): Likewise.
39812         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
39813         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
39814         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
39815         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
39816         bzero for PPC32.
39817         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
39818         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
39819         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
39820         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
39821         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
39822         memset for PPC64.
39823         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
39825         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
39826         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
39827         implementations.
39828         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39829         (__libc_ifunc_impl_list): Likewise.
39830         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
39831         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
39832         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
39833         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
39834         memcmp for PPC64.
39836         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
39837         multiarch for POWER/PPC64.
39838         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
39839         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
39840         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
39841         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
39842         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
39843         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
39844         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
39845         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
39846         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
39847         memcpy for PPC64.
39849         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
39850         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
39851         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
39852         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
39853         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
39854         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
39855         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
39856         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
39857         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
39858         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
39859         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
39860         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
39861         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
39862         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
39863         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
39864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
39865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
39866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
39867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
39868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
39869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
39870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
39872 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39874         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
39876 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39878         * benchtests/Makefile (bench): Add exp2 and log2.
39879         (LDLIBS-bench-exp2): Add -lm.
39880         (LDLIBS-bench-log2): Likewise.
39881         * benchtests/exp2-inputs: New inputs file.
39882         * benchtests/log2-inputs: New inputs file.
39883         * benchtests/log-inputs: Add new inputs.
39884         * benchtests/tan-inputs: Likewise.
39886 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39888         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
39889         definition...
39890         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
39891         (csloww2): ... from here.
39893         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
39894         instead of structures.
39895         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
39896         (POLYNOMIAL): Likewise.
39897         (TAYLOR_SLOW): Likewise.
39898         (__sin): Likewise.
39899         (__cos): Likewise.
39900         (slow1): Likewise.
39901         (slow2): Likewise.
39902         (sloww): Likewise.
39903         (sloww1); Likewise.
39904         (sloww2): Likewise.
39905         (bsloww1): Likewise.
39906         (bsloww2): Likewise.
39907         (cslow2): Likewise.
39908         (csloww): Likewise.
39909         (csloww1): Likewise.
39910         (csloww2): Likewise.
39912 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
39914         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
39915         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
39916         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
39917         * malloc/hooks.c (realloc_check): Likewise.
39919         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
39920         * malloc/arena.c: Remove PER_THREAD conditional.
39921         [!PER_THREAD]: Remove code.
39922         (ptmalloc_unlock_all2): Likewise.
39923         (ptmalloc_init): Likewise.
39924         (_int_new_arena): Likewise.
39925         (arena_get2): Likewise.
39926         * malloc/hooks.c (__malloc_get_state): Likewise.
39927         (__malloc_set_state): Likewise.
39928         * malloc/malloc.c: Likewise.
39929         (struct malloc_state): Likewise.
39930         (struct malloc_par): Likewise.
39931         (__libc_realloc): Likewise.
39932         (__libc_mallopt): Likewise.
39934 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39936         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
39938 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
39940         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
39941         macro to a function.  Check for zero perturb_byte.
39942         (_int_malloc, _int_free): Remove zero perturb_byte checks.
39944         * malloc/malloc.c: (force_reg): Remove.
39945         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
39946         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
39947         force_reg by atomic_forced_read.
39948         * malloc/arena.c (ptmalloc_init): Likewise.
39949         * malloc/hooks.c (top_check): Likewise.
39951 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39955 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
39957         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39959 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
39961         * math/auto-libm-test-in: Add tests of lgamma.
39962         * math/auto-libm-test-out: Regenerated.
39963         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
39964         (M_LOG_2_SQRT_PIl): Likewise.
39965         (lgamma_test_data): Use AUTO_TESTS_f_f1.
39966         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39967         mpfr_f_f1.
39968         (func_calc_desc): Add mpfr_f_f1 union field.
39969         (ARGS1): New macro.
39970         (ARGS2): Likewise.
39971         (ARGS3): Likewise.
39972         (ARGS4): Likewise.
39973         (RET1): Likewise.
39974         (RET2): Likewise.
39975         (CALC): Likewise.
39976         (FUNC): Likewise.
39977         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
39978         (test_functions): Add lgamma.
39979         (calc_generic_results): Handle mpfr_f_f1.
39980         * sysdeps/i386/fpu/libm-test-ulps: Update.
39981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39983 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39985         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
39986         __mpn_add_n for PowerPC64/POWER7.
39987         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
39988         __mpn_sub_n for PowerPC64/POWER7.
39990         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
39991         __mpn_addmul_1 for PowerPC64.
39992         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
39993         __mpn_submul_1 for PowerPC64.
39994         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
39995         for PowerPC64.
39996         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
39997         for PowerPC64.
39999 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
40001         [BZ #15089]
40002         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
40004 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40006         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
40008         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
40009         add multiarch folders.
40010         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
40011         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
40012         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
40013         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
40014         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
40015         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
40016         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
40017         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
40018         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
40019         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
40020         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
40021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
40022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
40023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
40024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
40025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
40026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
40028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40029         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
40030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
40031         New file.
40032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
40033         New file.
40034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
40035         multiarch __ieee754_hypot for PowerPC32.
40036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
40037         New file.
40038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
40039         New file.
40040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
40041         multiarch __ieee754_hypotf for PowerPC32.
40043         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
40044         long_double_symbol only if __logbl is defined.
40045         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
40046         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
40047         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
40048         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
40049         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
40050         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
40051         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
40052         path for implementation.
40053         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
40054         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
40055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
40056         logb, and logbl multiarch implementations for PowerPC32.
40057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
40058         file.
40059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
40060         file.
40061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
40062         multiarch logb for PowerPC32.
40063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
40064         file.
40065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
40066         file.
40067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
40068         multiarch logbf for PowerPC32.
40069         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
40070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
40071         file.
40072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
40073         multiarch logbl implementation for PowerPC32.
40075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
40076         and modff multiarch implementations.
40077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
40078         New file.
40079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
40080         New file.
40081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
40082         multiarch modf for PowerPC32.
40083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
40084         New file.
40085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
40086         New file.
40087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
40088         multiarch modff for PowerPC32.
40090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
40091         and lrintf multiarch implementations.
40092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
40093         New file.
40094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
40095         New file.
40096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
40097         multiarch lrint for PowerPC32.
40098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
40099         file: multiarch lrintf for PowerPC32.
40101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
40102         and lroundf multiarch implementations.
40103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
40104         New file.
40105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
40106         New file.
40107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
40108         New file.
40109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
40110         multiarch lround for PowerPC32.
40111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
40112         file: multiarch lroundf for PowerPC32.
40114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40115         copysign and copysignf multiarch implementations.
40116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
40117         New file.
40118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
40119         New file.
40120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
40121         file: multiarch copysign for PowerPC32.
40122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
40123         file: multiarch copysignf for PowerPC32.
40125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
40126         and truncf multiarch implementations.
40127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
40128         New file.
40129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
40130         file.
40131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
40132         multiarch trunc for PowerPC32.
40133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
40134         New file.
40135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
40136         New file.
40137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
40138         multiarch truncf for PowerPC32.
40140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
40141         and roundf multiarch implementations.
40142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
40143         New file.
40144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
40145         file.
40146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
40147         multiarch round for PowerPC32.
40148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
40149         New file.
40150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
40151         New file.
40152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
40153         multiarch roundf for PowerPC32.
40155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
40156         and floorf multiarch implementations.
40157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
40158         New file.
40159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
40160         file.
40161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
40162         multiarch floor for PowerPC32.
40163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
40164         New file.
40165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
40166         New file.
40167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
40168         multiarch floorf for PowerPC32.
40170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
40171         and ceilf multiarch implementations.
40172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
40173         New file.
40174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
40175         file.
40176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
40177         multiarch ceil for PowerPC32.
40178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
40179         New file.
40180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
40181         file.
40182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
40183         multiarch ceilf for PowerPC32.
40185         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
40186         is defined.
40187         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
40188         FINITEF is defined.
40189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
40190         and finitef multiarch implementations.
40191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
40192         New file.
40193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
40194         file.
40195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
40196         multiarch finite for PowerPC32.
40197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
40198         New file.
40199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
40200         file: multiarch finitef for PowerPC32.
40202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
40203         and isinff multiarch implementations.
40204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
40205         file.
40206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
40207         file.
40208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
40209         multiarch isinf for PowerPC32.
40210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
40211         New file.
40212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
40213         multiarch isinff for PowerPC32.
40215         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
40216         alias when __isnan is defined.
40217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
40218         and isnanf multiarch implementations.
40219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
40220         file.
40221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
40222         file.
40223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
40224         file.
40225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
40226         file.
40227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
40228         multiarch isnan for PowerPC32.
40229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
40230         New file.
40231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
40232         New file.
40233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
40234         multiarch isnanf for PowerPC32.
40236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
40237         and sqrtf multiarch implementations.
40238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
40239         file.
40240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
40241         file.
40242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
40243         multiarch sqrt for PowerPC32.
40244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
40245         file.
40246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
40247         file.
40248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
40249         multiarch sqrtf for PowerPC32.
40251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
40252         and llroundf multiarch implementations.
40253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
40254         New file.
40255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
40256         New file.
40257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
40258         New file.
40259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
40260         file: multiarch llround for PowerPC32.
40261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
40262         file: multiarch llroundf for PowerPC32.
40264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
40265         multiarch PowerPC32 fpu implementations.
40266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
40267         New file.
40268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
40269         New file.
40270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
40271         multiarch llrint for PowerPC32.
40272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
40273         New file.
40274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
40275         New file.
40276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
40277         file.
40279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
40281         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
40282         file.
40283         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
40284         file.
40285         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
40286         file.
40287         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
40288         multiarch wordcopy for PPC32.
40289         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40290         wordcopy objects.
40291         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40292         (__libc_ifunc_impl_list): Likewise.
40293         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
40294         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
40295         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
40296         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
40297         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
40298         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
40300         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
40301         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
40302         file.
40303         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
40304         file.
40305         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
40306         file.
40307         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
40308         multiarch wcscpy for PPC32.
40309         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40310         multiarch objects.
40311         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40312         (__libc_ifunc_impl_list): Likewise.
40313         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40314         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40315         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
40316         sysdeps/powerpc/power6/wcscpy.c.
40318         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
40319         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
40320         file.
40321         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
40322         file.
40323         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
40324         file.
40325         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
40326         multiarch wcsrchr for PPC32.
40327         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40328         multiarch objects.
40329         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40330         (__libc_ifunc_impl_list): Likewise.
40331         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40332         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40333         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
40334         sysdeps/powerpc/power6/wcsrchr.c.
40336         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
40337         file.
40338         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
40339         file.
40340         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
40341         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
40342         multiarch wcschr for PPc32.
40343         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40344         multiarch objects.
40345         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40346         (__libc_ifunc_impl_list): Likewise.
40347         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
40348         * sysdeps/powerpc/power6/wcschr.c: ... to here.
40349         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
40350         sysdeps/powerpc/power6/wcschr.c.
40352         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
40353         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
40354         file.
40355         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
40356         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
40357         file: multiarch strchr for PPC32.
40358         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
40359         multiarch objects.
40360         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40361         (__libc_ifunc_impl_list): Likewise.
40363         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
40364         name.
40365         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
40366         file.
40367         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
40368         file.
40369         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
40370         multiarch strchrnul for PPC32.
40371         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
40372         multiarch objects.
40373         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40374         (__libc_ifunc_impl_list): Likewise.
40376         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
40377         file.
40378         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
40379         multiarch strncasecmp for PPC32.
40380         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
40381         file.
40382         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
40383         multiarch strncasecmp_l for PPC32.
40384         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
40385         strncasecmp multiarch objects.
40386         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40387         (__libc_ifunc_impl_list): Likewise.
40389         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
40390         file.
40391         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
40392         multiarch strncasecmp for PPC32.
40393         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40394         New file.
40395         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
40396         multiarch strcasecmp_l for PPC32.
40397         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
40398         multiarch objects.
40399         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40400         (__libc_ifunc_impl_list): Likewise.
40402         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
40403         file.
40404         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
40405         file.
40406         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
40407         multiarch strncmp for PPC32.
40408         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
40409         multiarch objects.
40410         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40411         (__libc_ifunc_impl_list): Likewise.
40413         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
40414         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
40415         file.
40416         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
40417         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
40418         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
40419         multiarch objects.
40420         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40421         (__libc_ifunc_impl_list): Likewise.
40423         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
40424         file.
40425         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
40426         file.
40427         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
40428         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
40429         multiarch objects.
40430         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40431         (__libc_ifunc_impl_list): Likewise.
40433         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
40434         file.
40435         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
40436         file.
40437         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
40438         multiarch rawmemchr for PPC32.
40439         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
40440         multiarch objects.
40441         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40442         (__libc_ifunc_impl_list): Likewise.
40444         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
40445         file.
40446         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
40447         file.
40448         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
40449         file: memrchr multiarch for PPC32.
40450         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
40451         multiarch objects.
40452         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40453         (__libc_ifunc_impl_list): Likewise.
40455         * string/memchr.c (__memchr): Using macro to redefine symbol name.
40456         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
40457         file.
40458         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
40459         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
40460         multiarch memchr for PPC32.
40461         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
40462         multiarch objects.
40463         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40464         (__libc_ifunc_impl_list): Likewise.
40466         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
40467         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
40468         file.
40469         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
40470         file.
40471         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
40472         file: multiarch mempcpy for PPC32.
40473         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
40474         multiarch objects.
40475         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40476         (__libc_ifunc_impl_list): Likewise.
40478         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
40479         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
40480         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
40481         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
40482         multiarch bzero for PPC32.
40483         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
40484         file.
40485         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
40486         file.
40487         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
40488         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
40489         file: multiarch memset for PPC32.
40490         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
40491         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
40492         memset multiarch objects.
40493         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40494         (__libc_ifunc_impl_list): Likewise.
40496         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
40497         file.
40498         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
40499         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
40500         memcmp for PPC32.
40501         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
40502         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
40503         multiarch objects.
40504         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40505         (__libc_ifunc_impl_list): Likewise.
40507         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
40508         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
40509         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
40510         file.
40511         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
40512         file.
40513         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
40514         file.
40515         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
40516         multiarch memcpy for PPC32.
40517         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
40518         multiarch objects.
40519         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40520         (__libc_ifunc_impl_list): Likewise.
40522         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
40523         support multiarch for POWER/PPC32.
40524         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
40525         Likewise.
40526         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
40528         Implies file to make multiarch folder appers before the fpu and
40529         default folder for power4 configuration.
40531 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40533         * scripts/bench.pl: Append volatile keyword to type.
40535 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40537         * sysdeps/sh/sotruss-lib.c: New file.
40538         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
40540 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40544 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
40546         [BZ #6810]
40547         * math/w_tgamma.c: Include <errno.h>.
40548         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
40549         * math/w_tgammaf.c: Include <errno.h>.
40550         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
40551         * math/w_tgammal.c: Include <errno.h>.
40552         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
40553         * math/auto-libm-test-in: Do not allow missing errno on tgamma
40554         underflow.  Add more tgamma tests.
40555         * math/auto-libm-test-out: Regenerated.
40556         * sysdeps/i386/fpu/libm-test-ulps: Update.
40557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40559         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
40560         sin, sinh, tan, tanh, tgamma, y0 and y1.
40561         * math/auto-libm-test-out: Regenerated.
40562         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40563         (TEST_COND_x86): Likewise.
40564         (M_E2l): Remove macro.
40565         (M_E3l): Likewise.
40566         (M_2_SQRT_PIl): Likewise.
40567         (M_SQRT_PIl): Likewise.
40568         (M_1_DIV_El): Likewise.
40569         (log_test_data): Use AUTO_TESTS_f_f.
40570         (log10_test_data): Likewise.
40571         (log1p_test_data): Likewise.
40572         (log2_test_data): Likewise.
40573         (sin_test_data): Likewise.
40574         (sin_tonearest_test_data): Likewise.
40575         (sin_towardzero_test_data): Likewise.
40576         (sin_downward_test_data): Likewise.
40577         (sin_upward_test_data): Likewise.
40578         (sinh_test_data): Likewise.
40579         (sinh_tonearest_test_data): Likewise.
40580         (sinh_towardzero_test_data): Likewise.
40581         (sinh_downward_test_data): Likewise.
40582         (sinh_upward_test_data): Likewise.
40583         (tan_test_data): Likewise.
40584         (tan_tonearest_test_data): Likewise.
40585         (tan_towardzero_test_data): Likewise.
40586         (tan_downward_test_data): Likewise.
40587         (tan_upward_test_data): Likewise.
40588         (tanh_test_data): Likewise.
40589         (tgamma_test_data): Likewise.
40590         (y0_test_data): Likewise.
40591         (y1_test_data): Likewise.
40592         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
40593         (special_real_inputs): Add pi/4.
40594         * sysdeps/i386/fpu/libm-test-ulps: Update.
40595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40597 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40599         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
40600         "longjmp_target" static probes.
40601         (__longjmp): Rename to __longjmp_symbol.
40602         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40603         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
40604         on which longjmp to generate.
40605         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40606         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
40607         probe.
40608         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40609         (__sigjmp_save): Rename to __sigjmp_save_symbol.
40610         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40611         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
40612         and __sigjmp_save_symbol based on which sigsetjmp to generated.
40613         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
40615         __longjmp_symbol based on which __longjmp to generate.
40616         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
40617         probe.
40618         (setjmp): Rename to setjmp_symbol.
40619         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40620         (_setjmp): Rename to _setjmp_symbol.
40621         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40622         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
40623         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
40624         which setjmp to generate.
40625         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
40626         "longjmp_target" static probes.
40628 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40630         * benchtests/README: Add note about output arguments.
40631         * benchtests/bench-sincos.c: Remove file.
40632         * benchtests/sincos-inputs: New file.
40633         * scripts/bench.pl: Identify output arguments and define
40634         static variables for them.
40636         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
40638         [BZ #15941]
40639         * Makefile (INSTALL): Add install-plain.texi as the primary
40640         dependency.
40641         * manual/install-plain.texi: New file.
40642         * manual/install.texi: Include node directive only for
40643         non-plaintext output.
40645 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
40647         * stdlib/longlong.h: Update from GCC.
40649         [BZ #6807]
40650         [BZ #15901]
40651         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
40652         * math/w_j0f.c (y0f): Likewise.
40653         * math/w_j0l.c (__y0l): Likewise.
40654         * math/w_j1.c (y1): Likewise.
40655         * math/w_j1f.c (y1f): Likewise.
40656         * math/w_j1l.c (__y1l): Likewise.
40657         * math/w_jn.c (yn): Likewise.
40658         * math/w_jnf.c (ynf): Likewise.
40659         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
40660         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
40661         value for Bessel function domain errors outside _SVID_ mode.
40662         Adjust sign of return value for yn (negative integer, 0).
40663         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
40664         by zero in return for negative x and set sign appropriately for
40665         negative n.
40666         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
40667         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40668         * math/libm-test.inc (y0_test_data): Add more tests and adjust
40669         expectations in error cases.
40670         (y1_test_data): Likewise.
40671         (yn_test_data): Likewise.
40672         * sysdeps/i386/fpu/libm-test-ulps: Update.
40673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40675 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40677         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
40678         "64" to "64-v1".  Add "64-v2".
40679         (abi-64-options): Rename to ...
40680         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
40681         (abi-64-condition): Rename to ...
40682         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
40683         (abi-64-ld-soname): Rename to ...
40684         (abi-64-v1-ld-soname): ... this.
40685         (abi-64-v2-options): Define.
40686         (abi-64-v2-condition): Likewise.
40687         (abi-64-v2-ld-soname): Likewise.
40688         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
40689         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
40690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
40691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
40692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
40694 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40695             Alan Modra  <amodra@gmail.com>
40697         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
40698         New versions for use with the ELFv2 ABI.
40699         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
40700         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
40701         declaration.
40702         (struct La_ppc64v2_retval): Likewise.
40703         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
40704         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
40705         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
40706         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
40707         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
40708         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40709         Do not save or restore CR.
40710         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
40711         (_dl_profile_resolve): Do no save or restore CR.  Support extended
40712         return values for ELFv2 ABI.  Fix location of FPR return registers.
40713         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
40714         updated values for _CALL_ELF == 2.
40715         (La_regs, La_retval, int_retval): Likewise.
40717 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40719         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
40720         (FRAME_MIN_SIZE_PARM): Likewise.
40721         (FRAME_BACKCHAIN): Likewise.
40722         (FRAME_CR_SAVE): Likewise.
40723         (FRAME_LR_SAVE): Likewise.
40724         (FRAME_TOC_SAVE): Likewise.
40725         (FRAME_PARM_SAVE): Likewise.
40726         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
40727         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
40728         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40729         (call_mcount_parm_offset): New macro.
40730         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
40731         (PROF): Use symbolic stack frame offsets.
40732         (TAIL_CALL_SYSCALL_ERROR): Likewise.
40733         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
40734         Redefine in terms of FRAME_MIN_SIZE.
40735         (_dl_runtime_resolve): Use symbolic stack frame offsets.
40736         (_dl_profile_resolve): Likewise.  Update comment.
40737         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
40738         symbols stack frame offsets.
40739         (__sigsetjmp): Likewise.
40740         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
40741         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
40742         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
40743         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
40745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
40746         (FRAME_BACKCHAIN): Remove.
40747         (FRAME_CR_SAVE): Likewise.
40748         (FRAME_LR_SAVE): Likewise.
40749         (FRAME_COMPILER_DW): Likewise.
40750         (FRAME_LINKER_DW): Likewise.
40751         (FRAME_TOC_SAVE): Likewise.
40752         (FRAME_PARM_SAVE): Likewise.
40753         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
40754         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
40755         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
40757         (CHECK_SP): Use symbolic stack frame offsets.
40758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
40759         zone" instead of caller's parameter save area for temp storage.
40760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40761         Likewise.  Also, use symbolic stack frame offsets.
40762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
40763         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
40764         our own stack frame instead of the caller's.
40765         (__socket): Use symbolic stack frame offsets.
40767 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40768             Alan Modra  <amodra@gmail.com>
40770         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
40771         Define.
40772         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
40773         (PPC64_LOCAL_ENTRY_OFFSET): Define.
40774         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
40775         New function.
40776         (elf_machine_fixup_plt): Call it.
40777         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
40778         reloc arguments.
40779         (elf_machine_rela): Update call to elf_machine_plt_conflict.
40780         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40781         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
40782         r2 before calling target.
40784 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40785             Alan Modra  <amodra@gmail.com>
40787         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
40788         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
40789         versions of macros to support ELFv2 ABI.
40790         (LOCALENTRY): New macro.
40791         (ENTRY, EALIGN): Use it.
40792         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
40793         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
40794         fall through into ENTRY entry point.
40795         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
40796         Only define if _CALL_ELF != 2.
40798         (elf_machine_matches_host): Verify ABI version matches.
40799         (RTLD_START): Use LOCALENTRY.
40800         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
40801         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
40802         (PLT_ENTRY_WORDS): New macro.
40803         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
40804         (elf_machine_runtime_setup): Support ELFv2 ABI.
40805         (elf_machine_fixup_plt): Likewise.
40806         (elf_machine_plt_conflict): Likewise.
40807         (resolve_ifunc): Likewise.
40808         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40809         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40810         Likewise.
40811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
40812         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
40813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40814         (makecontext): Support ELFv2 ABI.
40815         * elf/elf.h (EF_PPC64_ABI): Define.
40817 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40819         * sysdeps/powerpc/powerpc64/sysdep.h
40820         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
40821         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
40822         (ENTRY) [ASSEMBLER]: ... but instead here ...
40823         (EALIGN) [ASSEMBLER]: ... and here.
40824         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
40825         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
40826         (ENTRY_2) [!ASSEMBLER]: Use it.
40827         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
40828         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
40829         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40830         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
40831         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
40832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
40833         Use PPC64_LOAD_FUNCPTR.
40835         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
40837 2013-12-04  Alan Modra  <amodra@gmail.com>
40839         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
40840         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
40841         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
40842         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
40844         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
40845         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
40846         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
40847         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
40848         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
40849         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
40851 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40854         (__makecontext): Fix incorrect CFI when backtracing out of
40855         context created via makecontext.
40856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
40857         (__setcontext): Fix incorrect CFI during switch to new context.
40858         (__novec_setcontext): Likewise.
40860 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40862         [BZ #4772]
40863         * time/strptime_l.c (__strptime_internal): Allow modifiers
40864         in strptime.
40865         * time/tst-strptime.c (day_tests): Add testcase.
40867 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40869         * scripts/bench.pl: Skip over blank lines.
40871 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
40873         [BZ #926]
40874         * manual/time.texi (Calendar Time): Clarify what timezone functions
40875         use.
40877 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40881 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40883         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
40884         implementation.
40885         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
40886         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
40887         * debug/memset_chk.c (__memset_chk): Likewise.
40888         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
40889         * debug/strncpy_chk.c: Likewise.
40891 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40893         [BZ #15268]
40894         [BZ #15425]
40895         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
40896         (__ieee754_exp): For possibly underflowing results, check size of
40897         result and force underflow exception if required.
40898         * math/auto-libm-test-in: Add more tests of exp.
40899         * math/auto-libm-test-out: Regenerated.
40900         * sysdeps/i386/fpu/libm-test-ulps: Update.
40901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40903         [BZ #16283]
40904         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
40905         * math/w_exp2f.c (__exp2f): Likewise.
40906         * math/w_exp2l.c (__exp2l): Likewise.
40907         * math/auto-libm-test-in: Do not allow missing errno on exp2
40908         underflow.
40909         * math/auto-libm-test-out: Regenerated.
40911 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
40913         [BZ #16274]
40914         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
40915         handle filename validation.
40916         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
40917         (do_open): Delete.
40919 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40921         [BZ #6786]
40922         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
40923         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
40924         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
40925         <float.h>.
40926         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
40927         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
40928         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40929         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
40930         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40931         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
40932         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40933         * math/auto-libm-test-in: Don't allow missing errno from erfc.
40934         Add more erfc tests.
40935         * math/auto-libm-test-out: Regenerated.
40936         * sysdeps/i386/fpu/libm-test-ulps: Update.
40937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40939         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
40940         exp2, expm1, j0 and j1.
40941         * math/auto-libm-test-out: Regenerated.
40942         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
40943         (erfc_test_data): Likewise.
40944         (exp_test_data): Likewise.
40945         (exp_tonearest_test_data): Likewise.
40946         (exp_towardzero_test_data): Likewise.
40947         (exp_downward_test_data): Likewise.
40948         (exp_upward_test_data): Likewise.
40949         (exp10_test_data): Likewise.
40950         (exp2_test_data): Likewise.
40951         (expm1_test_data): Likewise.
40952         (j0_test_data): Likewise.
40953         (j1_test_data): Likewise.
40954         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
40955         (input_flag_type): Add flag_xfail_rounding.
40956         (input_flags): Add xfail-rounding.
40957         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
40958         (output_for_one_input_case): Handle flag_xfail_rounding.
40959         * sysdeps/i386/fpu/libm-test-ulps: Update.
40960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40962 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
40964         [BZ #16289]
40965         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
40966         division by 0.
40968 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40970         [BZ #16195]
40971         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
40972         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
40973         (STAP_PROBE0): New macro.
40974         (STAP_PROBE1): Likewise.
40975         (STAP_PROBE2): Likewise.
40976         (STAP_PROBE3): Likewise.
40977         (STAP_PROBE4): Likewise.
40979 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
40981         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
40983 2013-12-02  Steve Ellcey  <sellcey@mips.com>
40985         * benchtests/Makefile (bench): Add sqrt.
40986         (LDLIBS-bench-sqrt): New.
40987         * benchtests/sqrt-input: New.
40989 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
40991         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
40992         (GAIH_EAI): Likewise.
40993         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
40994         (gaih_inet): Likewise.
40995         (getaddrinfo): Don't use GAIH_EAI.
40997         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
40998         (struct gaih): Remove definition.
41000 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41002         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
41003         Use HERRNOP directly.
41005 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41009 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
41011         * math/gen-auto-libm-tests.c (test_functions): Add more
41012         single-argument functions.
41013         (special_fill_pi_2): New function.
41014         (special_fill_minus_pi_2): Likewise.
41015         (special_fill_pi_6): Likewise.
41016         (special_fill_minus_pi_6): Likewise.
41017         (special_fill_pi_3): Likewise.
41018         (special_fill_2pi_3): Likewise.
41019         (special_fill_e): Likewise.
41020         (special_fill_1_e): Likewise.
41021         (special_fill_e_minus_1): Likewise.
41022         (special_real_inputs): Add more special inputs.
41023         (output_for_one_input_case): Do not require ERANGE on underflow to
41024         zero if round-to-nearest result does not underflow to zero, unless
41025         exact results required.
41026         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
41027         atan, atanh, cbrt, cos and cosh.
41028         * math/auto-libm-test-out: Regenerated.
41029         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
41030         (acos_tonearest_test_data): Likewise.
41031         (acos_towardzero_test_data): Likewise.
41032         (acos_downward_test_data): Likewise.
41033         (acos_upward_test_data): Likewise.
41034         (acosh_test_data): Likewise.
41035         (asin_test_data): Likewise.
41036         (asin_tonearest_test_data): Likewise.
41037         (asin_towardzero_test_data): Likewise.
41038         (asin_upward_test_data): Likewise.
41039         (asinh_test_data): Likewise.
41040         (atan_test_data): Likewise.
41041         (atanh_test_data): Likewise.
41042         (cbrt_test_data): Likewise.
41043         (cos_test_data): Likewise.
41044         (cos_tonearest_test_data): Likewise.
41045         (cos_towardzero_test_data): Likewise.
41046         (cos_downward_test_data): Likewise.
41047         (cos_upward_test_data): Likewise.
41048         (cosh_test_data): Likewise.
41049         (cosh_tonearest_test_data): Likewise.
41050         (cosh_towardzero_test_data): Likewise.
41051         (cosh_downward_test_data): Likewise.
41052         (cosh_upward_test_data): Likewise.
41053         * sysdeps/i386/fpu/libm-test-ulps: Update.
41054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41056 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
41058         [BZ #6787]
41059         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
41060         * math/w_exp10f.c (__exp10f): Likewise.
41061         * math/w_exp10l.c (__exp10l): Likewise.
41062         * math/libm-test.inc (exp10_test_data): Add more tests and expect
41063         errno settings in existing tests.
41065         [BZ #14032]
41066         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
41067         precision control set to double precision.
41068         * sysdeps/i386/fpu/w_sqrt.c: New file.
41069         * math/auto-libm-test-in: Add more tests.
41070         * math/auto-libm-test-out: Update.
41072         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
41073         (sqrt_test_tonearest): New function.
41074         (sqrt_towardzero_test_data): New variable.
41075         (sqrt_test_towardzero): New function.
41076         (sqrt_downward_test_data): New variable.
41077         (sqrt_test_downward): New function.
41078         (sqrt_upward_test_data): New variable.
41079         (sqrt_test_upward): New function.
41080         (main): Call the new functions.
41082         * math/gen-auto-libm-tests.c: New file.
41083         * math/auto-libm-test-in: Likewise.
41084         * math/auto-libm-test-out: New generated file.
41085         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
41086         variables.
41087         (%beautify): Add generated representations of zero.
41088         (top level): Set $auto_input and call parse_auto_input.
41089         (beautify): Remove trailing "f" from hex float constants.
41090         (parse_args): Handle XFAIL_TEST.
41091         (convert_condition): New function.
41092         (or_value): Likewise.
41093         (or_cond_value): Likewise.
41094         (generate_testfile): Handle AUTO_TESTS_* lines.
41095         (parse_auto_input): New function.
41096         * math/libm-test.inc (XFAIL_TEST): New macro.
41097         (ERRNO_UNCHANGED): Update value.
41098         (ERRNO_EDOM): Likewise.
41099         (ERRNO_ERANGE): Likewise.
41100         (IGNORE_RESULT): Likewise.
41101         (TEST_COND_flt_32): New macro.
41102         (TEST_COND_dbl_64): Likewise.
41103         (TEST_COND_ldbl_96_intel): Likewise.
41104         (TEST_COND_ldbl_96_m68k): Likewise.
41105         (TEST_COND_ldbl_128): Likewise.
41106         (TEST_COND_ldbl_128ibm): Likewise.
41107         (TEST_COND_long32): Likewise.
41108         (TEST_COND_long64): Likewise.
41109         (TEST_COND_before_rounding): Likewise.
41110         (TEST_COND_after_rounding): Likewise.
41111         (enable_test): Handle XFAIL_TEST flag.
41112         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
41113         with finite results.
41114         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
41115         auto-libm-test-out.
41117 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41118             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41120         [BZ #16214]
41121         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
41122         __tls_get_addr_internal instead of __tls_get_offset in order to
41123         avoid GOT pointer dependency.  Make rtld export
41124         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
41125         __tls_get_addr since we are a __tls_get_offset platform.
41126         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
41127         GOT pointer being set up before.
41128         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
41130 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
41132         * manual/math.texi (Errors in Math Functions): Document accuracy
41133         goals.
41135         [BZ #15004]
41136         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
41137         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
41138         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41139         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41140         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41141         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41142         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41143         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41144         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41145         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41146         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41147         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41148         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41149         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41150         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41151         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41153         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
41154         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
41155         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
41156         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
41157         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
41158         Likewise.
41159         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
41160         Likewise.
41161         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
41162         Likewise.
41163         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
41164         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
41165         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
41166         atomic-feupdateenv and flt-rounds.
41167         * sysdeps/powerpc/nofpu/Versions (libc): Add
41168         __atomic_feholdexcept, __atomic_feclearexcept,
41169         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
41170         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
41171         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
41172         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
41173         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
41174         here.
41175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41176         Update.
41178         * manual/arith.texi (FP Exceptions): Document that exceptions may
41179         not be raised when matherr is used.
41180         (Math Error Reporting): Document overflow in directed rounding
41181         modes.  Document that errno may not be set when finite values are
41182         returned on overflow.  Document intent to set errno on underflow
41183         only for underflow to zero.
41185         [BZ #16271]
41186         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
41187         round-to-nearest then adjust result for other rounding modes.
41188         * include/fenv.h (fegetround): Use libm_hidden_proto.
41189         * math/fegetround.c (fegetround): Use libm_hidden_def.
41190         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41191         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41192         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41193         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41194         Likewise.
41195         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
41196         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41197         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41198         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
41200 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41202         [BZ #16077]
41203         * nss/Versions (libnss_files): Add
41204         _nss_files_gethostbyname3_r.
41205         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
41206         New function.
41207         (HOST_DB_LOOKUP): Remove macro.
41208         (_nss_files_gethostbyname_r): Implement function without the
41209         HOST_DB_LOOKUP macro.
41210         (_nss_files_gethostbyname2_r): Likewise.
41212 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
41214         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
41216 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
41218         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
41219         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
41220         warning.
41222 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41224         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
41225         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
41226         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41227         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41228         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
41229         __fe_nomask_env_priv and attribute_hidden.
41230         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
41231         (libc_feupdateenv_test_ppc): Likewise.
41232         (libc_feresetround_ppc): Likewise.
41233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41234         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
41235         compat_symbol macro.
41236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41237         (__fe_nomask_env): Likewise.
41238         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
41240 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41242         * string/Makefile: Remove ifunc tests.
41243         * string/test-string.h: Define TEST_IFUNC.
41244         * string/test-bcopy-ifunc.c: Remove.
41245         * string/test-bzero-ifunc.c: Likewise.
41246         * string/test-memccpy-ifunc.c: Likewise.
41247         * string/test-memchr-ifunc.c: Likewise.
41248         * string/test-memcmp-ifunc.c: Likewise.
41249         * string/test-memcpy-ifunc.c: Likewise.
41250         * string/test-memmem-ifunc.c: Likewise.
41251         * string/test-memmove-ifunc.c: Likewise.
41252         * string/test-mempcpy-ifunc.c: Likewise.
41253         * string/test-memrchr-ifunc.c: Likewise.
41254         * string/test-memset-ifunc.c: Likewise.
41255         * string/test-rawmemchr-ifunc.c: Likewise.
41256         * string/test-stpcpy-ifunc.c: Likewise.
41257         * string/test-stpncpy-ifunc.c: Likewise.
41258         * string/test-strcasecmp-ifunc.c: Likewise.
41259         * string/test-strcasestr-ifunc.c: Likewise.
41260         * string/test-strcat-ifunc.c: Likewise.
41261         * string/test-strchr-ifunc.c: Likewise.
41262         * string/test-strchrnul-ifunc.c: Likewise.
41263         * string/test-strcmp-ifunc.c: Likewise.
41264         * string/test-strcpy-ifunc.c: Likewise.
41265         * string/test-strcspn-ifunc.c: Likewise.
41266         * string/test-strlen-ifunc.c: Likewise.
41267         * string/test-strncasecmp-ifunc.c: Likewise.
41268         * string/test-strncat-ifunc.c: Likewise.
41269         * string/test-strncmp-ifunc.c: Likewise.
41270         * string/test-strncpy-ifunc.c: Likewise.
41271         * string/test-strnlen-ifunc.c: Likewise.
41272         * string/test-strpbrk-ifunc.c: Likewise.
41273         * string/test-strrchr-ifunc.c: Likewise.
41274         * string/test-strspn-ifunc.c: Likewise.
41275         * string/test-strstr-ifunc.c: Likewise.
41277 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41279         * benchtests/Makefile: Remove ifunc tests.
41280         * benchtests/bench-string.h: Define TEST_IFUNC.
41281         * benchtests/bench-bcopy-ifunc.c: Remove.
41282         * benchtests/bench-bzero-ifunc.c: Likewise.
41283         * benchtests/bench-memccpy-ifunc.c: Likewise.
41284         * benchtests/bench-memchr-ifunc.c: Likewise.
41285         * benchtests/bench-memcmp-ifunc.c: Likewise.
41286         * benchtests/bench-memcpy-ifunc.c: Likewise.
41287         * benchtests/bench-memmem-ifunc.c: Likewise.
41288         * benchtests/bench-memmove-ifunc.c: Likewise.
41289         * benchtests/bench-mempcpy-ifunc.c: Likewise.
41290         * benchtests/bench-memrchr-ifunc.c: Likewise.
41291         * benchtests/bench-memset-ifunc.c: Likewise.
41292         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
41293         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
41294         * benchtests/bench-stpcpy-ifunc.c: Likewise.
41295         * benchtests/bench-stpncpy-ifunc.c: Likewise.
41296         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
41297         * benchtests/bench-strcasestr-ifunc.c: Likewise.
41298         * benchtests/bench-strcat-ifunc.c: Likewise.
41299         * benchtests/bench-strchr-ifunc.c: Likewise.
41300         * benchtests/bench-strchrnul-ifunc.c: Likewise.
41301         * benchtests/bench-strcmp-ifunc.c: Likewise.
41302         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
41303         * benchtests/bench-strcpy-ifunc.c: Likewise.
41304         * benchtests/bench-strcspn-ifunc.c: Likewise.
41305         * benchtests/bench-strlen-ifunc.c: Likewise.
41306         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
41307         * benchtests/bench-strncat-ifunc.c: Likewise.
41308         * benchtests/bench-strncmp-ifunc.c: Likewise.
41309         * benchtests/bench-strncpy-ifunc.c: Likewise.
41310         * benchtests/bench-strnlen-ifunc.c: Likewise.
41311         * benchtests/bench-strpbrk-ifunc.c: Likewise.
41312         * benchtests/bench-strrchr-ifunc.c: Likewise.
41313         * benchtests/bench-strsep-ifunc.c: Likewise.
41314         * benchtests/bench-strspn-ifunc.c: Likewise.
41315         * benchtests/bench-strstr-ifunc.c: Likewise.
41317 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41319         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
41321 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41323         * resolv/netdb.h: Use __glibc_reserved instead __unused.
41324         * rt/aio.h: Likewise.
41325         * sysdeps/gnu/bits/utmp.h: Likewise.
41326         * sysdeps/gnu/bits/utmpx.h: Likewise.
41327         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41328         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
41329         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
41330         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
41331         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
41332         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
41333         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
41334         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
41335         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
41336         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
41337         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
41338         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
41339         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
41340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
41341         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41342         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
41343         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
41344         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
41345         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
41346         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
41347         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
41348         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
41349         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
41350         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41351         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
41352         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41353         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
41354         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
41355         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
41356         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
41357         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
41358         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
41359         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
41360         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41361         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
41362         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
41363         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
41364         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
41365         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
41366         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
41367         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
41368         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41370 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
41372         [BZ #16245]
41373         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
41374         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
41376 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
41378         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
41379         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41380         Likewise.
41382 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41384         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
41385         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
41386         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
41387         (__fesetround): Remove define.
41388         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
41389         rounding and exceptions handling.
41390         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
41391         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
41392         (__fe_nomask_env): Likewise.
41393         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
41394         __fegetround instead of fegetround.
41395         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41396         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
41398 2013-11-21  Roland McGrath  <roland@hack.frob.com>
41400         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
41401         it's there.
41403         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
41405 2013-11-21  Meador Inge  <meadori@codesourcery.com>
41407         [BZ #11157]
41408         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
41409         (encrypt_r): Likewise.
41410         * malloc/obstack.h (obstack_free): Likewise.
41411         * posix/unistd.h (encrypt): Likewise.
41413 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
41415         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
41416         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
41417         DL_CALL_DT_FINI() that call the functions directly.
41418         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
41419         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
41420         * elf/dl-fini.c: Likewise.
41422 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
41424         * malloc/hooks.c (memalign_check): Add alignment rounding.
41425         * malloc/malloc.c (_mid_memalign): New function.
41426         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
41427         Implement by calling _mid_memalign.
41428         * manual/probes.texi (Memory Allocation Probes): Remove
41429         memory_valloc_retry and memory_pvalloc_retry.
41431 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41433         * locale/programs/locarchive.c (open_archive): Add const
41434         qualifier to ARCHIVEFNAME and copy default fname to
41435         DEFAULT_FNAME.
41437         [BZ #15601]
41438         * libio/tst-widetext.input: Rename Oriya to Odia.
41439         * locale/iso-639.def: Likewise.
41441         * manual/probes.texi (Mathematical Function Probes): Add
41442         documentation for sin, cos, asin and acos probes.
41443         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
41444         (__sin32): Add slowasin probe.
41445         (__cos32): Add slowacos probe.
41446         (__mpsin): Add slowsin probe.
41447         (__mpcos): Add slowcos probe.
41449 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
41451         [BZ #15483]
41452         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
41453         thread-local __sim_exceptions_thread and global
41454         __sim_exceptions_global.
41455         (__sim_disabled_exceptions): Change to thread-local
41456         __sim_disabled_exceptions_thread and global
41457         __sim_disabled_exceptions_global.
41458         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41459         and global __sim_round_mode_global.
41460         (__simulate_exceptions): Use thread-local floating-point state and
41461         set global state from it as needed.
41462         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
41463         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
41464         __sim_round_mode_thread.
41465         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
41466         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
41467         and global __sim_exceptions_global.
41468         (__sim_disabled_exceptions): Change to thread-local
41469         __sim_disabled_exceptions_thread and global
41470         __sim_disabled_exceptions_global.
41471         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41472         and global __sim_round_mode_global.
41473         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
41474         (SIM_SET_GLOBAL): Likewise.
41475         * sysdeps/powerpc/soft-fp/sfp-machine.h
41476         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
41477         __sim_round_mode_thread.
41478         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
41479         __sim_disabled_exceptions_thread.
41480         (__sim_exceptions): Change to __sim_exceptions_thread.
41481         (__sim_disabled_exceptions): Change to
41482         __sim_disabled_exceptions_thread.
41483         (__sim_round_mode): Change to __sim_round_mode_thread.
41484         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
41485         thread-local floating-point state and set global state from it as
41486         needed.
41487         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
41488         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
41489         (__sim_disabled_exceptions): Remove extern declaration.
41490         (feenableexcept): Use thread-local floating-point state and set
41491         global state from it as needed.
41492         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
41493         extern declaration.
41494         (__sim_disabled_exceptions): Likewise.
41495         (__sim_round_mode): Likewise.
41496         (__fegetenv): Use thread-local floating-point state.
41497         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
41498         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41499         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
41500         floating-point state and set global state from it as needed.
41501         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
41502         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41503         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
41504         Likewise.
41505         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41506         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
41507         Likewise.
41508         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
41509         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
41510         Use __sim_round_mode_thread.
41511         * math/test-fenv-tls.c: New file.
41512         * math/Makefile (tests): Add test-fenv-tls.
41513         ($(objpfx)test-fenv-tls): Depend on
41514         $(common-objpfx)nptl/libpthread.so.
41516 2013-11-19  Andreas Schwab  <schwab@suse.de>
41518         * locale/programs/locale.c (show_info): Decode wordarray elements.
41519         * locale/categories.def (LC_MONETARY): Add element for
41520         _NL_MONETARY_CRNCYSTR.
41521         * locale/C-monetary.c (conversion_rate): New variable.
41522         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
41523         element.
41525 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
41527         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
41528         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
41530 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
41532         * elf/Makefile (tst-auxv): New test.
41533         * elf/tst-auxv.c: New
41534         * elf/rtld.c (dl_main): Adjust AT_EXECFN
41536 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
41538         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
41539         (hidden_proto): Caller changed.
41540         (hidden_tls_proto): New macro.
41541         (libc_hidden_tls_proto): Likewise.
41542         (rtld_hidden_tls_proto): Likewise.
41543         (libm_hidden_tls_proto): Likewise.
41544         (libresolv_hidden_tls_proto): Likewise.
41545         (librt_hidden_tls_proto): Likewise.
41546         (libdl_hidden_tls_proto): Likewise.
41547         (libnss_files_hidden_tls_proto): Likewise.
41548         (libnsl_hidden_tls_proto): Likewise.
41549         (libnss_nisplus_hidden_tls_proto): Likewise.
41550         (libutil_hidden_tls_proto): Likewise.
41552 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
41554         [BZ #10253]
41555         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
41556         (decompose_rpath): Defer expansion to fillin_rpath.
41557         (_dl_init_paths): Pass linkmap to fillin_rpath.
41559 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41561         * benchtests/Makefile: Add strsep.
41562         * benchtests/bench-strsep.c: New file: strsep benchtest.
41563         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
41565 2013-11-18  Andreas Schwab  <schwab@suse.de>
41567         * locale/programs/locale.c (show_info) [case byte]: Check for
41568         '\377' instead of '\177'.
41569         * locale/C-monetary.c (not_available): Always use "\377".
41570         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
41571         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
41572         detect unavailable sign_posn locale elements.
41573         * locale/localeconv.c (__localeconv): For grouping and
41574         mon_grouping handle "\177" and "\377" like no grouping.
41575         (INT_ELEM): New macro.  Use it to set all numeric members.
41576         * locale/programs/ld-monetary.c (monetary_read)
41577         <tok_mon_grouping>: Normalize single -1 to the empty string.
41578         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
41579         Likewise.
41581 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41583         [BZ #16055]
41584         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
41585         when we match (nil).
41586         * stdio-common/tst-sscanf.c (struct test): Add testcase.
41588 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
41590         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
41591         (NO_TEST_INLINE): Update value.
41592         (ERRNO_UNCHANGED): Likewise.
41593         (ERRNO_EDOM): Likewise.
41594         (ERRNO_ERANGE): Likewise.
41595         (IGNORE_RESULT): Likewise.
41596         (check_float_internal): Check signs of NaN results if
41597         TEST_NAN_SIGN used.
41598         (check_complex): Pass TEST_NAN_SIGN flag through to second
41599         check_float_internal call.
41600         (copysign_test_data): Add tests with quiet NaNs as second
41601         argument.  Use TEST_NAN_SIGN.
41602         (fabs_test_data): Add test of negative quiet NaN argument.  Use
41603         TEST_NAN_SIGN.
41604         (signbit_test_data): Add tests of quiet NaN argument.
41605         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
41607         * math/gen-libm-test.pl (show_exceptions): Take extra argument
41608         $ignore_result.
41609         (parse_args): Handle function results specified as IGNORE.
41610         * math/libm-test.inc (IGNORE_RESULT): New macro.
41611         (check_float_internal): Do not check numerical result if flag
41612         IGNORE_RESULT set.
41613         (check_complex): Pass through IGNORE_RESULT to second
41614         check_float_internal call.
41615         (check_int): Do not check numerical result if flag IGNORE_RESULT
41616         set.
41617         (check_long): Likewise.
41618         (check_bool): Likewise.
41619         (check_longlong): Likewise.
41620         (lrint_test_data): Add tests of infinite and NaN arguments.
41621         (lrint_tonearest_test_data): Likewise.
41622         (lrint_towardzero_test_data): Likewise.
41623         (lrint_downward_test_data): Likewise.
41624         (lrint_upward_test_data): Likewise.
41625         (llrint_test_data): Likewise.
41626         (llrint_tonearest_test_data): Likewise.
41627         (llrint_towardzero_test_data): Likewise.
41628         (llrint_downward_test_data): Likewise.
41629         (llrint_upward_test_data): Likewise.
41630         (lround_test_data): Likewise.
41631         (llround_test_data): Likewise.
41633         * math/libm-test.inc (NO_TEST_INLINE): New macro.
41634         (ERRNO_UNCHANGED): Update value.
41635         (ERRNO_EDOM): Likewise.
41636         (ERRNO_ERANGE): Likewise.
41637         (NO_TEST_INLINE_FLOAT): New macro.
41638         (NO_TEST_INLINE_DOUBLE): Likewise.
41639         (enable_test): New function.
41640         (RUN_TEST_f_f): Check enable_test before running test.
41641         (RUN_TEST_2_f): Likewise.
41642         (RUN_TEST_fff_f): Likewise.
41643         (RUN_TEST_c_f): Likewise.
41644         (RUN_TEST_f_f1): Likewise.
41645         (RUN_TEST_fF_f1): Likewise.
41646         (RUN_TEST_fI_f1): Likewise.
41647         (RUN_TEST_ffI_f1): Likewise.
41648         (RUN_TEST_c_c): Likewise.
41649         (RUN_TEST_cc_c): Likewise.
41650         (RUN_TEST_f_i): Likewise.
41651         (RUN_TEST_f_i_tg): Likewise.
41652         (RUN_TEST_ff_i_tg): Likewise.
41653         (RUN_TEST_f_b): Likewise.
41654         (RUN_TEST_f_b_tg): Likewise.
41655         (RUN_TEST_f_l): Likewise.
41656         (RUN_TEST_f_L): Likewise.
41657         (RUN_TEST_fFF_11): Likewise.
41658         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
41659         conditionals.
41660         (cosh_test_data): Likewise.
41661         (exp_test_data): Likewise.
41662         (expm1_test_data): Likewise.
41663         (hypot_test_data): Likewise.
41664         (pow_test_data): Likewise.
41665         (sinh_test_data): Likewise.
41666         (tanh_test_data): Likewise.
41667         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
41668         flags argument.
41670         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
41671         tests with quiet NaN input and output.
41672         (acosh_test_data): Likewise.
41673         (asin_test_data): Likewise.
41674         (asinh_test_data): Likewise.
41675         (atan_test_data): Likewise.
41676         (atanh_test_data): Likewise.
41677         (atan2_test_data): Likewise.
41678         (cbrt_test_data): Likewise.
41679         (cos_test_data): Likewise.
41680         (cosh_test_data): Likewise.
41681         (erf_test_data): Likewise.
41682         (erfc_test_data): Likewise.
41683         (exp_test_data): Likewise.
41684         (exp10_test_data): Likewise.
41685         (exp2_test_data): Likewise.
41686         (expm1_test_data): Likewise.
41687         (hypot_test_data): Likewise.
41688         (j0_test_data): Likewise.
41689         (j1_test_data): Likewise.
41690         (jn_test_data): Likewise.
41691         (lgamma_test_data): Likewise.
41692         (log_test_data): Likewise.
41693         (log10_test_data): Likewise.
41694         (log1p_test_data): Likewise.
41695         (log2_test_data): Likewise.
41696         (pow_test_data): Likewise.
41697         (scalb_test_data): Likewise.
41698         (sin_test_data): Likewise.
41699         (sincos_test_data): Likewise.
41700         (sinh_test_data): Likewise.
41701         (tan_test_data): Likewise.
41702         (tanh_test_data): Likewise.
41703         (tgamma_test_data): Likewise.
41704         (y0_test_data): Likewise.
41705         (y1_test_data): Likewise.
41706         (yn_test_data): Likewise.
41708         [BZ #16167]
41709         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
41710         argument being NaN and avoid computations with second argument in
41711         that case.
41712         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41713         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41714         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41716 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
41718         * locale/iso-639.def: Add Chitwani Tharu (the).
41720 2013-11-14  Andreas Schwab  <schwab@suse.de>
41722         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
41723         word instead of empty string.
41725 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41728         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
41729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41730         (__fe_nomask_env): Likewise.
41732 2013-11-13  Steve Ellcey  <sellcey@mips.com>
41734         * benchtests/bench-timing.h: Include time.h.
41736 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
41738         [BZ #15997]
41739         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
41740         to 3.4.0 for x32.
41741         * sysdeps/unix/sysv/linux/configure: Regenerated.
41743 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
41745         [BZ #16151]
41746         * stdlib/strtod_l.c (round_and_return): Do not consider
41747         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
41748         exponent one less than half the least subnormal exponent.
41749         * stdlib/test-strtod-round-data: Add more tests.
41750         * stdlib/tst-strtod-round.c (tests): Regenerated.
41752 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41754         [BZ #14143]
41755         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
41756         (__fe_mask_env): Likewise.
41757         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
41758         libm_hidden_proto and add function prototype.
41759         (__fe_mask_env): Add function prototype.
41760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41761         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
41762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41763         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
41764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41765         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
41767 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41769         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
41770         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
41772 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41774         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
41775         of htab_find_slot().
41777 2013-11-11  David S. Miller  <davem@davemloft.net>
41779         [BZ #16150]
41780         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
41781         symbol in the non-vis3 case in static builds.
41782         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
41783         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
41784         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
41785         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
41787 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
41789         [BZ #387]
41790         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
41791         it is empty.
41793 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41795         * benchtests/Makefile: Add bench-strtod.
41796         * benchtests/bench-strtod.c: New file: strtod benchtest
41798 2013-11-11  Andreas Schwab  <schwab@suse.de>
41800         [BZ #16153]
41801         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
41802         terminating NUL in key length.
41804 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41806         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41807         Add artificial ODP entry for vDSO symbol for PPC64.
41808         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
41809         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
41811 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41813         [BZ #15374]
41814         * nss/getent.c (services_keys): Recognize services starting with digit.
41816 2013-11-06  David S. Miller  <davem@davemloft.net>
41818         [BZ #15985]
41819         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
41820         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
41822 2013-11-06  Will Newton  <will.newton@linaro.org>
41824         * manual/memory.texi (Malloc Examples): Remove register
41825         keyword from examples.
41827 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
41829         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
41831 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
41833         [BZ #6981]
41834         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
41835         depending on [__GCC_IEC_559 > 0].
41836         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
41837         depending on [__GCC_IEC_559_COMPLEX > 0].
41839 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
41841         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
41842         to iso-639.def.
41844 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
41846         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
41848 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
41850         [BZ #16112]
41851         * malloc/malloc (malloc_info): Do not handle first bin as
41852         special case.
41854 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
41856         * locale/iso-639.def: Add Central Nahuatl (nhn).
41858 2013-11-01  Bruno Haible  <bruno@clisp.org>
41860         [BZ #7003]
41861         * manual/math.texi (BSD Random): Specify range upper bound as
41862         in POSIX.
41864 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
41866         * locale/iso-639.def: Add Meadow Mari (mhr).
41868 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
41870         [BZ #14752], [BZ #15763]
41871         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
41872         Validate name.
41873         * rt/tst_shm.c: Add test for escaping directory.
41875 2013-10-31  Andreas Schwab  <schwab@suse.de>
41877         [BZ #15917]
41878         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
41879         followed by 'x' as part of digit sequence.
41880         * stdio-common/tst-sscanf.c (double_tests2): New tests.
41882 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
41884         [BZ #16037]
41885         * configure.ac: allow GNU Make 4.0 and greater.
41886         * configure: Regenerated.
41888 2013-10-30  Will Newton  <will.newton@linaro.org>
41890         [BZ #16038]
41891         * malloc/hooks.c (memalign_check): Limit alignment to the
41892         maximum representable power of two.
41893         * malloc/malloc.c (__libc_memalign): Likewise.
41894         * malloc/tst-memalign.c (do_test): Add test for very
41895         large alignment values.
41896         * malloc/tst-posix_memalign.c (do_test): Likewise.
41898 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41900         [BZ #11087]
41901         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
41902         (munmap_chunk): Likewise.
41903         (mremap_chunk): Likewise.
41905 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41907         [BZ #15799]
41908         * stdlib/div.c (div): Remove obsolete code.
41909         * stdlib/ldiv.c (ldiv): Likewise.
41910         * stdlib/lldiv.c (lldiv): Likewise.
41912 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41914         [BZ #16071]
41915         * nss/nss_files/files-XXX.c (get_contents_ret): New
41916         enumerator.
41917         (get_contents): New function.
41918         (internal_getent): Use it.  Expand size of LINEBUFLEN.
41920 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
41922         * configure.in: Moved to ...
41923         * configure.ac: ... here. Change reference to configure.in
41924         to configure.ac.
41925         * sysdeps/arm/preconfigure.ac: ... here.
41926         configure.in to configure.ac.
41927         * sysdeps/gnu/configure.in: Moved to ...
41928         * sysdeps/gnu/configure.ac: ... here.
41929         * sysdeps/i386/configure.in: Moved to ...
41930         * sysdeps/i386/configure.ac: ... here.
41931         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
41932         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
41933         * sysdeps/mach/configure.in: Moved to ...
41934         * sysdeps/mach/configure.ac: ... here.
41935         * sysdeps/mach/hurd/configure.in: Moved to ...
41936         * sysdeps/mach/hurd/configure.ac: ... here.
41937         * sysdeps/powerpc/configure.in: Moved to ...
41938         * sysdeps/powerpc/configure.ac: ... here.
41939         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
41940         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
41941         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
41942         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
41943         * sysdeps/s390/s390-32/configure.in: Moved to ...
41944         * sysdeps/s390/s390-32/configure.ac: ... here.
41945         * sysdeps/s390/s390-64/configure.in: Moved to ...
41946         * sysdeps/s390/s390-64/configure.ac: ... here.
41947         * sysdeps/sh/configure.in: Moved to ...
41948         * sysdeps/sh/configure.ac: ... here.
41949         * sysdeps/sparc/configure.in: Moved to ...
41950         * sysdeps/sparc/configure.ac: ... here.
41951         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
41952         * sysdeps/unix/sysv/linux/configure.ac: ... here.
41953         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
41954         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
41955         * sysdeps/x86_64/configure.in: Moved to ...
41956         * sysdeps/x86_64/configure.ac: ... here.
41957         * sysdeps/x86_64/preconfigure.in: Moved to ...
41958         * sysdeps/x86_64/preconfigure.ac: ... here.
41959         * aclocal.m4: Change reference to configure.in to configure.ac.
41960         * config.h.in: Likewise.
41961         * manual/install.texi: Likewise.
41962         * manual/maint.texi: Likewise.
41963         * Makefile: Likewise.
41964         * malloc/Makefile: Likewise.
41965         * nscd/Makefile: Likewise.
41966         * Makeconfig: Change reference to configure.in and
41967         preconfigure.in to configure.ac and preconfigure.ac
41968         respectively.
41969         * INSTALL: Regenerated.
41970         * configure: Likewise.
41971         * sysdeps/gnu/configure: Likewise.
41972         * sysdeps/i386/configure: Likewise.
41973         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
41974         * sysdeps/mach/configure: Likewise.
41975         * sysdeps/mach/hurd/configure: Likewise.
41976         * sysdeps/powerpc/configure: Likewise.
41977         * sysdeps/powerpc/powerpc32/configure: Likewise.
41978         * sysdeps/powerpc/powerpc64/configure: Likewise.
41979         * sysdeps/s390/s390-32/configure: Likewise.
41980         * sysdeps/s390/s390-64/configure: Likewise.
41981         * sysdeps/sh/configure: Likewise.
41982         * sysdeps/sparc/configure: Likewise.
41983         * sysdeps/unix/sysv/linux/configure: Likewise.
41984         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
41985         * sysdeps/x86_64/configure: Likewise.
41986         * sysdeps/x86_64/preconfigure: Likewise.
41988 2013-10-29  Andreas Schwab  <schwab@suse.de>
41990         * stdio-common/Makefile (tst-swscanf-ENV): Define.
41992 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41994         * benchtests/pow-inputs: Add new inputs.
41996         * benchtests/exp-inputs: Add new inputs.
41998         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
41999         conditional check for return value.
42000         (__cos32): Likewise.
42002 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42004         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
42005         to provide a boost for large inputs with word alignment.
42006         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
42007         implementation based on optimized PPC64 strcpy.
42008         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
42009         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
42010         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
42011         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
42013 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42015         [BZ #2801]
42016         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
42018 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42020         [BZ #14876]
42021         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
42022         * time/tst-strptime.c (day_tests): Add testcase.
42024 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
42026         [BZ #14029]
42027         * manual/pattern.texi: Acknowledge that fnmatch can fail.
42029 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
42031         [BZ #16074]
42032         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
42033         MAP_FAILED on error.
42035 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42037         [BZ #16072]
42038         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
42039         heap for large requests.
42041 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
42043         [BZ #9954]
42044         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
42045         result if the result has no associated interface.
42046         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
42047         interface for all 127.X.Y.Z addresses.
42049 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
42051         * locale/iso-639.def: Add Ligurian (lij)
42053 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
42055         [BZ #15825]
42056         * sunrpc/rpc_main.c: Document rpcgen -5.
42058 2013-10-19  Michael Stahl  <mstahl@redhat.com>
42060         * elf/rtld.c (do_preload): Print the reason why preloading failed.
42062 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42064         [BZ #10278]
42065         * posix/glob.c: Match only directories when trailing slash is present.
42066         * posix/tst-gnuglob.c (my_opendir): Do not open files.
42067         (main): Add testcase.
42069 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
42071         [BZ #15670]
42072         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
42074 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
42076         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
42077         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
42078         AUTH_DES and cindex for FIPS 140-2.
42079         (DES Encryption): Add cindex FIPS 46-3.
42081         * locale/locarchive.h (struct locarhandle): Add fname.
42082         * locale/programs/localedef.c (main): Pass ARGV[remaining]
42083         if an optional argument was specified to --list-archive,
42084         otherwise NULL.
42085         * locale/programs/locarchive.c (show_archive_content): Take new
42086         argument fname and pass it via ah.fname to open_archive.
42087         * locale/programs/localedef.h: Update decl.
42088         (open_archive): If AH->fname is non-null, open that file
42089         rather than the default file name, and don't ignore ENOENT.
42090         (create_archive): Set AH.fname to NULL.
42091         (delete_locales_from_archive): Likewise.
42092         (add_locales_to_archive): Likewise.
42093         * locale/programs/locfile.c (write_all_categories): Likewise.
42095 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
42096             Aldy Hernandez  <aldyh@redhat.com>
42098         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
42099         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
42100         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
42101         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
42102         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
42103         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
42104         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
42105         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
42106         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
42107         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
42108         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
42109         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
42110         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
42111         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
42112         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
42113         Likewise.
42114         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
42115         Likewise.
42116         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
42117         Likewise.
42118         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
42119         Likewise.
42120         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
42121         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
42122         Likewise.
42123         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
42124         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
42125         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
42126         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
42127         Likewise.
42128         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
42129         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
42130         * sysdeps/powerpc/preconfigure: Likewise.
42131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
42132         Likewise.
42133         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
42134         Replace contents of file by #include of <fenv_libc.h>.
42135         * sysdeps/powerpc/soft-fp/sfp-machine.h
42136         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
42137         and <sys/prctl.h>.
42138         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
42139         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
42140         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
42141         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
42142         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
42143         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
42144         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
42145         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
42146         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
42147         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
42148         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
42149         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
42150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42151         Allow copysignl PLT reference to be missing.
42153 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
42154             Joseph Myers  <joseph@codesourcery.com
42156         [BZ #15948]
42157         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
42158         single character.
42159         (add_to_tablewc): Assert sequence of wide characters is nonempty.
42161 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42163         * elf/tst-tls-dlinfo.c: Don't include tls.h.
42164         * elf/tst-tls1.c: Likewise.
42165         * elf/tst-tls10.h: Likewise.
42166         * elf/tst-tls14.c: Likewise.
42167         * elf/tst-tls2.c: Likewise.
42168         * elf/tst-tls3.c: Likewise.
42169         * elf/tst-tls4.c: Likewise.
42170         * elf/tst-tls5.c: Likewise.
42171         * elf/tst-tls6.c: Likewise.
42172         * elf/tst-tls7.c: Likewise.
42173         * elf/tst-tls8.c: Likewise.
42174         * elf/tst-tls9.c: Likewise.
42175         * elf/tst-tlsmod1.c: Likewise.
42176         * elf/tst-tlsmod13.c: Likewise.
42177         * elf/tst-tlsmod13a.c: Likewise.
42178         * elf/tst-tlsmod14a.c: Likewise.
42179         * elf/tst-tlsmod16a.c: Likewise.
42180         * elf/tst-tlsmod16b.c: Likewise.
42181         * elf/tst-tlsmod2.c: Likewise.
42182         * elf/tst-tlsmod3.c: Likewise.
42183         * elf/tst-tlsmod4.c: Likewise.
42184         * elf/tst-tlsmod5.c: Likewise.
42185         * elf/tst-tlsmod6.c: Likewise.
42187 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
42189         [BZ #12486]
42190         * malloc/malloc.c: remove checks for statistics.
42192 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42194         [BZ #15277]
42195         * inet/inet_net.c (inet_network): Detect additional invalid strings.
42196         * inet/tst-network.c: Add testcase.
42198 2013-10-17  Andreas Schwab  <schwab@suse.de>
42200         [BZ #15218]
42201         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
42202         to determine canonical name.
42204 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42206         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
42207         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
42208         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42209         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42210         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42211         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42212         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42213         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42214         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42215         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42216         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42217         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42218         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42219         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42220         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42221         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42222         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42223         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42224         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42225         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42226         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42227         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42228         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42229         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
42230         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
42231         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42232         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42233         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
42234         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42235         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
42236         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42237         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42238         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42239         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42240         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42241         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42242         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42243         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42244         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42245         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42246         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42247         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42248         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42249         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42250         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42251         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42252         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42253         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42254         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42255         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42256         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42257         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42258         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42259         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42260         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42261         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42262         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42263         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42265 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
42267         [BZ #16041]
42268         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
42269         make result into a quiet NaN.
42271 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
42273         * soft-fp/adddf3.c: Fix horizontal whitespace.
42274         * soft-fp/addsf3.c: Likewise.
42275         * soft-fp/addtf3.c: Likewise.
42276         * soft-fp/divdf3.c: Likewise.
42277         * soft-fp/divsf3.c: Likewise.
42278         * soft-fp/divtf3.c: Likewise.
42279         * soft-fp/double.h: Likewise.
42280         * soft-fp/eqdf2.c: Likewise.
42281         * soft-fp/eqsf2.c: Likewise.
42282         * soft-fp/eqtf2.c: Likewise.
42283         * soft-fp/extenddftf2.c: Likewise.
42284         * soft-fp/extended.h: Likewise.
42285         * soft-fp/extendsfdf2.c: Likewise.
42286         * soft-fp/extendsftf2.c: Likewise.
42287         * soft-fp/extendxftf2.c: Likewise.
42288         * soft-fp/fixdfdi.c: Likewise.
42289         * soft-fp/fixdfsi.c: Likewise.
42290         * soft-fp/fixdfti.c: Likewise.
42291         * soft-fp/fixsfdi.c: Likewise.
42292         * soft-fp/fixsfsi.c: Likewise.
42293         * soft-fp/fixsfti.c: Likewise.
42294         * soft-fp/fixtfdi.c: Likewise.
42295         * soft-fp/fixtfsi.c: Likewise.
42296         * soft-fp/fixtfti.c: Likewise.
42297         * soft-fp/fixunsdfdi.c: Likewise.
42298         * soft-fp/fixunsdfsi.c: Likewise.
42299         * soft-fp/fixunsdfti.c: Likewise.
42300         * soft-fp/fixunssfdi.c: Likewise.
42301         * soft-fp/fixunssfsi.c: Likewise.
42302         * soft-fp/fixunssfti.c: Likewise.
42303         * soft-fp/fixunstfdi.c: Likewise.
42304         * soft-fp/fixunstfsi.c: Likewise.
42305         * soft-fp/fixunstfti.c: Likewise.
42306         * soft-fp/floatdidf.c: Likewise.
42307         * soft-fp/floatdisf.c: Likewise.
42308         * soft-fp/floatditf.c: Likewise.
42309         * soft-fp/floatsidf.c: Likewise.
42310         * soft-fp/floatsisf.c: Likewise.
42311         * soft-fp/floatsitf.c: Likewise.
42312         * soft-fp/floattidf.c: Likewise.
42313         * soft-fp/floattisf.c: Likewise.
42314         * soft-fp/floattitf.c: Likewise.
42315         * soft-fp/floatundidf.c: Likewise.
42316         * soft-fp/floatundisf.c: Likewise.
42317         * soft-fp/floatunditf.c: Likewise.
42318         * soft-fp/floatunsidf.c: Likewise.
42319         * soft-fp/floatunsisf.c: Likewise.
42320         * soft-fp/floatunsitf.c: Likewise.
42321         * soft-fp/floatuntidf.c: Likewise.
42322         * soft-fp/floatuntisf.c: Likewise.
42323         * soft-fp/floatuntitf.c: Likewise.
42324         * soft-fp/fmadf4.c: Likewise.
42325         * soft-fp/fmasf4.c: Likewise.
42326         * soft-fp/fmatf4.c: Likewise.
42327         * soft-fp/gedf2.c: Likewise.
42328         * soft-fp/gesf2.c: Likewise.
42329         * soft-fp/getf2.c: Likewise.
42330         * soft-fp/ledf2.c: Likewise.
42331         * soft-fp/lesf2.c: Likewise.
42332         * soft-fp/letf2.c: Likewise.
42333         * soft-fp/muldf3.c: Likewise.
42334         * soft-fp/mulsf3.c: Likewise.
42335         * soft-fp/multf3.c: Likewise.
42336         * soft-fp/negdf2.c: Likewise.
42337         * soft-fp/negsf2.c: Likewise.
42338         * soft-fp/negtf2.c: Likewise.
42339         * soft-fp/op-1.h: Likewise.
42340         * soft-fp/op-2.h: Likewise.
42341         * soft-fp/op-4.h: Likewise.
42342         * soft-fp/op-8.h: Likewise.
42343         * soft-fp/op-common.h: Likewise.
42344         * soft-fp/quad.h: Likewise.
42345         * soft-fp/single.h: Likewise.
42346         * soft-fp/soft-fp.h: Likewise.
42347         * soft-fp/sqrtdf2.c: Likewise.
42348         * soft-fp/sqrtsf2.c: Likewise.
42349         * soft-fp/sqrttf2.c: Likewise.
42350         * soft-fp/subdf3.c: Likewise.
42351         * soft-fp/subsf3.c: Likewise.
42352         * soft-fp/subtf3.c: Likewise.
42353         * soft-fp/truncdfsf2.c: Likewise.
42354         * soft-fp/trunctfdf2.c: Likewise.
42355         * soft-fp/trunctfsf2.c: Likewise.
42356         * soft-fp/trunctfxf2.c: Likewise.
42357         * soft-fp/unorddf2.c: Likewise.
42358         * soft-fp/unordsf2.c: Likewise.
42359         * soft-fp/unordtf2.c: Likewise.
42361 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
42363         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
42364         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
42366 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
42368         * elf/dl-libc.c: Clear initfini list after freeing.
42370 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
42372         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
42373         * soft-fp/addsf3.c: Likewise.
42374         * soft-fp/addtf3.c: Likewise.
42375         * soft-fp/divdf3.c: Likewise.
42376         * soft-fp/divsf3.c: Likewise.
42377         * soft-fp/divtf3.c: Likewise.
42378         * soft-fp/double.h: Likewise.
42379         * soft-fp/eqdf2.c: Likewise.
42380         * soft-fp/eqsf2.c: Likewise.
42381         * soft-fp/eqtf2.c: Likewise.
42382         * soft-fp/extenddftf2.c: Likewise.
42383         * soft-fp/extended.h: Likewise.
42384         * soft-fp/extendsfdf2.c: Likewise.
42385         * soft-fp/extendsftf2.c: Likewise.
42386         * soft-fp/extendxftf2.c: Likewise.
42387         * soft-fp/fixdfdi.c: Likewise.
42388         * soft-fp/fixdfsi.c: Likewise.
42389         * soft-fp/fixdfti.c: Likewise.
42390         * soft-fp/fixsfdi.c: Likewise.
42391         * soft-fp/fixsfsi.c: Likewise.
42392         * soft-fp/fixsfti.c: Likewise.
42393         * soft-fp/fixtfdi.c: Likewise.
42394         * soft-fp/fixtfsi.c: Likewise.
42395         * soft-fp/fixtfti.c: Likewise.
42396         * soft-fp/fixunsdfdi.c: Likewise.
42397         * soft-fp/fixunsdfsi.c: Likewise.
42398         * soft-fp/fixunsdfti.c: Likewise.
42399         * soft-fp/fixunssfdi.c: Likewise.
42400         * soft-fp/fixunssfsi.c: Likewise.
42401         * soft-fp/fixunssfti.c: Likewise.
42402         * soft-fp/fixunstfdi.c: Likewise.
42403         * soft-fp/fixunstfsi.c: Likewise.
42404         * soft-fp/fixunstfti.c: Likewise.
42405         * soft-fp/floatdidf.c: Likewise.
42406         * soft-fp/floatdisf.c: Likewise.
42407         * soft-fp/floatditf.c: Likewise.
42408         * soft-fp/floatsidf.c: Likewise.
42409         * soft-fp/floatsisf.c: Likewise.
42410         * soft-fp/floatsitf.c: Likewise.
42411         * soft-fp/floattidf.c: Likewise.
42412         * soft-fp/floattisf.c: Likewise.
42413         * soft-fp/floattitf.c: Likewise.
42414         * soft-fp/floatundidf.c: Likewise.
42415         * soft-fp/floatundisf.c: Likewise.
42416         * soft-fp/floatunsidf.c: Likewise.
42417         * soft-fp/floatunsisf.c: Likewise.
42418         * soft-fp/floatuntidf.c: Likewise.
42419         * soft-fp/floatuntisf.c: Likewise.
42420         * soft-fp/floatuntitf.c: Likewise.
42421         * soft-fp/fmadf4.c: Likewise.
42422         * soft-fp/fmasf4.c: Likewise.
42423         * soft-fp/fmatf4.c: Likewise.
42424         * soft-fp/gedf2.c: Likewise.
42425         * soft-fp/gesf2.c: Likewise.
42426         * soft-fp/getf2.c: Likewise.
42427         * soft-fp/ledf2.c: Likewise.
42428         * soft-fp/lesf2.c: Likewise.
42429         * soft-fp/letf2.c: Likewise.
42430         * soft-fp/muldf3.c: Likewise.
42431         * soft-fp/mulsf3.c: Likewise.
42432         * soft-fp/multf3.c: Likewise.
42433         * soft-fp/negdf2.c: Likewise.
42434         * soft-fp/negsf2.c: Likewise.
42435         * soft-fp/negtf2.c: Likewise.
42436         * soft-fp/op-1.h: Likewise.
42437         * soft-fp/op-2.h: Likewise.
42438         * soft-fp/op-4.h: Likewise.
42439         * soft-fp/op-8.h: Likewise.
42440         * soft-fp/op-common.h: Likewise.
42441         * soft-fp/quad.h: Likewise.
42442         * soft-fp/single.h: Likewise.
42443         * soft-fp/soft-fp.h: Likewise.
42444         * soft-fp/sqrtdf2.c: Likewise.
42445         * soft-fp/sqrtsf2.c: Likewise.
42446         * soft-fp/sqrttf2.c: Likewise.
42447         * soft-fp/subdf3.c: Likewise.
42448         * soft-fp/subsf3.c: Likewise.
42449         * soft-fp/subtf3.c: Likewise.
42450         * soft-fp/truncdfsf2.c: Likewise.
42451         * soft-fp/trunctfdf2.c: Likewise.
42452         * soft-fp/trunctfsf2.c: Likewise.
42453         * soft-fp/trunctfxf2.c: Likewise.
42454         * soft-fp/unorddf2.c: Likewise.
42455         * soft-fp/unordsf2.c: Likewise.
42456         * soft-fp/unordtf2.c: Likewise.
42458 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
42460         [BZ #15672]
42461         * misc/error.c (error_tail): Fix possible buffer overflow.
42463 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
42465         [BZ #13028]
42466         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
42467         address.
42469 2013-10-14  P. J. McDermott  <pj@pehjota.net>
42471         [BZ #832]
42472         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
42473         testing pipefail option.
42475 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42477         * soft-fp/double.h: Indent preprocessor directives inside #if.
42478         * soft-fp/extended.h: Likewise.
42479         * soft-fp/op-2.h: Likewise.
42480         * soft-fp/op-4.h: Likewise.
42481         * soft-fp/op-common.h: Likewise.
42482         * soft-fp/quad.h: Likewise.
42483         * soft-fp/single.h: Likewise.
42484         * soft-fp/soft-fp.h: Likewise.
42486 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
42488         * iconv/iconv_prog.c: Fix typos.
42489         * stdio-common/psiginfo-data.h: Likewise.
42491 2013-10-12   Reuben Thomas <rrt@sc3d.org>
42493         [BZ #15764]
42494         * locale/setlocale.c: Fix typo.
42496 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42498         [BZ #16036]
42499         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
42500         signaling NaN arguments.
42501         * soft-fp/unordsf2.c (__unordsf2): Likewise.
42502         * soft-fp/unordtf2.c (__unordtf2): Likewise.
42504         [BZ #14910]
42505         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
42506         unordered operands.
42507         * soft-fp/gesf2.c (__gesf2): Likewise.
42508         * soft-fp/getf2.c (__getf2): Likewise.
42509         * soft-fp/ledf2.c (__ledf2): Likewise.
42510         * soft-fp/lesf2.c (__lesf2): Likewise.
42511         * soft-fp/letf2.c (__letf2): Likewise.
42513         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
42514         * soft-fp/eqsf2.c (__eqsf2): Likewise.
42515         * soft-fp/eqtf2.c (__eqtf2): Likewise.
42516         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
42517         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
42518         * soft-fp/fixdfti.c (__fixdfti): Likewise.
42519         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
42520         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
42521         * soft-fp/fixsfti.c (__fixsfti): Likewise.
42522         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
42523         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
42524         * soft-fp/fixtfti.c (__fixtfti): Likewise.
42525         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
42526         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
42527         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
42528         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
42529         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
42530         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
42531         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
42532         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
42533         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
42534         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
42535         * soft-fp/floatdisf.c (__floatdisf): Likewise.
42536         * soft-fp/floatsisf.c (__floatsisf): Likewise.
42537         * soft-fp/floattidf.c (__floattidf): Likewise.
42538         * soft-fp/floattisf.c (__floattisf): Likewise.
42539         * soft-fp/floattitf.c (__floattitf): Likewise.
42540         * soft-fp/floatundidf.c (__floatundidf): Likewise.
42541         * soft-fp/floatundisf.c (__floatundisf): Likewise.
42542         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
42543         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
42544         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
42545         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
42546         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
42547         * soft-fp/gesf2.c (__gesf2): Likewise.
42548         * soft-fp/getf2.c (__getf2): Likewise.
42549         * soft-fp/ledf2.c (__ledf2): Likewise.
42550         * soft-fp/lesf2.c (__lesf2): Likewise.
42551         * soft-fp/letf2.c (__letf2): Likewise.
42553         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
42554         Undefine and redefine.
42555         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
42556         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
42557         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
42558         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
42559         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42560         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
42561         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42562         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
42563         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42564         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
42565         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42566         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
42567         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42568         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
42569         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42571         [BZ #16032]
42572         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
42573         without decrementing exponent if mantissa >= that for the
42574         denominator, not >.
42575         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
42576         denominator, not >.  Decrement exponent in < case instead of
42577         incrementing in >= case.
42578         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
42579         without decrementing exponent if mantissa >= that for the
42580         denominator, not >.
42582         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
42583         computing saturated result for unsigned overflow.
42585 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42586             Jeff Law  <law@redhat.com>
42588         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
42589         (atan2Mp): Add systemtap probe marker.
42590         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
42591         (__ieee754_log): Add systemtap probe marker.
42592         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
42593         (atanMp): Add systemtap probe marker.
42594         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
42595         (tanMp): Add systemtap probe marker.
42596         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
42597         (__slowexp): Add systemtap probe marker.
42598         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
42599         (__slowpow): Add systemtap probe marker.
42600         * manual/probes.texi: Document probes.
42602 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
42604         [BZ #15362]
42605         * libio/fileops.c (_IO_new_file_write): Return count of bytes
42606         written.
42607         (_IO_new_file_xsputn): Don't return EOF if nothing has been
42608         written.
42609         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
42610         written to buffer but not flushed.
42611         * libio/iofwrite_u.c:  Likewise.
42612         * libio/iopadn.c:  Return bytes returned even if EOF was
42613         encountered.
42614         * libio/iowpadn.c:  Likewise.
42615         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
42616         if _IO_padn does not write the whole buffer.
42617         [!COMPILE_WPRINTF] (PAD): Likewise.
42619 2013-10-10  David S. Miller  <davem@davemloft.net>
42621         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
42622         directory block.
42624 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42626         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
42627         instead of FSF address.
42628         * soft-fp/fixdfti.c: Likewise.
42629         * soft-fp/fixsfti.c: Likewise.
42630         * soft-fp/fixtfti.c: Likewise.
42631         * soft-fp/fixunsdfti.c: Likewise.
42632         * soft-fp/fixunssfti.c: Likewise.
42633         * soft-fp/fixunstfti.c: Likewise.
42634         * soft-fp/floattidf.c: Likewise.
42635         * soft-fp/floattisf.c: Likewise.
42636         * soft-fp/floattitf.c: Likewise.
42637         * soft-fp/floatuntidf.c: Likewise.
42638         * soft-fp/floatuntisf.c: Likewise.
42639         * soft-fp/floatuntitf.c: Likewise.
42640         * soft-fp/trunctfxf2.c: Likewise.
42642         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
42643         * soft-fp/fixdfti.c: Likewise.
42644         * soft-fp/fixsfti.c: Likewise.
42645         * soft-fp/fixtfti.c: Likewise.
42646         * soft-fp/fixunsdfti.c: Likewise.
42647         * soft-fp/fixunssfti.c: Likewise.
42648         * soft-fp/fixunstfti.c: Likewise.
42649         * soft-fp/floattidf.c: Likewise.
42650         * soft-fp/floattisf.c: Likewise.
42651         * soft-fp/floattitf.c: Likewise.
42652         * soft-fp/floatuntidf.c: Likewise.
42653         * soft-fp/floatuntisf.c: Likewise.
42654         * soft-fp/floatuntitf.c: Likewise.
42655         * soft-fp/trunctfxf2.c: Likewise.
42657 2013-10-10  David S. Miller  <davem@davemloft.net>
42659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42661 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
42663         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42664         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
42665         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
42666         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
42667         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
42668         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
42669         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
42671         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
42672         for NaNs before doing comparisons on argument.
42673         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
42674         Likewise.
42676 2013-10-10  Will Newton  <will.newton@linaro.org>
42678         * malloc/hooks.c (memalign_check): Ensure the value of bytes
42679         passed to _int_memalign does not overflow.
42681 2013-10-10  Torvald Riegel  <triegel@redhat.com>
42683         * scripts/bench.pl: Add include-sources directive.
42684         * benchtests/README: Update documentation.
42686 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42688         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
42689         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
42690         instead of FP_INIT_ROUNDMODE.
42691         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
42692         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
42694         [BZ #16034]
42695         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
42696         copy class of input value.
42697         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
42698         not handle exceptions.
42699         * soft-fp/negsf2.c (__negsf2): Likewise.
42700         * soft-fp/negtf2.c (__negtf2): Likewise.
42701         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
42703 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
42705         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
42706         semicolon.  From Linux kernel.
42708 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
42710         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
42712 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
42714         [BZ #156]
42715         * manual/socket.texi: Added statement about buffer
42716         for gethostbyname2_r.
42718 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
42720         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
42721         Use .p2align directive instead, throughout.
42722         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42723         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
42724         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
42725         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42726         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42727         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
42728         * sysdeps/x86_64/strchr.S: Likewise.
42729         * sysdeps/x86_64/strrchr.S: Likewise.
42731 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42733         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
42735         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
42737         * sysdeps/generic/math_private.h (__mpsin1): Remove
42738         declaration.
42739         (__mpcos1): Likewise.
42740         (__mpsin): New argument __range_reduce.
42741         (__mpcos): Likewise.
42742         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42743         (slow): Use __mpsin and __mpcos.
42744         (slow1): Likewise.
42745         (slow2): Likewise.
42746         (sloww): Likewise.
42747         (sloww1): Likewise.
42748         (sloww2): Likewise.
42749         (bsloww): Likewise.
42750         (bsloww1): Likewise.
42751         (bsloww2): Likewise.
42752         (cslow2): Likewise.
42753         (csloww): Likewise.
42754         (csloww1): Likewise.
42755         (csloww2): Likewise.
42756         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
42757         range_reduce.  Merge in __mpsin1.
42758         (__mpcos): Likewise.
42759         (__mpsin1): Remove.
42760         (__mpcos1): Likewise.
42762 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
42764         * locale/loadlocale.c (_nl_intern_locale_data): Use
42765         LOCFILE_ALIGNED_P.
42766         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
42767         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
42768         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
42769         obstack data is appropriately aligned.
42770         (obstack_int32_grow_fast): Likewise.
42771         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
42772         * locale/programs/locfile.c (add_locale_uint32): Likewise.
42773         (add_locale_uint32_array): Likewise.
42775 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42777         * benchtests/Makefile: Remove ARGLIST and RET variables.
42778         ($(objpfx)bench-%.c): Pass only function name to the script.
42779         * benchtests/README: Update documentation.
42780         * benchtests/acos-inputs: Add new directives.
42781         * benchtests/acosh-inputs: Likewise.
42782         * benchtests/asin-inputs: Likewise.
42783         * benchtests/asinh-inputs: Likewise.
42784         * benchtests/atan-inputs: Likewise.
42785         * benchtests/atanh-inputs: Likewise.
42786         * benchtests/cos-inputs: Likewise.
42787         * benchtests/cosh-inputs: Likewise.
42788         * benchtests/exp-inputs: Likewise.
42789         * benchtests/log-inputs: Likewise.
42790         * benchtests/pow-inputs: Likewise.
42791         * benchtests/rint-inputs: Likewise.
42792         * benchtests/sin-inputs: Likewise.
42793         * benchtests/sinh-inputs: Likewise.
42794         * benchtests/tan-inputs: Likewise.
42795         * benchtests/tanh-inputs: Likewise.
42796         * scripts/bench.pl: Add support for new directives.
42798 2013-10-07  Alan Modra  <amodra@gmail.com>
42800         * README: Fix careless merge.
42802 2013-10-05  Alan Modra  <amodra@gmail.com>
42804         * NEWS: Mention powerpc64le support and bugs fixed.
42805         * README: Both big-endian and little-endian powerpc64 supported.
42807 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42809         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
42810         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
42811         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
42812         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
42814 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
42816         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
42817         match prototype.
42819 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
42821         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
42822         Move -mhard-float appending from
42823         ports/sysdeps/powerpc/powerpc32/Makefile.
42824         [$(with-fp) = yes] (ASFLAGS): Likewise.
42825         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
42826         * sysdeps/powerpc/nofpu: Move directory from
42827         ports/sysdeps/powerpc/nofpu.
42828         * sysdeps/powerpc/soft-fp: Move directory from
42829         ports/sysdeps/powerpc/soft-fp.
42830         * sysdeps/powerpc/powerpc32/405: Move directory from
42831         ports/sysdeps/powerpc/powerpc32/405.
42832         * sysdeps/powerpc/powerpc32/440: Move directory from
42833         ports/sysdeps/powerpc/powerpc32/440.
42834         * sysdeps/powerpc/powerpc32/464: Move directory from
42835         ports/sysdeps/powerpc/powerpc32/464.
42836         * sysdeps/powerpc/powerpc32/476: Move directory from
42837         ports/sysdeps/powerpc/powerpc32/476.
42838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
42839         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
42840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
42841         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
42842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
42843         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
42844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
42845         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
42846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
42847         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
42848         * README: Update for powerpc-*-linux-gnu software floating point
42849         support in libc.
42851         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
42852         case to powerpc/powerpc32*.
42853         * sysdeps/unix/sysv/linux/configure: Regenerated.
42855         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
42856         (_FPU_MASK_OM): Define as 0x04.
42857         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
42858         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
42859         0x00c10080.
42860         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
42861         0x0000003c.
42862         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
42864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
42865         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42866         getcontext_e500.
42867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
42868         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42869         setcontext_e500.
42870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
42871         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
42872         and setcontext_e500.
42874 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
42876         * locale/iso-3166.def: Update iso-1366.def and related occurrences
42878 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42880         * manual/threads.texi (Default Thread Attributes): Fix typo.
42882 2013-10-04  Will Newton  <will.newton@linaro.org>
42884         * malloc/Makefile: Add tst-memalign.
42885         * malloc/tst-memalign.c: New file.
42887         * malloc/tst-posix_memalign.c: Add comments.
42888         (do_test): Add comments and call free on all potentially
42889         allocated pointers. Add space after cast.
42891         * malloc/tst-pvalloc.c: Add comments.
42892         (do_test): Add comments and call free on all potentially
42893         allocated pointers. Remove duplicate check for NULL pointer.
42894         Add space after cast.
42896         * malloc/tst-valloc.c: Add comments.
42897         (do_test): Add comments and call free on all potentially
42898         allocated pointers. Remove duplicate check for NULL pointer.
42899         Add space after cast.
42901 2013-10-04  Alan Modra  <amodra@gmail.com>
42903         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42904         Use stdint types in rather than __attribute__((mode())).
42905         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42907 2013-10-04  Alan Modra  <amodra@gmail.com>
42909         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42910         Correct handling of unaligned relocs for little-endian.
42911         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42913 2013-10-04  Alan Modra  <amodra@gmail.com>
42915         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
42916         * configure: Regenerate.
42917         * nptl/shlib-versions: Powerpc*le starts at 2.18.
42918         * shlib-versions: Likewise.
42920 2013-10-04  Alan Modra  <amodra@gmail.com>
42922         * string/tester.c (test_memrchr): Increment reported test cycle.
42924 2013-10-04  Alan Modra  <amodra@gmail.com>
42926         * string/test-memcpy.c (do_one_test): When reporting errors, print
42927         string address and don't overrun end of string.
42929 2013-10-04  Alan Modra  <amodra@gmail.com>
42931         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
42932         insrdi.  Make better use of reg selection to speed exit slightly.
42933         Schedule entry path a little better.  Remove useless "are we done"
42934         checks on entry to main loop.  Handle wrapping around zero address.
42935         Correct main loop count.  Handle single left-over word from main
42936         loop inline rather than by using loop_small.  Remove extra word
42937         case in loop_small caused by wrong loop count.  Add little-endian
42938         support.
42939         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42940         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
42941         cache hint.
42942         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42943         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
42944         support.  Avoid rlwimi.
42945         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
42947 2013-10-04  Alan Modra  <amodra@gmail.com>
42949         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
42950         insrdi.  Formatting.
42951         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
42952         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42953         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42954         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42955         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42956         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
42958 2013-10-04  Alan Modra  <amodra@gmail.com>
42960         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
42961         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42962         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
42963         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
42964         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42965         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42966         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42967         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42968         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
42969         use of regs.  Use power7 mtocrf.  Tidy function tails.
42971 2013-10-04  Alan Modra  <amodra@gmail.com>
42973         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
42974         Formatting.  Consistently use rXXX register defines or rN defines.
42975         Use early exit labels that avoid restoring unused non-volatile regs.
42976         Make cr field use more consistent with rWORDn compares.  Rename
42977         regs used as shift registers for unaligned loop, using rN defines
42978         for short lifetime/multiple use regs.
42979         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42980         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
42981         addi 1,1,64 to pop stack frame.  Simplify return value code.
42982         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42984 2013-10-04  Alan Modra  <amodra@gmail.com>
42986         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
42987         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
42988         rather than rlwimi.
42989         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
42990         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
42991         little-endian support.  Correct typos.
42992         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
42993         rather than rlwimi.
42994         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
42995         in loop and entry code to keep "and." results.
42996         (strchr): Add little-endian support.  Comment.  Move cntlzd
42997         earlier in tail.
42998         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
43000 2013-10-04  Alan Modra  <amodra@gmail.com>
43002         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
43003         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
43004         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
43005         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
43007 2013-10-04  Alan Modra  <amodra@gmail.com>
43009         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
43010         (rTMP): Define as r11.
43011         (strcmp): Add little-endian support.  Optimise tail.
43012         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
43013         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43014         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43015         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43016         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43017         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43018         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43020 2013-10-04  Alan Modra  <amodra@gmail.com>
43022         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
43023         little-endian support.  Remove unnecessary "are we done" tests.
43024         Handle "s" wrapping around zero and extremely large "size".
43025         Correct main loop count.  Handle single left-over word from main
43026         loop inline rather than by using small_loop.  Correct comments.
43027         Delete "zero" tail, use "end_max" instead.
43028         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
43030 2013-10-04  Alan Modra  <amodra@gmail.com>
43032         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
43033         support.  Don't branch over align.
43034         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
43035         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
43036         support.  Rearrange tmp reg use to suit.  Comment.
43037         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
43039 2013-10-04  Alan Modra  <amodra@gmail.com>
43041         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
43043 2013-10-04  Alan Modra  <amodra@gmail.com>
43045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
43046         conditional form of branch and link when obtaining pc.
43047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43049 2013-10-04  Alan Modra  <amodra@gmail.com>
43051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
43052         HIWORD/LOWORD.
43053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
43054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
43056 2013-10-04  Alan Modra  <amodra@gmail.com>
43058         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
43059         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
43060         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43061         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
43062         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43063         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43064         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
43065         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43066         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43067         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
43069 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43070             Alistair Popple <alistair@ozlabs.au.ibm.com>
43071             Alan Modra <amodra@gmail.com>
43073         [BZ #15723]
43074         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
43075         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
43076         _dl_hwcap access for little-endian.
43077         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
43078         destroy vmx regs when saving unaligned.
43079         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
43080         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
43081         destroy vmx regs when saving unaligned.
43083 2013-10-04  Alan Modra  <amodra@gmail.com>
43085         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
43086         Don't use a union to pack hi/low value.
43088 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43090         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
43091         for little-endian.
43092         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43093         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
43094         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43095         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43096         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43098 2013-10-04  Alan Modra  <amodra@gmail.com>
43100         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
43101         constants to usual value for .cst8 section, and remove redundant
43102         high address load.
43103         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
43104         constant for 0x1p52.  Load little-endian words of double from
43105         correct stack offsets.
43107 2013-10-04  Alan Modra  <amodra@gmail.com>
43109         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
43110         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
43111         words of double from correct stack offsets.
43112         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43113         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
43114         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43115         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43116         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43117         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43118         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43119         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43120         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43121         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43122         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43123         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43124         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43125         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43126         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43127         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
43128         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43130 2013-10-04  Alan Modra  <amodra@gmail.com>
43132         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
43133         64-bit int/double union.
43134         (_FPU_SETCW): Likewise.
43135         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
43136         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
43138 2013-10-04  Alan Modra  <amodra@gmail.com>
43140         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
43141         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
43143 2013-10-04  Alan Modra  <amodra@gmail.com>
43145         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
43146         use vector int constants.
43147         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
43149 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43151         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
43152         array with long long.
43153         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
43154         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
43155         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
43156         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
43157         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
43158         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
43159         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
43160         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
43161         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
43162         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
43163         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
43164         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
43165         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
43167 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
43169         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
43170         (__signbit): Likewise.  Correct for little-endian.
43171         (__signbitl): Call __signbit.
43172         (lrint): Correct for little-endian.
43173         (lrintf): Call lrint.
43175 2013-10-04  Alan Modra  <amodra@gmail.com>
43177         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
43178         union 32-bit int array member with 64-bit int array.
43179         (t515, tm256): Double rather than long double.
43180         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
43182 2013-10-04  Alan Modra  <amodra@gmail.com>
43184         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
43185         Delete.
43186         (IEEE854_LONG_DOUBLE_BIAS): Delete.
43187         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
43188         version of math_ldbl.h.
43190 2013-10-04  Alan Modra  <amodra@gmail.com>
43192         [BZ #15734], [BZ #15735]
43193         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
43194         all uses of ieee875 long double macros and unions.  Simplify test
43195         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
43196         ldbl_extract_mantissa value for ix,iy exponents.  Properly
43197         normalize after ldbl_extract_mantissa, and don't add hidden bit
43198         already handled.  Don't treat low word of ieee854 mantissa like
43199         low word of IBM long double and mask off bit when testing for
43200         zero.
43201         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
43202         all uses of ieee875 long double macros and unions.  Simplify tests
43203         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
43204         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
43205         two1022, instead use their values.  Recognise that tests for large
43206         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
43207         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
43208         Rewrite all uses of ieee875 long double macros and unions.  Simplify
43209         test for 0.0L and nan.  Correct negation.
43210         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
43211         ieee875 long double macros and unions.  Correct output for large
43212         magnitude x.  Correct absolute value calculation.
43213         (__erfcl): Likewise.
43214         * math/libm-test.inc: Add tests for errors discovered in IBM long
43215         double versions of fmodl, remainderl, erfl and erfcl.
43217 2013-10-04  Alan Modra  <amodra@gmail.com>
43219         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
43220         all uses of ieee854 long double macros and unions.  Simplify tests
43221         for long doubles that are fully specified by the high double.
43222         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
43223         Likewise.
43224         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
43225         Remove dead code too.
43226         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
43227         (__ieee754_ynl): Likewise.
43228         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
43229         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
43230         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
43231         Remove dead code too.
43232         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
43233         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
43234         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
43235         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
43236         Simplify.
43237         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
43238         Simplify.
43239         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
43240         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
43241         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
43242         Comment on variable precision.
43243         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
43244         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43245         Likewise.
43246         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
43247         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43248         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43249         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
43250         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
43252 2013-10-04  Alan Modra  <amodra@gmail.com>
43254         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
43255         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
43256         all uses of ieee854 long double macros and unions.
43257         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
43258         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43259         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
43260         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
43261         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
43262         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43263         Likewise.
43264         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
43265         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43266         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
43267         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43268         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
43269         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
43270         Simplify sign and nan test too.
43271         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
43272         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
43273         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
43274         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
43275         Likewise.
43276         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43277         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
43278         Likewise.
43279         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43280         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
43281         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
43282         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
43283         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
43284         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
43286 2013-10-04  Alan Modra  <amodra@gmail.com>
43288         * stdio-common/printf_size.c (__printf_size): Don't use
43289         union ieee854_long_double in fpnum union.
43290         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
43291         signbit macro to retrieve sign from long double.
43292         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
43293         retrieve sign from long double.
43294         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
43295         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
43296         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
43297         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43298         * math/test-misc.c (main): Don't use union ieee854_long_double.
43300 2013-10-04  Alan Modra  <amodra@gmail.com>
43302         [BZ #15680]
43303         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
43304         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
43305         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
43306         calculation.  Remove unnecessary test for denormal exponent.
43307         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
43308         Correct handling of denormals.  Avoid undefined shift behaviour.
43309         Correct normalisation of low mantissa when low double is denormal.
43310         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
43311         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
43312         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
43313         Correct normalisation of low mantissa.  Test for overflow of high
43314         mantissa and normalise.
43315         (ldbl_nearbyint): Use more readable constant for two52.
43316         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
43317         (__mpn_construct_long_double): Fix test for overflow of high
43318         mantissa and correct normalisation.  Avoid undefined shift.
43320 2013-10-04  Alan Modra  <amodra@gmail.com>
43322         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43323         (union ibm_extended_long_double): Define as an array of ieee754_double.
43324         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
43325         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
43326         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
43327         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43328         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43329         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
43330         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43331         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43332         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43333         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
43334         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43336 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
43338         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
43339         page size instead of calling getpagesize.
43341         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
43342         (LOCFILE_ALIGN_MASK): Likewise.
43343         (LOCFILE_ALIGN_UP): Likewise.
43344         (LOCFILE_ALIGNED_P): Likewise.
43345         * locale/programs/ld-collate.c (collate_output): Use the new
43346         macros instead of __alignof__ (int32_t).
43347         * locale/weight.h (findidx): Likewise.
43349 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
43351         [BZ #431]
43352         * manual/string.texi: Fix strncat and wcsncat.
43354 2013-10-03  Brooks Moses  <bmoses@google.com>
43356         [BZ #15915]
43357         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
43358         * Makerules: ...here, and adjust associated comments.
43360 2013-10-02  Will Newton  <will.newton@linaro.org>
43362         * malloc/Makefile: Add tst-pvalloc.
43363         * malloc/tst-pvalloc.c: New file.
43365 2013-10-02  Will Newton  <will.newton@linaro.org>
43367         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
43368         improve test coverage.
43370 2013-10-02  Will Newton  <will.newton@linaro.org>
43372         * malloc/Makefile: Add tst-posix_memalign.
43373         * malloc/tst-posix_memalign.c: New file.
43375 2013-10-01  Eric Blake  <eblake@redhat.com>
43377         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
43378         Use __THROWNL rather than __THROW on static functions.
43380 2013-09-30  Petr Machata  <pmachata@redhat.com>
43382         * elf/elf.h (R_AARCH64_ABS16): New macro.
43383         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
43384         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
43385         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
43386         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
43387         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
43388         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
43389         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
43390         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
43391         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
43392         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
43393         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
43394         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
43395         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
43396         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
43397         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
43398         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
43399         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
43400         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
43401         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
43402         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
43403         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
43404         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
43405         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
43406         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
43407         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
43408         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
43409         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
43410         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
43411         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
43412         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
43413         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
43414         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
43415         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
43416         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
43417         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
43418         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
43419         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
43420         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
43421         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
43422         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
43423         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
43424         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
43425         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
43426         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
43427         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
43428         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
43429         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
43430         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
43431         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
43432         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
43433         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
43434         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
43435         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
43436         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
43437         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
43438         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
43439         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
43440         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
43441         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
43442         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
43443         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
43444         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
43445         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
43446         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
43447         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
43448         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
43449         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
43450         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
43451         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
43452         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
43453         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
43454         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
43455         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
43456         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
43457         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
43458         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
43459         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
43460         (R_AARCH64_TLSDESC_LDR): Likewise.
43461         (R_AARCH64_TLSDESC_ADD): Likewise.
43462         (R_AARCH64_TLSDESC_CALL): Likewise.
43464 2013-09-30  Andreas Schwab  <schwab@suse.de>
43466         [BZ #15048]
43467         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
43468         the nss database lookup.
43469         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43470         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43472 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
43474         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
43476 2013-09-28  P. J. McDermott  <pj@pehjota.net>
43478         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
43479         ${Bash-specific parameter/pattern/string} parameter expansion.
43480         * sysdeps/unix/make-syscalls.sh: Likewise.
43482 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43484         * sysdeps/sh/stackguard-macros.h: New file.
43486 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
43488         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43489         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
43490         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
43491         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
43492         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43493         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
43495 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43497         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
43498         Fix thread ID register.
43500 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
43502         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
43503         [POSIX || UNIX98]: Require rather than permitting all symbols from
43504         <time.h>.
43505         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
43506         element of struct sched_param.
43507         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
43508         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
43509         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
43510         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
43511         constant.
43513 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
43515         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
43516         argument calculation.
43518 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43520         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
43521         Expect macro.
43522         [POSIX] (pthread_attr_t): Do not require type.
43523         [POSIX] (pthread_cond_t): Likewise.
43524         [POSIX] (pthread_condattr_t): Likewise.
43525         [POSIX] (pthread_key_t): Likewise.
43526         [POSIX] (pthread_mutex_t): Likewise.
43527         [POSIX] (pthread_mutexattr_t): Likewise.
43528         [POSIX] (pthread_once_t): Likewise.
43529         [POSIX] (pthread_t): Likewise.
43530         [POSIX-based standards] (pthread_atfork): Expect function.
43532 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43533             Richard Sandiford  <richard@codesourcery.com>
43535         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
43536         (swap_endianness_p): New extern variable.
43537         (set_big_endian): New inline function.
43538         (maybe_swap_uint32): Likewise.
43539         (maybe_swap_uint32_array): Likewise.
43540         (maybe_swap_uint32_obstack): Likewise.
43541         * locale/programs/locfile.c: Include <stdbool.h>.
43542         (swap_endianness_p): New variable.
43543         (add_locale_uint32): Call maybe_swap_uint32.
43544         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
43545         (write_locale_data): Call maybe_swap_uint32_array.
43546         * locale/programs/ld-collate.c (obstack_int32_grow): Call
43547         maybe_swap_uint32.
43548         (obstack_int32_grow_fast): Likewise.
43549         (output_weightwc): Call maybe_swap_uint32_obstack.
43550         (collate_output): Likewise.
43551         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
43552         (OPT_LITTLE_ENDIAN): Likewise.
43553         (options): Add --little-endian and --big-endian options.
43554         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
43555         * locale/programs/locarchive.c: Include "locfile.h".
43556         (GET): New macro.
43557         (SET): Likewise.
43558         (INC): Likewise.
43559         (create_archive): Use the new macros to access fields of
43560         structures directly mapped from or written to locale archives.
43561         (oldlocrecentcmp): Likewise.
43562         (enlarge_archive): Likewise.
43563         (insert_name): Likewise.
43564         (add_alias): Likewise.
43565         (add_locale): Likewise.
43566         (delete_locales_from_archive): Likewise.
43567         (show_archive_content): Likewise.
43568         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
43569         locale data.
43571 2013-09-24  Roland McGrath  <roland@hack.frob.com>
43573         * manual/freemanuals.texi: Updated from (newly) canonical copy at
43574         http://www.gnu.org/doc/freemanuals.texi.
43575         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
43577 2013-09-24  Will Newton  <will.newton@linaro.org>
43579         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
43580         macro.
43582 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
43584         * locale/hashval.h (compute_hashval): Interpret bytes of key as
43585         unsigned char.
43587 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
43589         * manual/threads.texi (POSIX Threads): Fix a typo.
43591 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43593         [BZ #14547]
43594         * string/tst-strcoll-overflow.c: New test case.
43595         * string/Makefile (xtests): Add tst-strcoll-overflow.
43596         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
43597         cache if string sizes may cause integer overflow.
43599         [BZ #14547]
43600         * string/strcoll_l.c (coll_seq): New members rule, idx,
43601         save_idx and back_us.
43602         (get_next_seq_nocache): New function.
43603         (do_compare_nocache): New function.
43604         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
43605         when malloc fails.
43607 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
43609         [BZ #15754]
43610         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
43611         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
43612         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
43614         [BZ #15754]
43615         * elf/Makefile (tests): Add tst-ptrguard1.
43616         (tests-static): Add tst-ptrguard1-static.
43617         (tst-ptrguard1-ARGS): Define.
43618         (tst-ptrguard1-static-ARGS): Define.
43619         * elf/tst-ptrguard1.c: New file.
43620         * elf/tst-ptrguard1-static.c: New file.
43621         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
43622         * sysdeps/i386/stackguard-macros.h: Likewise.
43623         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43624         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43625         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43626         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43627         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43628         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43630 2013-09-23  Hector Marco  <hecmargi@upv.es>
43631             Ismael Ripoll  <iripoll@disca.upv.es>
43632             Carlos O'Donell  <carlos@redhat.com>
43634         [BZ #15754]
43635         * sysdeps/generic/stackguard-macros.h: Define
43636         __pointer_chk_guard_local and POINTER_CHK_GUARD.
43637         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
43638         Define __pointer_chk_guard_local.
43639         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
43640         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
43642 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
43644         [BZ #15859]
43645         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
43647 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
43649         * include/string.h (__ffs): Declare as hidden.
43650         * string/ffs.c (__ffs): Define as hidden.
43651         * sysdeps/i386/ffs.c (__ffs): Likewise.
43652         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
43653         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
43654         * sysdeps/s390/ffs.c (__ffs): Likewise.
43655         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
43657 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
43659         * NEWS: Mention malloc probes.
43661         * malloc/arena.c (new_heap): New memory_heap_new probe.
43662         (grow_heap): New memory_heap_more probe.
43663         (shrink_heap): New memory_heap_less probe.
43664         (heap_trim): New memory_heap_free probe.
43665         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
43666         (systrim): New memory_sbrk_less probe.
43667         * manual/probes.texi: Document them.
43669         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
43670         * manual/probes.texi: Document it.
43672         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
43673         (__libc_realloc): Add memory_realloc_retry probe.
43674         (__libc_memalign): Add memory_memalign_retry probe.
43675         (__libc_valloc): Add memory_valloc_retry probe.
43676         (__libc_pvalloc): Add memory_pvalloc_retry probe.
43677         (__libc_calloc): Add memory_calloc_retry probe.
43678         * manual/probes.texi: Document them.
43680         * malloc/arena.c (get_free_list): Add probe
43681         memory_arena_reuse_free_list.
43682         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
43683         and memory_arena_reuse.
43684         (arena_get2) [!PER_THREAD]: Likewise.
43685         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
43686         memory_arena_reuse_realloc.
43687         * manual/probes.texi: Document them.
43689         * malloc/malloc.c (__libc_free): Add
43690         memory_mallopt_free_dyn_thresholds probe.
43691         (__libc_mallopt): Add multiple memory_mallopt probes.
43692         * manual/probes.texi: Document them.
43694         * malloc/malloc.c: Include stap-probe.h.
43695         (__libc_mallopt): Add memory_mallopt probe.
43696         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
43697         * manual/probes.texi: New.
43698         * manual/Makefile (chapters): Add probes.
43699         * manual/threads.texi: Set next node.
43701 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
43703         [BZ #15963, #13985]
43704         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
43705         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
43706         Add `Chinese' to `nan' entry name.
43708 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43710         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
43711         (POLYNOMIAL): Likewise.
43712         (TAYLOR_SINCOS): Likewise.
43713         (TAYLOR_SLOW): Likewise.
43714         (__sin): Use TAYLOR_SINCOS.
43715         (__cos): Likewise.
43716         (slow): Use TAYLOR_SLOW.
43717         (sloww): Likewise.
43718         (bsloww): Likewise.
43719         (csloww): Likewise.
43721 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43723         * stdlib/strtod_l.c: Fix buffer overrun.
43725 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43727         * benchtests/Makefile (bench): Add sincos.
43728         * benchtests/bench-sincos.c: New file.
43730         * math/libm-test.inc (cos_test_data): New test inputs.
43731         (sin_test_data): Likewise.
43733         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
43734         macro.
43735         (__sin): Use it.
43736         (__cos): Likewise.
43737         (slow1): Likewise.
43738         (slow2): Likewise.
43739         (sloww1): Likewise.
43740         (sloww2): Likewise.
43741         (bsloww1): Likewise.
43742         (bsloww2): Likewise.
43743         (cslow2): Likewise.
43744         (csloww1): Likewise.
43745         (csloww2): Likewise.
43747         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
43748         function.
43749         (__sin): Use it.
43750         (__cos): Likewise.
43752         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
43753         gotos.
43754         (__cos): Likewise.
43756 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
43758         * config.h.in (HAVE_MIPS_NAN2008): New macro.
43759         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
43760         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
43761         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
43762         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
43763         * elf/cache.c (print_entry): Handle the new cache flags.
43765 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43766             Aldy Hernandez  <aldyh@redhat.com>
43768         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
43769         Change condition to [_SOFT_FLOAT].
43770         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
43771         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
43772         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
43773         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
43774         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
43775         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
43776         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
43777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
43778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
43779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
43780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
43781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
43782         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
43783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
43784         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
43785         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
43786         declaration.
43788 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43790         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
43791         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43792         (__longjmp): Use LOAD_GP to load saved GPRs.
43793         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
43794         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43795         (__sigsetjmp): Use SAVE_GP to save GPRs.
43797         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
43798         Do not append -msoft-float.
43799         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
43801 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43803         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
43805 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
43807         [BZ #15966]
43808         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
43809         (_FPU_GETCW): Use initial "__" on variable and field names but not
43810         on macro parameter name.
43811         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
43812         parentheses around reference to macro parameter.
43814 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
43816         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
43817         prototype.
43818         (ctype_startup): Use uint32_t in cast and sizeof for
43819         ctype->charnames.
43821 2013-09-11  Jia Liu  <proljc@gmail.com>
43823         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
43824         __daddr_t_defined.
43825         [__FreeBSD__]: Likewise.
43827 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
43829         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
43830         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
43831         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
43832         (strchr): Remove __strchr_sse42 ifunc selection.
43833         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
43834         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
43836 2013-09-11  Will Newton  <will.newton@linaro.org>
43838         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
43839         parameter to RES. Remove hardcoded 1000 value.
43840         * benchtests/bench-skeleton.c (main): Pass RES parameter
43841         to TIMING_INIT and multiply result by 1000.
43843 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43847 2013-09-11  Andreas Schwab  <schwab@suse.de>
43849         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
43850         if not defined.
43851         (O_TMPFILE) [__USE_GNU]: Define.
43852         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
43853         Define.
43855 2013-09-11  Will Newton  <will.newton@linaro.org>
43857         [BZ #15857]
43858         * malloc/malloc.c (__libc_memalign): Check the value of bytes
43859         does not overflow.
43861 2013-09-11  Will Newton  <will.newton@linaro.org>
43863         [BZ #15856]
43864         * malloc/malloc.c (__libc_valloc): Check the value of bytes
43865         does not overflow.
43867 2013-09-11  Will Newton  <will.newton@linaro.org>
43869         [BZ #15855]
43870         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
43871         does not overflow.
43873 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
43875         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
43876         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43877         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43878         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43879         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43881 2013-09-10  Allan McRae  <allan@archlinux.org>
43883         [BZ #15748]
43884         * manual/arith.texi (Parsing of Floats): Clarify
43885         cross-reference.
43887         [BZ #15849]
43888         * manual/install.texi (Running make install): Mention
43889         --enable-pt-chown.
43890         * INSTALL: Regenerated.
43892 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
43894         * csu/init-first.c (_init): Remove the !SHARED condition around
43895         FPU control word initialization.
43896         * elf/dl-support.c (_dl_fpu_control): New variable.
43897         (_dl_aux_init) <AT_FPUCW>: Initialize it.
43898         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
43899         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
43900         * math/test-fpucw-static.c: New file.
43901         * math/test-fpucw-ieee.c: New file.
43902         * math/test-fpucw-ieee-static.c: New file.
43903         * math/Makefile (tests): Add `test-fpucw-ieee' and
43904         `$(tests-static)'.
43905         (tests-static): New variable.
43906         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
43907         dependency to...
43908         [($(build-shared),yes)]
43909         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43910         ... this.
43911         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
43912         New dependency.
43914 2013-09-09  Allan McRae  <allan@archlinux.org>
43916         [BZ #15939]
43917         * manual/string.texi (Collation Functions): Fix typo in
43918         strcoll example.
43919         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
43921         [BZ #15893]
43922         * stdlib/isomac.c (get_null_defines): Fix memory leak.
43924         [BZ #15892]
43925         * libio/memstream.c (open_memstream): Fix memory leak.
43926         * libio/wmemstream.c (open_wmemstream): Likewise.
43928         [BZ #15895]
43929         * nscd/netgroupcache.c: Fix nesting of ifdefs.
43931 2013-09-09  Will Newton  <will.newton@linaro.org>
43933         * malloc/Makefile: Add tst-realloc to tests.
43934         * malloc/tst-realloc.c: New file.
43936 2013-09-09  Allan McRae  <allan@archlinux.org>
43938         [BZ #15844]
43939         * COPYING: Update from GNU website to fix FSF address.
43940         * COPYING.LIB: Likewise.
43942 2013-09-06  David S. Miller  <davem@davemloft.net>
43944         * po/zh_TW.po: Update Chinese (traditional) translation from
43945         translation project.
43947 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
43948             Joseph Myers  <joseph@codesourcery.com>
43950         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
43951         "localeinfo.h".
43952         (obstack_chunk_alloc): New macro.
43953         (obstack_chunk_free): Likewise.
43954         (record_offset): New function.
43955         (init_locale_data): Likewise.
43956         (align_locale_data): Likewise.
43957         (add_locale_empty): Likewise.
43958         (add_locale_raw_data): Likewise.
43959         (add_locale_raw_obstack): Likewise.
43960         (add_locale_string): Likewise.
43961         (add_locale_wstring): Likewise.
43962         (add_locale_uint32): Likewise.
43963         (add_locale_uint32_array): Likewise.
43964         (add_locale_char): Likewise.
43965         (start_locale_structure): Likewise.
43966         (end_locale_structure): Likewise.
43967         (start_locale_prelude): Likewise.
43968         (end_locale_prelude): Likewise.
43969         (write_locale_data): Take locale_file structure rather than an
43970         iovec.
43971         * locale/programs/locfile.h: Include "obstack.h".
43972         (struct locale_file): Change to store locale file contents instead
43973         of header.
43974         (init_locale_data): New prototype.
43975         (align_locale_data): Likewise.
43976         (add_locale_empty): Likewise.
43977         (add_locale_raw_data): Likewise.
43978         (add_locale_raw_obstack): Likewise.
43979         (add_locale_string): Likewise.
43980         (add_locale_wstring): Likewise.
43981         (add_locale_uint32): Likewise.
43982         (add_locale_uint32_array): Likewise.
43983         (add_locale_char): Likewise.
43984         (start_locale_structure): Likewise.
43985         (end_locale_structure): Likewise.
43986         (start_locale_prelude): Likewise.
43987         (end_locale_prelude): Likewise.
43988         (write_locale_data): Update prototype.
43989         * locale/programs/3level.h (struct TABLE): Remove result field.
43990         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
43991         Use new locale_file interface.
43992         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
43993         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
43994         * locale/programs/ld-address.c (address_output): Use new
43995         locale_file interface.
43996         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
43997         NO_ADD_LOCALE.
43998         (collate_finish): Don't call collseq_table_finalize.
43999         (collate_output): Use new locale_file interface.
44000         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
44001         in file.
44002         (NO_FINALIZE): Change to NO_ADD_LOCALE.
44003         (TABLE): Move defines earlier in file.
44004         (ELEMENT): Likewise.
44005         (DEFAULT): Likewise.
44006         (wctrans_table_add): Move macro and inline function earlier in
44007         file.
44008         (struct wctype_table): Move type earlier in file.
44009         (add_locale_wctype_table): New static prototype.
44010         (struct locale_ctype_t): Use logical types instead of struct iovec
44011         pointers for members.
44012         (ctype_output): Use new locale_file interface.
44013         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
44014         new locale_file interface.
44015         (allocate_arrays): Update for use of new locale_file interface.
44016         * locale/programs/ld-identification.c (identification_output): Use
44017         new locale_file interface.
44018         * locale/programs/ld-measurement.c (measurement_output): Likewise.
44019         * locale/programs/ld-messages.c (messages_output): Likewise.
44020         * locale/programs/ld-monetary.c (monetary_output): Likewise.
44021         * locale/programs/ld-name.c (name_output): Likewise.
44022         * locale/programs/ld-numeric.c (numeric_output): Likewise.
44023         * locale/programs/ld-paper.c (paper_output): Likewise.
44024         * locale/programs/ld-telephone.c (telephone_output): Likewise.
44025         * locale/programs/ld-time.c (time_output): Likewise.
44027 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44029         * benchtests/Makefile: Add memrchr benchmark.
44030         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
44031         benchmark as memrchr.
44032         * benchtests/bench-memrchr-ifunc.c: New file.
44033         * benchtests/bench-memrchr.c: New file.
44035 2013-09-06   Will Newton  <will.newton@linaro.org>
44037         * benchtests/Makefile (string-bench): Add memcpy.
44039 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
44040             Cong Wang  <amwang@redhat.com>
44042         [BZ #15850]
44043         * sysdeps/unix/sysv/linux/bits/in.h
44044         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
44045         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
44046         before __USE_KERNEL_IPV6_DEFS uses.
44047         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
44048         IPPROTO_BEETPH.
44049         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
44050         sockaddr_in6, or ipv6_mreq.
44052 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44054         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
44055         memory access for final bytes in some large inputs.
44056         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
44058 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44060         * string/test-memrchr.c: New file.
44061         * string/test-memrchr-ifunc.c: New file.
44062         * string/Makefile: Add new memrchr testcase.
44064 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
44066         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
44067         fanotify_init returns EPERM.
44069 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44071         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
44072         errors.
44073         (top level): Treat second token from macro or constant entries for
44074         allowed headers as allowed.
44075         * include/complex.h: Condition internal declarations on
44076         [!_ISOMAC].
44077         * include/fenv.h: Condition include of <stdbool.h> and internal
44078         declarations on [!_ISOMAC].
44080 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
44082         [BZ #15923]
44083         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
44085 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
44087         * configure.in (--enable-versioning): Remove configure option.
44088         (libc_cv_asm_symver_directive): Remove configure test.
44089         (libc_cv_ld_version_script_option): Likewise.
44090         (VERSIONING): Remove variable and AC_SUBST.
44091         (DO_VERSIONING): Remove AC_DEFINE.
44092         * configure: Regenerated.
44093         * config.h.in (DO_VERSIONING): Remove macro.
44094         * Makerules [$(versioning) = yes]: Change conditionals to
44095         [$(build-shared) = yes].
44096         * config.make.in (versioning): Remove variable.
44097         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
44098         [$(build-shared) = yes].
44099         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
44100         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
44101         * elf/Makefile [$(versioning) = yes]: Change conditionals to
44102         [$(build-shared) = yes].
44103         * extra-lib.mk [$(versioning) = yes]: Likewise.
44104         * hurd/Makefile [$(versioning) = yes]: Likewise.
44105         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
44106         [SHARED].
44107         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
44108         [SHARED].
44109         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44110         [SHARED && !NO_HIDDEN].
44111         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
44112         [SHARED].
44113         [SHARED && DO_VERSIONING]: Likewise..
44114         * libio/Makefile [$(versioning) = yes]: Change conditionals to
44115         [$(build-shared) = yes].
44116         * manual/install.texi (--disable-versioning): Remove
44117         documentation.
44118         * INSTALL: Regenerated.
44119         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
44120         to [SHARED].
44121         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
44122         [$(build-shared) = yes].
44123         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
44124         * sysdeps/i386/i686/multiarch/strstr-c.c
44125         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44126         [SHARED && !NO_HIDDEN].
44127         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
44128         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
44129         * sysdeps/powerpc/powerpc32/dl-machine.c
44130         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
44131         * sysdeps/powerpc/powerpc32/sysdep.h
44132         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
44133         to [SHARED && PIC && !NO_HIDDEN].
44134         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
44135         conditional to [SHARED].
44137 2013-09-04   Will Newton  <will.newton@linaro.org>
44139         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
44140         * benchtests/bench-string.h: Include bench-timing.h instead
44141         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
44142         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
44143         call to HP_TIMING_DIFF_INIT.
44144         * benchtests/bench-memccpy.c: Use bench-timing.h macros
44145         instead of hp-timing.h macros.
44146         * benchtests/bench-memchr.c: Likewise.
44147         * benchtests/bench-memcmp.c: Likewise.
44148         * benchtests/bench-memcpy.c: Likewise.
44149         * benchtests/bench-memmem.c: Likewise.
44150         * benchtests/bench-memmove.c: Likewise.
44151         * benchtests/bench-memset.c: Likewise.
44152         * benchtests/bench-rawmemchr.c: Likewise.
44153         * benchtests/bench-strcasecmp.c: Likewise.
44154         * benchtests/bench-strcasestr.c: Likewise.
44155         * benchtests/bench-strcat.c: Likewise.
44156         * benchtests/bench-strchr.c: Likewise.
44157         * benchtests/bench-strcmp.c: Likewise.
44158         * benchtests/bench-strcpy.c: Likewise.
44159         * benchtests/bench-strcpy_chk.c: Likewise.
44160         * benchtests/bench-strlen.c: Likewise.
44161         * benchtests/bench-strncasecmp.c: Likewise.
44162         * benchtests/bench-strncat.c: Likewise.
44163         * benchtests/bench-strncmp.c: Likewise.
44164         * benchtests/bench-strncpy.c: Likewise.
44165         * benchtests/bench-strnlen.c: Likewise.
44166         * benchtests/bench-strpbrk.c: Likewise.
44167         * benchtests/bench-strrchr.c: Likewise.
44168         * benchtests/bench-strspn.c: Likewise.
44169         * benchtests/bench-strstr.c: Likewise.
44171 2013-09-04  Will Newton  <will.newton@linaro.org>
44173         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
44175 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
44177         [BZ #15427]
44178         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
44179         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
44180         * math/libm-test.inc (lgamma_test_data): Add more tests.
44181         * sysdeps/i386/fpu/libm-test-ulps: Update.
44182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44184 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
44186         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
44187         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44188         Add ifunc.
44189         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44190         Add strcmp-sse2-unaligned
44191         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
44193 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44195         * Versions.def (libc): Add GLIBC_2.19.
44197 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44199         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
44200         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
44202 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
44204         [BZ #14155]
44205         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
44206         intermediate calculations in recurrence.
44207         (__ieee754_ynf): Likewise.
44208         * math/libm-test.inc (jn_test_data): Do not allow spurious
44209         underflow exception.  Add more tests.
44210         (yn_test_data): Add more tests.
44211         * sysdeps/i386/fpu/libm-test-ulps: Update.
44212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44214 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
44216         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
44218 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44220         * csu/init-first.c: Fix then/than typos.
44221         * locale/programs/ld-collate.c: Likewise.
44222         * locale/programs/linereader.h: Likewise.
44223         * manual/charset.texi: Likewise.
44224         * manual/filesys.texi: Likewise.
44225         * manual/stdio.texi: Likewise.
44226         * manual/string.texi: Likewise.
44227         * stdlib/fmtmsg.c: Likewise.
44228         * sysdeps/i386/stpncpy.S: Likewise.
44229         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44230         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44231         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44232         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44234 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44236         * elf/dl-open.c: Fix typos.
44237         * iconvdata/gbbig5.c: Likewise.
44238         * iconvdata/iso-2022-jp.c: Likewise.
44239         * iconv/gconv_int.h: Likewise.
44240         * iconv/loop.c: Likewise.
44241         * nis/rpcsvc/nis.h: Likewise.
44242         * resolv/ns_name.c: Likewise.
44243         * stdio-common/vfscanf.c: Likewise.
44244         * streams/stropts.h: Likewise.
44245         * sunrpc/rpc_thread.c: Likewise.
44246         * sysdeps/i386/strpbrk.S: Likewise.
44247         * sysdeps/ieee754/k_standard.c: Likewise.
44248         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44249         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44250         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
44251         * sysdeps/mach/hurd/profil.c: Likewise.
44252         * sysdeps/s390/dl-procinfo.h: Likewise.
44253         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
44254         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44255         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
44256         * sysdeps/x86_64/dl-trampoline.S: Likewise.
44257         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44259 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
44261         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
44262         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
44264 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
44266         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
44267         aix specific files.
44268         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
44269         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
44270         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
44271         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
44272         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
44273         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
44274         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
44275         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
44277 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44278             Roland McGrath  <roland@hack.frob.com>
44280         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
44281         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
44283 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44285         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
44286         __executable_start symbol instead of _start.
44288 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44290         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
44291         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
44292         Move macros to...
44293         * sysdeps/gnu/ldsodefs.h: ... this new file.
44295         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
44296         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
44297         instead of ELFOSABI_LINUX.
44299         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
44300         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
44301         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
44302         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
44303         Likewise.
44304         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
44305         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
44306         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
44307         Likewise.
44308         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44309         (ibm_extended_long_double): Add ieee_nan member.
44310         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
44311         (do_test): New function.
44313         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
44314         TEST_TRUNC.
44315         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
44316         functions, renamed from truncdfsf_test, trunctfsf_test,
44317         trunctfdf_test.
44318         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
44319         functions.
44320         (do_test): Run all these.
44322 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
44324         * argp/argp-help.c: Fix typos.
44325         * argp/argp-parse.c: Likewise.
44326         * debug/backtracesyms.c: Likewise.
44327         * elf/elf.h: Likewise.
44328         * malloc/malloc.c: Likewise.
44329         * nis/nis_print.c: Likewise.
44330         * resolv/res_comp.c: Likewise.
44331         * stdlib/stdlib.h: Likewise.
44332         * sunrpc/clnt_tcp.c: Likewise.
44333         * sunrpc/clnt_udp.c: Likewise.
44334         * sunrpc/clnt_unix.c: Likewise.
44335         * sysdeps/unix/bsd/ptsname.c: Likewise.
44336         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44337         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
44338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
44339         Likewise.
44340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
44341         Likewise.
44342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
44343         Likewise.
44344         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44346 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44348         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
44349         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44351 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
44353         [BZ #15897]
44354         * dlfcn/Makefile (tests): Add bug-dl-leaf.
44355         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
44356         ($(objpfx)bug-dl-leaf): New rule.
44357         ($(objpfx)bug-dl-leaf.so): Likewise.
44358         ($(objpfx)bug-dl-leaf.out): Likewise.
44359         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
44360         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
44361         * dlfcn/bug-dl-leaf.c: New test.
44362         * dlfcn/bug-dl-leaf-lib.c: Likewise.
44363         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
44364         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
44365         (dlclose): Likewise.
44366         (dlmopen): Likewise.
44368 2013-08-27  Roland McGrath  <roland@hack.frob.com>
44370         * include/netdb.h [!_ISOMAC]:
44371         Don't include <tls.h>.
44372         (h_errno, __libc_h_errno): Move declaration and macros out of
44373         [_LIBC_REENTRANT].
44375         * include/resolv.h [_RESOLV_H_]:
44376         Don't include <tls.h>.
44377         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
44378         * resolv/res_libc.c: Don't include <tls.h>.
44379         (_res): Use __attribute__ ((nocommon)) in place of
44380         __attribute__ ((section (".bss"))).
44382         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
44383         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
44385         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
44387         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
44388         only under [SIOCGIFCONF && SIOCGIFNETMASK].
44390         * resolv/res_mkquery.c: Include <sys/time.h>.
44392         * inet/ifreq.c: Moved to ...
44393         * sysdeps/unix/ifreq.c: ... here.
44394         * inet/ifreq.c: New file, true stub version.
44396         * socket/sa_len.c: New file.
44397         * socket/Makefile (aux): Add it.
44398         * sysdeps/unix/sysv/linux/Makefile
44399         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
44400         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
44401         and #include <socket/sa_len.c>.
44402         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
44403         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
44405         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
44406         * bits/socket.h: ... here.
44408         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
44409         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
44410         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
44412 2013-08-27  Andreas Schwab  <schwab@suse.de>
44414         [BZ #15736]
44415         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
44416         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
44417         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
44418         * string/test-strcasecmp.c (test_main): Run tests in several
44419         locales.
44420         * string/test-strncasecmp.c (test_main): Likewise.
44422         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
44423         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
44424         to __strcasecmp_nonascii and __strncasecmp_nonascii.
44425         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
44426         (__strncasecmp_ssse3) [PIC]: Likewise.
44428 2013-08-26  Roland McGrath  <roland@hack.frob.com>
44430         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
44432         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
44433         instead of explicitly declaring xdecrypt.
44434         * nis/nss_nis/nis-publickey.c: Likewise.
44436 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44438         [BZ #15890]
44439         * nscd/aicache.c: Include res_hconf.h.
44440         (addhstaiX): Initialize res_hconf.
44442 2013-08-26  Andreas Schwab  <schwab@suse.de>
44444         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
44445         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
44447 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44449         * nscd/aicache.c (addhstaiX): Fix indentation.
44451 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
44453         * configure.ac: Quote $build_pt_chown test.
44454         * configure: Regenerated.
44456 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
44458         [BZ #15532]
44459         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
44460         * math/s_cexpf.c (__cexpf): Likewise.
44461         * math/s_cexpl.c (__cexpl): Likewise.
44462         * math/libm-test.inc (cexp_test_data): Correct expected return
44463         value for NaN + i0.  Add another test.
44465 2013-08-22  David S. Miller  <davem@davemloft.net>
44467         * po/ca.po: Update Catalan translation from translation project.
44468         * po/uk.po: Add Ukrainian translations from translation project.
44470 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
44472         [BZ #15797]
44473         * math/s_fdim.c (__fdim): Check for infinite arguments if result
44474         is infinite, not alongside NaN test.
44475         * math/s_fdimf.c (__fdimf): Likewise.
44476         * math/s_fdiml.c (__fdiml): Likewise.
44477         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
44478         errno is unchanged.
44480 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
44482         * argp/argp-help.c: Fix typos.
44483         * crypt/speeds.c: Likewise.
44484         * csu/check_fds.c: Likewise.
44485         * elf/dl-load.c: Likewise.
44486         * elf/dl-open.c: Likewise.
44487         * elf/reldep3.c: Likewise.
44488         * elf/reldep.c: Likewise.
44489         * elf/sprof.c: Likewise.
44490         * iconv/iconv_charmap.c: Likewise.
44491         * iconv/skeleton.c: Likewise.
44492         * iconv/strtab.c: Likewise.
44493         * io/lockf64.c: Likewise.
44494         * libio/libioP.h: Likewise.
44495         * resolv/gai_notify.c: Likewise.
44496         * resolv/ns_name.c: Likewise.
44497         * resolv/ns_samedomain.c: Likewise.
44498         * resolv/res_send.c: Likewise.
44499         * stdlib/random.c: Likewise.
44500         * sunrpc/rpc/xdr.h: Likewise.
44501         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
44502         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44503         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44504         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44505         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44506         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44507         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44508         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44509         * sysdeps/mach/hurd/check_fds.c: Likewise.
44510         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
44511         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44512         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44513         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
44514         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44515         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
44516         * sysdeps/pthread/aio_notify.c: Likewise.
44517         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
44518         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
44519         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
44520         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44521         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44523 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44525         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
44526         version if bit_Slow_SSE4_2 is set.
44527         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44528         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44530 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44532         [BZ #15867]
44533         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
44534         trampoline stack frame information.
44535         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
44536         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
44537         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
44538         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
44539         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
44540         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44541         (_libc_vdso_platform_setup): Initialize the signal trampolines.
44542         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
44543         sa_flags value.
44544         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
44545         interrupting a syscall and set with option SA_SIGINFO.
44547 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44549         [BZ #15531]
44550         * math/s_cproj.c (__cproj): Only return an infinity if one part of
44551         argument is infinite.
44552         * math/s_cprojf.c (__cprojf): Likewise.
44553         * math/s_cprojl.c (__cprojl): Likewise.
44554         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
44555         * math/libm-test.inc (cproj_test_data): Add more tests.
44557         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
44559         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
44560         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
44561         size.  Use __ffs to determine corresponding shift.
44563 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44564             Roland McGrath  <roland@hack.frob.com>
44566         * Makefile (INSTALL): Remove trailing blank lines from output of
44567         makeinfo.
44569 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44571         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
44572         Align 32 bit compat elf_greg to 8 bytes.
44574 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
44576         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
44578 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44580         * string/strcoll_l.c (coll_seq): New structure.
44581         (get_next_seq_cached): New function.
44582         (get_next_seq): New function.
44583         (do_compare): New function.
44584         (STRCOLL): Use GNU style definition.  Simplify implementation
44585         by using get_next_seq, get_next_seq_cached and do_compare.
44587 2013-08-16  Florian Weimer  <fweimer@redhat.com>
44589         [BZ #14699]
44590         CVE-2013-4237
44591         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
44592         member.
44593         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
44594         member.
44595         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
44596         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
44597         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
44598         conditional.
44599         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
44600         GETDENTS_64BIT_ALIGNED.
44601         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44602         * manual/filesys.texi (Reading/Closing Directory): Document
44603         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
44604         strongly.
44605         * manual/conf.texi (Limits for Files): Add portability note to
44606         NAME_MAX, PATH_MAX.
44607         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
44609 2013-08-13  Andreas Schwab  <schwab@suse.de>
44611         [BZ #15749]
44612         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
44613         of fabs.
44614         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
44615         LDBL_MAX_EXP >= 16384]: Add tests for it.
44617 2013-08-12  David S. Miller  <davem@davemloft.net>
44619         * version.h (RELEASE): Set to "development".
44620         (VERSION): Set to "2.18.90".
44621         * NEWS: Add 2.19 section.
44623 2013-08-03  David S. Miller  <davem@davemloft.net>
44625         * po/ko.po: Update Korean translation from translation project.
44627 2013-08-01  David S. Miller  <davem@davemloft.net>
44629         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
44630         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
44631         Bilka.
44633 2013-07-30  David S. Miller  <davem@davemloft.net>
44635         * po/fr.po: Update French translation from translation project.
44637 2013-07-28  David S. Miller  <davem@davemloft.net>
44639         * po/cs.po: Update Czech translation from translation project.
44641         * po/sv.po: Update Swedish translation from translation project.
44643 2013-07-27  David S. Miller  <davem@davemloft.net>
44645         * po/eo.po: Update Esperanto translation from translation project.
44647         * po/vi.po: Update Vietnamese translation from translation project.
44649         * po/de.po: Update German translation from translation project.
44651 2013-07-26  David S. Miller  <davem@davemloft.net>
44653         * po/bg.po: Update Bulgarian translation from translation project.
44655         * po/nl.po: Update Dutch translation from translation project.
44656         * po/pl.po: Update Polish translation from translation project.
44657         * po/ru.po: Update Russian translation from translation project.
44659 2013-07-24  David S. Miller  <davem@davemloft.net>
44661         * po/libc.pot: Update.
44663 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44665         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
44666         variable page size.
44667         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
44668         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
44669         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
44671 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44673         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
44675 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44676             Andreas Schwab  <schwab@suse.de>
44677             Roland McGrath  <roland@hack.frob.com>
44678             Joseph Myers  <joseph@codesourcery.com>
44679             Carlos O'Donell  <carlos@redhat.com>
44681         [BZ #15755]
44682         * config.h.in: Define HAVE_PT_CHOWN.
44683         * config.make.in (build-pt-chown): New variable.
44684         * configure.in (--enable-pt_chown): New configure option.
44685         * configure: Regenerate.
44686         * login/Makefile: Include Makeconfig.  Build pt_chown only if
44687         build-pt-chown is enabled.
44688         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
44689         pt_chown to fix pty ownership.
44690         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
44691         CLOSE_ALL_FDS.
44692         * manual/install.texi (Configuring and compiling): Mention
44693         --enable-pt_chown. Add @findex for grantpt.
44694         * INSTALL: Regenerate.
44696 2013-07-20  David S. Miller  <davem@davemloft.net>
44698         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
44699         difference between 32-bit and 64-bit.
44701 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
44703         [BZ #15711]
44704         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
44705         Avoid system header dependency with -ffreestanding.
44706         ($(objpfx)bits/syscall%d): Likewise.
44708 2013-07-13  David S. Miller  <davem@davemloft.net>
44710         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
44711         underflows from atanl/atan2l due to bug 15319.
44712         (casinh_test_data): Likewise.
44714 2013-07-07  David S. Miller  <davem@davemloft.net>
44716         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
44718 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
44720         * sysdeps/i386/fpu/libm-test-ulps: Update.
44721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44723 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44725         * configure.in (--enable-lock-elision): Fix message text.
44726         * INSTALL: Regenerate.
44727         * configure: Regenerate.
44729 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44733 2013-07-03  Andreas Jaeger  <aj@suse.de>
44735         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
44736         define.
44737         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
44738         (ptrace_peeksiginfo_args): Add.
44739         (__ptrace_peeksiginfo_flags): Add.
44740         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44741         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44742         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44744 2013-07-03  Allan McRae  <allan@archlinux.org>
44746         * sysdeps/i386/fpu/libm-test-ulps: Update.
44748 2013-07-02  David S. Miller  <davem@davemloft.net>
44750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44752 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
44754         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44756 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44758         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
44759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44761 2013-07-02  Andi Kleen <ak@linux.intel.com>
44763         * config.h.in (ENABLE_LOCK_ELISION): Add.
44764         * configure.in (--enable-lock-elision): Add option.
44765         * manual/install.texi: Document --enable lock elision.
44766         * configure: Regenerate
44767         * INSTALL: Regenerate.
44769 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
44771         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
44772         SSE4.2 strcasecmp for libc.a.
44773         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44775 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44777         [BZ #13304]
44778         * soft-fp/op-common.h (_FP_FMA): New macro.
44779         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
44780         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
44781         (_FP_MUL_MEAT_1_imm): ... here.
44782         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
44783         (_FP_MUL_MEAT_1_wide): ... here.
44784         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
44785         (_FP_MUL_MEAT_1_hard): ... here.
44786         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
44787         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
44788         (_FP_MUL_MEAT_2_wide): ... here.
44789         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
44790         (_FP_MUL_MEAT_2_wide_3mul): ... here.
44791         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
44792         (_FP_MUL_MEAT_2_gmp): ... here.
44793         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
44794         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
44795         (_FP_MUL_MEAT_4_wide): ... here.
44796         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
44797         (_FP_MUL_MEAT_4_gmp): ... here.
44798         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
44799         (_FP_WFRACBITS_DW_S): Likewise.
44800         (_FP_WFRACXBITS_DW_S): Likewise.
44801         (_FP_HIGHBIT_DW_S): Likewise.
44802         (FP_FMA_S): Likewise.
44803         (_FP_FRAC_HIGH_DW_S): Likewise.
44804         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
44805         (_FP_WFRACBITS_DW_D): Likewise.
44806         (_FP_WFRACXBITS_DW_D): Likewise.
44807         (_FP_HIGHBIT_DW_D): Likewise.
44808         (FP_FMA_D): Likewise.
44809         (_FP_FRAC_HIGH_DW_D): Likewise.
44810         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
44811         (_FP_WFRACBITS_DW_E): Likewise.
44812         (_FP_WFRACXBITS_DW_E): Likewise.
44813         (_FP_HIGHBIT_DW_E): Likewise.
44814         (FP_FMA_E): Likewise.
44815         (_FP_FRAC_HIGH_DW_E): Likewise.
44816         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
44817         (_FP_WFRACBITS_DW_Q): Likewise.
44818         (_FP_WFRACXBITS_DW_Q): Likewise.
44819         (_FP_HIGHBIT_DW_Q): Likewise.
44820         (FP_FMA_Q): Likewise.
44821         (_FP_FRAC_HIGH_DW_Q): Likewise.
44822         * soft-fp/fmasf4.c: New file.
44823         * soft-fp/fmadf4.c: Likewise.
44824         * soft-fp/fmatf4.c: Likewise.
44826 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44828         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44829         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
44830         Silvermont.
44831         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
44832         macro.
44833         (index_Slow_SSE4_2): Likewise.
44834         (index_Prefer_PMINUB_for_stringop): Likewise.
44835         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
44836         bit_Slow_SSE4_2 is set.
44837         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44838         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44840 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44842         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
44843         rtld_global._dl_hwcap2.
44844         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
44845         POWER8.
44846         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
44847         POWER8 feature descriptions defined in _dl_hwcap2.
44848         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
44849         string handling for POWER8 feature bits.
44850         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
44851         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
44852         _dl_powerpc_cap_flags.
44853         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
44854         * sysdeps/powerpc/rtld-global-offsets.sym
44855         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
44856         _dl_hwcap2 in the rtld_global_ro structure.
44858 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44860         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
44861         hardware capabilities in support of AT_HWCAP2.
44862         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
44863         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
44864         GLRO(dl_hwcap2).
44865         (_dl_show_auxv): Add support for calling _dl_procinfo to display
44866         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
44867         explicitly the unknown a_type display mechanism is used.
44868         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
44869         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
44870         struct member.
44871         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
44872         to macro prototype for AT_HWCAP2 support.
44873         * sysdeps/i386/dl-procinfo.h: Likewise.
44874         * sysdeps/s390/dl-procinfo.h: Likewise.
44875         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
44876         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
44877         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
44878         return -1 for unknown a_type display fallback.
44879         * sysdeps/sparc/dl-procinfo.h: Likewise.
44880         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
44881         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
44883 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
44885         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
44886         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
44888 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
44890         [BZ #12492]
44891         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
44892         mprotect making __stack_prot writable.
44894 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
44895             Joseph Myers  <joseph@codesourcery.com>
44897         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
44898         as being properly aligned.
44900 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
44902         * dlfcn/modstatic5.c: New file.
44903         * dlfcn/tststatic5.c: New file.
44904         * dlfcn/Makefile (tests): Add tststatic5.
44905         (tests-static): Likewise.
44906         (modules-names): Add modstatic5.
44907         (tststatic5-ENV): New variable.
44908         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
44910         [BZ #15022]
44911         * elf/dl-support.c (_dl_main_map): New variable.
44912         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
44913         (_dl_nns, _dl_load_adds): Set to 1.
44914         (_dl_initial_searchlist): Refer to _dl_main_map.
44915         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
44916         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
44917         call to _dl_get_origin.
44918         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
44919         around call_map.
44920         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
44921         * dlfcn/modstatic3.c: New file.
44922         * dlfcn/tststatic3.c: New file.
44923         * dlfcn/tststatic4.c: New file.
44924         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
44925         (tests-static): Likewise.
44926         (modules-names): Add modstatic3.
44927         (tststatic3-ENV, tststatic4-ENV): New variables.
44928         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
44929         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
44931 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
44933         * configure.in (CC): Require GCC version 4.4 or later.
44934         * configure: Regenerated.
44935         * manual/install.texi (Tools for Compilation): Update GCC version
44936         requirement.
44937         * INSTALL: Regenerated.
44939 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44941         [BZ #15674]
44942         * string/test-memcmp.c (check2): New.
44943         (main): Call check2.
44945         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
44947 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
44949         [BZ #15022]
44950         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
44951         over to...
44952         (dl_open_worker) [!SHARED]: ... here.
44954 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44956         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
44958 2013-06-25  Richard Henderson  <rth@redhat.com>
44960         * locale/programs/locarchive.c: Include <libc-internal.h>
44962 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
44964         * manual/texinfo.tex: Update to version 2013-06-21.17, with
44965         trailing whitespace removed.
44967 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44969         [BZ #10283]
44970         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
44971         * locale/programs/locarchive.c: Include libc-mmap.h.
44972         (prepare_address_space): Take two new outputs (the mmap base and len).
44973         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
44974         values.
44975         (create_archive): Declare new mmap base and len values for
44976         prepare_address_space, and store the result in ah.
44977         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
44978         (enlarge_archive): If ah->mmap_base is not NULL, use that and
44979         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44980         Declare new mmap base and len values for
44981         prepare_address_space, and store the result in new_ah.
44982         (open_archive): Declare new mmap base and len values for
44983         prepare_address_space, and store the result in ah.
44984         (close_archive): If ah->mmap_base is not NULL, use that and
44985         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44986         * sysdeps/generic/libc-mmap.h: New file.
44988 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44990         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
44991         (ALIGN_UP): Likewise.
44992         (PTR_ALIGN_DOWN): Likewise.
44993         (PTR_ALIGN_UP): Likewise.
44995 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44997         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
44998         entry mapped to PPC_PLATFORM_POWER8.
44999         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
45000         POWER8.
45001         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
45002         (_dl_string_platform): Add case for exporting platform position for
45003         POWER8.
45004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
45005         search path to sysdeps/powerpc/powerpc32/power8 directory.
45006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
45007         search path to sysdeps/powerpc/powerpc64/power8 directory.
45008         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
45009         power7 directories.
45010         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
45011         power7 directories.
45013 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45015         * INSTALL: Regenerate.
45017         * nscd/connections.c (nscd_init): Fix comment.
45019 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
45021         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
45023         [BZ #15667]
45024         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
45025         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
45027 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45029         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
45030         DL_DST_REQ_STATIC.
45031         (DL_DST_REQ_STATIC): Remove macro.
45033 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
45035         [BZ #7006]
45036         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
45037         with a shift of 0 bits.
45039 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
45041         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
45042         $(tststatic-ENV).
45044 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45046         [BZ #15655]
45047         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
45049 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45051         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
45052         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
45053         accepts -fno-tree-loop-distribute-patterns.
45054         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
45055         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
45056         recursive call.
45057         * string/memset.c (memset): Likewise.
45058         * string/test-memmove.c (simple_memmove): Disable loop transformation
45059         to library calls.
45060         * string/test-memset.c (simple_memset): Likewise.
45061         * benchtests/bench-memmove.c (simple_memmove): Likewise.
45062         * benchtests/bench-memset.c (simple_memset): Likewise.
45063         * configure: Regenerated.
45065 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
45067         * math/test-misc.c (main): Ignore fesetround failure when failures
45068         of subsequent rounding tests would be ignored.
45070         [BZ #15654]
45071         * math/fedisblxcpt.c (fedisableexcept): Return 0.
45072         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
45073         * math/fegetenv.c (__fegetenv): Return 0.
45074         * math/fegetexcept.c (fegetexcept): Return 0.
45075         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
45076         FE_TONEAREST.
45077         * math/feholdexcpt.c (feholdexcept): Return 0.
45078         * math/fesetenv.c (__fesetenv): Return 0.
45079         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
45080         argument FE_TONEAREST.
45081         * math/feupdateenv.c (__feupdateenv): Return 0.
45082         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
45084 2013-06-18  Roland McGrath  <roland@hack.frob.com>
45086         * elf/rtld-Rules (rtld-compile-command.S): New variable.
45087         (rtld-compile-command.s, rtld-compile-command.c): New variables.
45088         ($(objpfx)rtld-%.os rules): Use them.
45090 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45092         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
45093         fields.
45095 2013-06-17  Roland McGrath  <roland@hack.frob.com>
45097         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
45098         length of target pattern, then descending length of dependency pattern.
45099         * configure.in (AWK): Require gawk 3.1.2 or newer.
45100         * manual/install.texi (Tools for Compilation): Say that we do.
45101         * configure: Regenerated.
45103         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
45104         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
45105         * scripts/sysd-rules.awk: ... this new script.
45106         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
45107         than a glob-style pattern.
45109 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
45111         * math/test-misc.c (main): Do not treat incorrectly rounded
45112         conversions as failure unless ROUNDING_TESTS passes.
45114 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
45116         [BZ #15631]
45117         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
45118         restore exception state around main square root computation, then
45119         check for inexactness explicitly.
45121         * math/libm-test.inc (fma_test_data): Add another test.
45123 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45125         * manual/threads.texi (Non-POSIX Extensions): New document
45126         node.  Document pthread_getattr_default_np and
45127         pthread_setattr_default_np.
45129         * Versions.def (libpthread): Add GLIBC_2.18.
45130         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
45131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45132         Likewise.
45133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45134         Likewise.
45135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45136         Likewise.
45137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45138         Likewise.
45139         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
45140         Likewise.
45141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45142         Likewise.
45143         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45144         Likewise.
45145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45146         Likewise.
45147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45148         Likewise.
45150 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45152         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45153         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
45155 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45156             H.J. Lu  <hjl.tools@gmail.com>
45158         [BZ #15627]
45159         * sysdeps/x86_64/rtld-memset.c: Remove file.
45160         * sysdeps/x86_64/rtld-memset.S: New file.
45162 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
45164         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
45165         (test_in_one_mode): Take arguments for whether the rounding mode
45166         is supported for each floating-point type.
45167         (do_test): Pass new arguments to test_in_one_mode using
45168         ROUNDING_TESTS.
45170 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45172         * posix/tst-waitid.c (do_test): Distinguish different instances of
45173         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
45174         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
45175         before entering the kernel for waitpid.
45177 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45179         * NEWS: Fix note on clock function precision.  Text by Roland
45180         McGrath.
45182 2013-06-13  Roland McGrath  <roland@hack.frob.com>
45184         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
45185         it into place only when and if the sanity check passes.
45187 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
45189         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
45190         output for whether conversion result is exact.  Take argument
45191         indicating whether type is IBM long double.
45192         (round_for_all): Change need_exact field to ibm_ld.
45193         * stdlib/tst-strtod-round.c (struct exactness): New type.
45194         (struct test): Change bool ld_ok field to struct exactness exact.
45195         (TEST): Update all definitions for change to field.
45196         (tests): Regenerate array contents.
45197         (test_in_one_mode): Take pointer to new field instead of old ld_ok
45198         field value.  Check for IBM long double here.
45199         (do_test): Update calls to test_in_one_mode.
45201 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45203         [BZ #12515]
45204         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
45205         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
45207 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45209         [BZ #15605]
45210         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
45211         generated by the compiler on loop optimizations.
45212         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
45213         general definitions.
45215 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
45217         * math/bug-nextafter.c: Include <math-tests.h>.
45218         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45219         the relevant type.
45220         * math/bug-nexttoward.c: Include <math-tests.h>.
45221         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45222         the relevant type.
45223         * math/test-misc.c: Include <math-tests.h>.
45224         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45225         the relevant type.
45227 2013-06-12  Andreas Jaeger  <aj@suse.de>
45229         * po/ia.po: Update Interlingua translation from translation
45230         project.
45232 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45234         * include/fenv.h: Include stdbool.h.
45235         (struct rm_ctx): New structure.
45236         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
45237         Define macro.
45238         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
45239         (SET_RESTORE_ROUNDF): Likewise.
45240         (SET_RESTORE_ROUNDL): Likewise.
45241         (SET_RESTORE_ROUND_NOEX): Likewise.
45242         (SET_RESTORE_ROUND_NOEXF): Likewise.
45243         (SET_RESTORE_ROUND_NOEXL): Likewise.
45244         (SET_RESTORE_ROUND_53BIT): Likewise.
45245         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
45246         (libc_feresetround_noexf_ctx): Likewise.
45247         (libc_feresetround_noexl_ctx): Likewise.
45248         (libc_feholdsetround_53bit_ctx): Likewise.
45249         (libc_feresetround_53bit_ctx): Likewise.
45250         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
45251         (libc_feholdexcept_setround_sse_ctx): New function.
45252         (libc_fesetenv_sse_ctx): Likewise.
45253         (libc_feupdateenv_sse_ctx): Likewise.
45254         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
45255         (libc_feholdexcept_setround_387_ctx): Likewise.
45256         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
45257         (libc_feholdsetround_387_prec_ctx): Likewise.
45258         (libc_feholdsetround_387_ctx): Likewise.
45259         (libc_feholdsetround_387_53bit_ctx): Likewise.
45260         (libc_feholdsetround_sse_ctx): Likewise.
45261         (libc_feresetround_sse_ctx): Likewise.
45262         (libc_feresetround_387_ctx): Likewise.
45263         (libc_feupdateenv_387_ctx): Likewise.
45264         (libc_feholdexcept_setroundf_ctx): Define macro.
45265         (libc_fesetenvf_ctx): Likewise.
45266         (libc_feupdateenvf_ctx): Likewise.
45267         (libc_feholdsetroundf_ctx): Likewise.
45268         (libc_feresetroundf_ctx): Likewise.
45269         (libc_feholdexcept_setround_ctx): Likewise.
45270         (libc_fesetenv_ctx): Likewise.
45271         (libc_feupdateenv_ctx): Likewise.
45272         (libc_feholdsetround_ctx): Likewise.
45273         (libc_feresetround_ctx): Likewise.
45274         (libc_feholdexcept_setroundl_ctx): Likewise.
45275         (libc_feupdateenvl_ctx): Likewise.
45276         (libc_feholdsetroundl_ctx): Likewise.
45277         (libc_feresetroundl_ctx): Likewise.
45278         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
45279         (libc_feresetround_53bit_ctx): Likewise.
45281 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45283         * locale/iso-639.def: Convert to UTF-8.
45285 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
45287         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
45288         (EXCEPTION_TESTS_double): Likewise.
45289         (EXCEPTION_TESTS_long_double): Likewise.
45290         (EXCEPTION_TESTS): Likewise.
45291         * math/libm-test.inc (test_exceptions): Only test exceptions if
45292         EXCEPTION_TESTS (FLOAT).
45294 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45296         * benchtests/Makefile (string-bench): Add strcpy_chk and
45297         stpcpy_chk.
45298         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
45299         * benchtests/bench-stpcpy_chk.c: New file.
45300         * benchtests/bench-strcpy_chk-ifunc.c: New file.
45301         * benchtests/bench-strcpy_chk.c: New file.
45302         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
45303         code.
45304         (do_test): Likewise.
45306 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45308         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
45309         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
45310         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
45311         with tabs where appropriate.
45312         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
45313         dl-procinfo.h.
45314         [PPC_PLATFORM_PPC440]: Likewise.
45315         [PPC_PLATFORM_PPC464]: Likewise.
45316         [PPC_PLATFORM_PPC476]: Likewise.
45317         (_dl_string_platform): Add support for detecting ppc405, ppc440,
45318         ppc464, and ppc476 platform strings merging from ports/
45319         dl-procinfo.h.
45321 2013-06-11  Andreas Schwab  <schwab@suse.de>
45323         [BZ #14991]
45324         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
45325         (from_ucs4_idx): Regenerate.
45326         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
45327         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
45328         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
45329         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
45330         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
45331         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
45332         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
45333         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
45334         from FROM_LOOP and TO_LOOP specific macros.
45335         (BODY): Handle combining characters.
45336         * iconvdata/BIG5HKSCS.irreversible: Update.
45337         * iconvdata/BIG5HKSCS.precomposed: New file.
45338         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
45339         characters.
45340         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
45342 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45344         * include/sys/time.h: Fix indentation and add copyright header.
45346         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
45347         (do_test): Likewise.
45348         * string/test-memchr.c (do_one_test): Likewise.
45349         (do_test): Likewise.
45350         * string/test-memcmp.c (do_one_test): Likewise.
45351         (do_test): Likewise.
45352         * string/test-memcpy.c (do_one_test): Likewise.
45353         (do_test): Likewise.
45354         * string/test-memmem.c (do_one_test): Likewise.
45355         (do_test): Likewise.
45356         (do_random_tests): Likewise.
45357         * string/test-memmove.c (do_one_test): Likewise.
45358         (do_test): Likewise.
45359         * string/test-memset.c (do_one_test): Likewise.
45360         (do_test): Likewise.
45361         * string/test-rawmemchr.c (do_one_test): Likewise.
45362         (do_test): Likewise.
45363         * string/test-strcasecmp.c (do_one_test): Likewise.
45364         (do_test): Likewise.
45365         * string/test-strcasestr.c (do_one_test): Likewise.
45366         (do_test): Likewise.
45367         * string/test-strcat.c (do_one_test): Likewise.
45368         (do_test): Likewise.
45369         * string/test-strchr.c (do_one_test): Likewise.
45370         (do_test): Likewise.
45371         * string/test-strcmp.c (do_one_test): Likewise.
45372         (do_test): Likewise.
45373         * string/test-strcpy.c (do_one_test): Likewise.
45374         (do_test): Likewise.
45375         * string/test-string.h: Likewise.
45376         (test_init): Likewise.
45377         * string/test-strlen.c (do_one_test): Likewise.
45378         (do_test): Likewise.
45379         * string/test-strncasecmp.c (do_one_test): Likewise.
45380         (do_test): Likewise.
45381         * string/test-strncat.c (do_one_test): Likewise.
45382         (do_test): Likewise.
45383         * string/test-strncmp.c (do_one_test): Likewise.
45384         (do_test_limit): Likewise.
45385         (do_test): Likewise.
45386         * string/test-strncpy.c (do_one_test): Likewise.
45387         (do_test): Likewise.
45388         * string/test-strnlen.c (do_one_test): Likewise.
45389         (do_test): Likewise.
45390         * string/test-strpbrk.c (do_one_test): Likewise.
45391         (do_test): Likewise.
45392         * string/test-strrchr.c (do_one_test): Likewise.
45393         (do_test): Likewise.
45394         * string/test-strspn.c (do_one_test): Likewise.
45395         (do_test): Likewise.
45396         * string/test-strstr.c (do_one_test): Likewise.
45397         (do_test): Likewise.
45399         * benchtests/Makefile (string-bench): Add string benchmarks.
45400         * benchtests/bench-bcopy-ifunc.c: New file.
45401         * benchtests/bench-bcopy.c: New file.
45402         * benchtests/bench-bzero-ifunc.c: New file.
45403         * benchtests/bench-bzero.c: New file.
45404         * benchtests/bench-memccpy-ifunc.c: New file.
45405         * benchtests/bench-memccpy.c: New file.
45406         * benchtests/bench-memchr-ifunc.c: New file.
45407         * benchtests/bench-memchr.c: New file.
45408         * benchtests/bench-memcmp-ifunc.c: New file.
45409         * benchtests/bench-memcmp.c: New file.
45410         * benchtests/bench-memmem-ifunc.c: New file.
45411         * benchtests/bench-memmem.c: New file.
45412         * benchtests/bench-memmove-ifunc.c: New file.
45413         * benchtests/bench-memmove.c: New file.
45414         * benchtests/bench-mempcpy-ifunc.c: New file.
45415         * benchtests/bench-mempcpy.c: New file.
45416         * benchtests/bench-memset-ifunc.c: New file.
45417         * benchtests/bench-memset.c: New file.
45418         * benchtests/bench-rawmemchr-ifunc.c: New file.
45419         * benchtests/bench-rawmemchr.c: New file.
45420         * benchtests/bench-stpcpy-ifunc.c: New file.
45421         * benchtests/bench-stpcpy.c: New file.
45422         * benchtests/bench-stpncpy-ifunc.c: New file.
45423         * benchtests/bench-stpncpy.c: New file.
45424         * benchtests/bench-strcasecmp-ifunc.c: New file.
45425         * benchtests/bench-strcasecmp.c: New file.
45426         * benchtests/bench-strcasestr-ifunc.c: New file.
45427         * benchtests/bench-strcasestr.c: New file.
45428         * benchtests/bench-strcat-ifunc.c: New file.
45429         * benchtests/bench-strcat.c: New file.
45430         * benchtests/bench-strchr-ifunc.c: New file.
45431         * benchtests/bench-strchr.c: New file.
45432         * benchtests/bench-strchrnul-ifunc.c: New file.
45433         * benchtests/bench-strchrnul.c: New file.
45434         * benchtests/bench-strcmp-ifunc.c: New file.
45435         * benchtests/bench-strcmp.c: New file.
45436         * benchtests/bench-strcpy-ifunc.c: New file.
45437         * benchtests/bench-strcpy.c: New file.
45438         * benchtests/bench-strcspn-ifunc.c: New file.
45439         * benchtests/bench-strcspn.c: New file.
45440         * benchtests/bench-strlen-ifunc.c: New file.
45441         * benchtests/bench-strlen.c: New file.
45442         * benchtests/bench-strncasecmp-ifunc.c: New file.
45443         * benchtests/bench-strncasecmp.c: New file.
45444         * benchtests/bench-strncat-ifunc.c: New file.
45445         * benchtests/bench-strncat.c: New file.
45446         * benchtests/bench-strncmp-ifunc.c: New file.
45447         * benchtests/bench-strncmp.c: New file.
45448         * benchtests/bench-strncpy-ifunc.c: New file.
45449         * benchtests/bench-strncpy.c: New file.
45450         * benchtests/bench-strnlen-ifunc.c: New file.
45451         * benchtests/bench-strnlen.c: New file.
45452         * benchtests/bench-strpbrk-ifunc.c: New file.
45453         * benchtests/bench-strpbrk.c: New file.
45454         * benchtests/bench-strrchr-ifunc.c: New file.
45455         * benchtests/bench-strrchr.c: New file.
45456         * benchtests/bench-strspn-ifunc.c: New file.
45457         * benchtests/bench-strspn.c: New file.
45458         * benchtests/bench-strstr-ifunc.c: New file.
45459         * benchtests/bench-strstr.c: New file.
45461         * benchtests/Makefile: Disable parallel execution of targets.
45462         (string-bench): Add memcpy.
45463         (benchset): New variable to store a list of benchmark sets.
45464         (bench-func): Renamed from bench.
45465         (bench-set): New target.
45466         (bench): Depend on bench-func and bench-set.
45467         * benchtests/README: Add section on benchmark sets.
45468         * benchtests/bench-memcpy-ifunc.c: New file.
45469         * benchtests/bench-memcpy.c: New file.
45470         * benchtests/bench-string.h: New file.
45472 2013-06-11  Andreas Schwab  <schwab@suse.de>
45474         [BZ #15577]
45475         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
45476         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
45477         values in the triple.
45478         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
45479         terminator in the group key.
45481 2013-06-11  Andreas Jaeger  <aj@suse.de>
45483         * po/zh_TW.po: Update Chinese (traditional) translation from
45484         translation project.
45486 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45488         * include/time.h (__clock_gettime): Add libc_hidden_proto.
45489         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
45490         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
45491         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45492         (clock_getcpuclockid): Likewise.
45493         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
45494         Add weak_alias and libc_hidden_def.
45495         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
45496         * rt/clock_gettime.c (clock_gettime): Rename to
45497         __clock_gettime.  Add weak_alias and libc_hidden_def.
45498         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
45499         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
45500         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
45501         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
45502         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
45503         Likewise.
45504         * rt/clock_settime.c (clock_settime): Rename to
45505         __clock_settime.  Add weak_alias and libc_hidden_def.
45506         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
45508 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
45510         * mach/err_boot.sub: Remove trailing whitespace.
45511         * mach/err_ipc.sub: Likewise.
45512         * mach/err_mach.sub: Likewise.
45514         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
45515         (ROUNDING_TESTS_double): Likewise.
45516         (ROUNDING_TESTS_long_double): Likewise.
45517         (ROUNDING_TESTS): Likewise.
45518         * math/libm-test.inc: Include <math-tests.h>.
45519         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
45520         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45521         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45522         (IF_ROUND_INIT_FE_UPWARD): Likewise.
45524 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45526         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
45527         of assigning.
45529 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
45531         * sysdeps/gnu/errlist.awk: Do not generate space at end of
45532         otherwise empty TRANS lines.
45533         * sysdeps/gnu/errlist.c: Regenerated.
45535         * catgets/gencat.c (error_print): Use (void) in function
45536         definition.
45537         * crypt/crypt_util.c (__init_des): Likewise.
45538         * crypt/speeds.c (Stop): Likewise.
45539         (main): Likewise.
45540         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
45541         * inet/ruserpass.c (token): Likewise.
45542         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
45543         * intl/localealias.c (extend_alias_table): Likewise.
45544         * intl/plural-exp.c (init_germanic_plural): Likewise.
45545         * libio/fcloseall.c (__fcloseall): Likewise.
45546         * libio/genops.c (_IO_flush_all): Likewise.
45547         (_IO_flush_all_linebuffered): Likewise.
45548         (_IO_cleanup): Likewise.
45549         (_IO_iter_begin): Likewise.
45550         (_IO_iter_end): Likewise.
45551         (_IO_list_lock): Likewise.
45552         (_IO_list_unlock): Likewise.
45553         (_IO_list_resetlock): Likewise.
45554         * libio/getchar.c (getchar): Likewise.
45555         * libio/getchar_u.c (getchar_unlocked): Likewise.
45556         * libio/getwchar.c (getwchar): Likewise.
45557         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
45558         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
45559         * login/getpt.c (__getpt): Likewise.
45560         * login/tst-utmp.c (main): Likewise.
45561         * malloc/hooks.c (__malloc_check_init): Likewise.
45562         * malloc/malloc.c (__malloc_stats): Likewise.
45563         * malloc/mtrace.c (tr_break): Likewise.
45564         (mtrace): Likewise.
45565         (muntrace): Likewise.
45566         * misc/fstab.c (endfsent): Likewise.
45567         * misc/getclktck.c (__getclktck): Likewise.
45568         * misc/getdtsz.c (__getdtablesize): Likewise.
45569         * misc/gethostid.c (gethostid): Likewise.
45570         * misc/getpagesize.c (__getpagesize): Likewise.
45571         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
45572         (__get_nprocs): Likewise.
45573         (__get_phys_pages): Likewise.
45574         (__get_avphys_pages): Likewise.
45575         * misc/getttyent.c (getttyent): Likewise.
45576         (setttyent): Likewise.
45577         (endttyent): Likewise.
45578         * misc/getusershell.c (getusershell): Likewise.
45579         (endusershell): Likewise.
45580         (setusershell): Likewise.
45581         (initshells): Likewise.
45582         * misc/hsearch.c (__hdestroy): Likewise.
45583         * misc/sync.c (sync): Likewise.
45584         * misc/syslog.c (closelog_internal): Likewise.
45585         (closelog): Likewise.
45586         * misc/ttyslot.c (ttyslot): Likewise.
45587         * misc/vhangup.c (vhangup): Likewise.
45588         * posix/fork.c (__fork): Likewise.
45589         * posix/getegid.c (__getegid): Likewise.
45590         * posix/geteuid.c (__geteuid): Likewise.
45591         * posix/getgid.c (__getgid): Likewise.
45592         * posix/getpid.c (__getpid): Likewise.
45593         * posix/getppid.c (__getppid): Likewise.
45594         * posix/getuid.c (__getuid): Likewise.
45595         * posix/pause.c (pause): Likewise.
45596         * posix/setpgrp.c (setpgrp): Likewise.
45597         * posix/setsid.c (__setsid): Likewise.
45598         * posix/test-vfork.c (noop): Likewise.
45599         * resolv/gethnamaddr.c (_endhtent): Likewise.
45600         (_gethtent): Likewise.
45601         (ht_endhostent): Likewise.
45602         (gethostent): Likewise.
45603         (dns_service): Likewise.
45604         * stdlib/drand48.c (drand48): Likewise.
45605         * stdlib/lrand48.c (lrand48): Likewise.
45606         * stdlib/mrand48.c (mrand48): Likewise.
45607         * stdlib/rand.c (rand): Likewise.
45608         * stdlib/random.c (__random): Likewise.
45609         * stdlib/setenv.c (clearenv): Likewise.
45610         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
45611         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
45612         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
45613         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
45614         (__get_nprocs): Likewise.
45615         (__get_phys_pages): Likewise.
45616         (__get_avphys_pages): Likewise.
45617         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
45618         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
45619         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
45620         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
45621         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
45622         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
45623         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
45624         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
45625         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
45626         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
45627         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
45628         * sysdeps/mach/hurd/sync.c (sync): Likewise.
45629         * sysdeps/posix/clock.c (clock): Likewise.
45630         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
45631         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
45632         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
45633         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
45634         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
45635         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
45636         (__get_nprocs_conf): Likewise.
45637         (__get_phys_pages): Likewise.
45638         (__get_avphys_pages): Likewise.
45639         * time/clock.c (clock): Likewise.
45640         * time/tzset.c (__tzname_max): Likewise.
45642 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
45644         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
45645         (__bswap_32): Do not use "register".
45646         * crypt/crypt.c (_ufc_doit_r): Likewise.
45647         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45648         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45649         * gmon/gmon.c (__monstartup): Likewise.
45650         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
45651         * hurd/hurdmalloc.c (more_memory): Likewise.
45652         (malloc): Likewise.
45653         (free): Likewise.
45654         (realloc): Likewise.
45655         (malloc_fork_prepare): Likewise.
45656         (malloc_fork_parent): Likewise.
45657         (malloc_fork_child): Likewise.
45658         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
45659         (_svcauth_des): Likewise.
45660         * inet/inet_lnaof.c (inet_lnaof): Likewise.
45661         * inet/inet_net.c (inet_network): Likewise.
45662         * inet/inet_netof.c (inet_netof): Likewise.
45663         * inet/rcmd.c (__validuser2_sa): Likewise.
45664         * io/fts.c (fts_open): Likewise.
45665         (fts_load): Likewise.
45666         (fts_close): Likewise.
45667         (fts_read): Likewise.
45668         (fts_children): Likewise.
45669         (fts_build): Likewise.
45670         (fts_stat): Likewise.
45671         (fts_sort): Likewise.
45672         (fts_alloc): Likewise.
45673         (fts_lfree): Likewise.
45674         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
45675         (_IO_file_xsgetn): Likewise.
45676         (_IO_file_xsgetn_mmap): Likewise.
45677         * libio/iofopncook.c (_IO_cookie_read): Likewise.
45678         (_IO_cookie_write): Likewise.
45679         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
45680         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
45681         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
45682         * malloc/obstack.c (_obstack_begin): Likewise.
45683         (_obstack_begin_1): Likewise.
45684         (_obstack_newchunk): Likewise.
45685         (_obstack_allocated_p): Likewise.
45686         (obstack_free): Likewise.
45687         (_obstack_memory_used): Likewise.
45688         * misc/getttyent.c (getttynam): Likewise.
45689         (getttyent): Likewise.
45690         (skip): Likewise.
45691         (value): Likewise.
45692         * misc/getusershell.c (initshells): Likewise.
45693         * misc/syslog.c (__vsyslog_chk): Likewise.
45694         * misc/ttyslot.c (ttyslot): Likewise.
45695         * nis/nis_hash.c (__nis_hash): Likewise.
45696         * posix/fnmatch_loop.c (FCT): Likewise.
45697         * posix/getconf.c (print_all): Likewise.
45698         (main): Likewise.
45699         * posix/getopt.c (exchange): Likewise.
45700         * posix/glob.c (globfree): Likewise.
45701         (prefix_array): Likewise.
45702         (__glob_pattern_type): Likewise.
45703         * resolv/arpa/nameser.h (NS_GET16): Likewise.
45704         (NS_GET32): Likewise.
45705         (NS_PUT16): Likewise.
45706         (NS_PUT32): Likewise.
45707         * resolv/gethnamaddr.c (getanswer): Likewise.
45708         (gethostbyname2): Likewise.
45709         (gethostbyaddr): Likewise.
45710         (_gethtent): Likewise.
45711         (_gethtbyname2): Likewise.
45712         (_gethtbyaddr): Likewise.
45713         * resolv/ns_print.c (dst_s_get_int16): Likewise.
45714         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
45715         * resolv/res_init.c (__res_vinit): Likewise.
45716         (net_mask): Likewise.
45717         * resolv/res_mkquery.c (outchar): Likewise.
45718         (PRINT): Likewise.
45719         * stdio-common/printf_fp.c (outchar): Likewise.
45720         (PRINT): Likewise.
45721         * stdio-common/printf_fphex.c (outchar): Likewise.
45722         (PRINT): Likewise.
45723         * stdio-common/printf_size.c (outchar): Likewise.
45724         (PRINT): Likewise.
45725         * stdio-common/test_rdwr.c (main): Likewise.
45726         * stdio-common/tfformat.c (matches): Likewise.
45727         * stdio-common/vfprintf.c (outchar): Likewise.
45728         (printf_unknown): Likewise.
45729         (buffered_vfprintf): Likewise.
45730         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
45731         * stdio-common/xbug.c (AppendToBuffer): Likewise.
45732         (ReadFile): Likewise.
45733         * stdlib/qsort.c (SWAP): Likewise.
45734         (_quicksort): Likewise.
45735         * stdlib/setenv.c (__add_to_environ): Likewise.
45736         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
45737         * stdlib/strtol_l.c (__strtol_l): Likewise.
45738         * stdlib/tst-strtod.c (main): Likewise.
45739         * stdlib/tst-strtol.c (main): Likewise.
45740         * stdlib/tst-strtoll.c (main): Likewise.
45741         * string/bits/string2.h (__strcmp_cc): Likewise.
45742         (__strcmp_cg): Likewise.
45743         (__strcspn_c1): Likewise.
45744         (__strcspn_c2): Likewise.
45745         (__strcspn_c3): Likewise.
45746         (__strspn_c1): Likewise.
45747         (__strspn_c2): Likewise.
45748         (__strspn_c3): Likewise.
45749         (__strsep_1c): Likewise.
45750         (__strsep_2c): Likewise.
45751         (__strsep_3c): Likewise.
45752         * string/memccpy.c (__memccpy): Likewise.
45753         * string/stpcpy.c (__stpcpy): Likewise.
45754         * string/strcmp.c (strcmp): Likewise.
45755         * string/strrchr.c (strrchr): Likewise.
45756         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
45757         Likewise.
45758         * sysdeps/mach/hurd/getcwd.c
45759         (_hurd_canonicalize_directory_name_internal): Likewise.
45760         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
45761         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
45762         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
45763         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
45764         Likewise, in both definitions.
45765         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
45766         definitions.
45767         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
45768         64] (__bswap_64): Likewise.
45769         * time/test_time.c (main): Likewise.
45770         * time/tzfile.c (__tzfile_read): Likewise.
45771         (__tzfile_compute): Likewise.
45772         * time/tzset.c (__tzset_parse_tz): Likewise.
45773         (tzset_internal): Likewise.
45774         (compute_change): Likewise.
45775         * wcsmbs/wcscat.c (__wcscat): Likewise.
45776         * wcsmbs/wcschr.c (wcschr): Likewise.
45777         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
45778         * wcsmbs/wcscspn.c (wcscspn): Likewise.
45779         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
45780         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
45781         * wcsmbs/wcsspn.c (wcsspn): Likewise.
45782         * wcsmbs/wcsstr.c (wcsstr): Likewise.
45783         * wcsmbs/wmemchr.c (wmemchr): Likewise.
45784         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45785         * wcsmbs/wmemset.c (wmemset): Likewise.
45787 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
45789         * scripts/config.guess: Update to version 2013-05-16.
45790         * scripts/config.sub: Update to version 2013-04-24.
45791         * scripts/install-sh: Update to version 2011-11-20.07.
45792         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
45793         * scripts/move-if-change: Update to version 2012-01-06 07:23.
45795 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
45797         * debug/fgetws_u_chk.c: Fix leading whitespaces.
45798         * elf/sln.c: Likewise.
45799         * hurd/hurd/ioctl.h: Likewise.
45800         * hurd/hurdmalloc.c: Likewise.
45801         * hurd/xattr.c: Likewise.
45802         * include/shlib-compat.h: Likewise.
45803         * inet/ruserpass.c: Likewise.
45804         * libio/iofgets_u.c: Likewise.
45805         * libio/iofgetws_u.c: Likewise.
45806         * locale/programs/ld-identification.c: Likewise.
45807         * locale/programs/ld-time.c: Likewise.
45808         * mach/msg-destroy.c: Likewise.
45809         * nss/nss_files/files-netgrp.c: Likewise.
45810         * resolv/res_data.c: Likewise.
45811         * soft-fp/op-1.h: Likewise.
45812         * soft-fp/op-2.h: Likewise.
45813         * soft-fp/op-4.h: Likewise.
45814         * soft-fp/op-common.h: Likewise.
45815         * stdio-common/printf_fphex.c: Likewise.
45816         * stdlib/strtod_l.c: Likewise.
45817         * sunrpc/rpc/clnt.h: Likewise.
45818         * sysdeps/generic/framestate.c: Likewise.
45819         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45820         * sysdeps/i386/bsd-setjmp.S: Likewise.
45821         * sysdeps/i386/__longjmp.S: Likewise.
45822         * sysdeps/i386/setjmp.S: Likewise.
45823         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45824         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45825         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45826         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45827         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45828         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45829         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45830         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45831         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45832         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45833         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45834         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45835         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45836         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45837         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45838         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45839         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45840         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
45841         * sysdeps/ieee754/support.c: Likewise.
45842         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45843         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
45844         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
45845         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
45846         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
45847         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
45848         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
45849         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
45850         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
45851         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
45852         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
45853         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
45854         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
45855         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
45856         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
45857         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
45858         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45861 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
45863         * posix/transbug.c: Remove executable mode.
45865 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
45867         * crypt/speeds.c: Remove trailing whitespace.
45868         * dlfcn/default.c: Likewise.
45869         * elf/ifuncdep2.c: Likewise.
45870         * elf/ifuncmain1.c: Likewise.
45871         * elf/ifuncmain1vis.c: Likewise.
45872         * elf/testobj.h: Likewise.
45873         * elf/tst-stackguard1.c: Likewise.
45874         * gmon/sys/gmon.h: Likewise.
45875         * hurd/hurdmsg.c: Likewise.
45876         * hurd/new-fd.c: Likewise.
45877         * hurd/ports-get.c: Likewise.
45878         * iconvdata/ibm1008_420.c: Likewise.
45879         * inet/tst-getni1.c: Likewise.
45880         * inet/tst-getni2.c: Likewise.
45881         * libio/ioungetc.c: Likewise.
45882         * libio/wfiledoalloc.c: Likewise.
45883         * manual/libm-err-tab.pl: Likewise.
45884         * math/w_dremf.c: Likewise.
45885         * misc/ftruncate.c: Likewise.
45886         * posix/bug-glob2.c: Likewise.
45887         * posix/tst-pcre.c: Likewise.
45888         * posix/wait4.c: Likewise.
45889         * resolv/README: Likewise.
45890         * resolv/res_debug.h: Likewise.
45891         * resolv/tst-inet_ntop.c: Likewise.
45892         * setjmp/bug269-setjmp.c: Likewise.
45893         * soft-fp/extended.h: Likewise.
45894         * soft-fp/op-1.h: Likewise.
45895         * soft-fp/op-2.h: Likewise.
45896         * soft-fp/op-4.h: Likewise.
45897         * soft-fp/op-8.h: Likewise.
45898         * soft-fp/testit.c: Likewise.
45899         * stdio-common/bug16.c: Likewise.
45900         * stdlib/random.c: Likewise.
45901         * sunrpc/rpcsvc/rquota.x: Likewise.
45902         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
45903         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45904         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45905         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45906         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45907         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45908         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45909         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45910         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45911         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45912         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45913         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45914         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45915         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45916         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45917         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45918         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45919         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45920         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45921         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45922         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45923         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45924         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
45925         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45926         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45927         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45928         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45929         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45930         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45931         * sysdeps/ieee754/s_lib_version.c: Likewise.
45932         * sysdeps/mach/hurd/check_fds.c: Likewise.
45933         * sysdeps/mach/hurd/getsockname.c: Likewise.
45934         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
45935         * sysdeps/mach/hurd/recvfrom.c: Likewise.
45936         * sysdeps/powerpc/bits/link.h: Likewise.
45937         * sysdeps/powerpc/dl-procinfo.c: Likewise.
45938         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
45939         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
45940         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
45941         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
45942         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45943         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
45944         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
45945         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
45946         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45947         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
45948         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45949         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
45950         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45951         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45952         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45953         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45954         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45955         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45956         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45957         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45958         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
45959         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45960         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45961         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
45962         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45963         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45964         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45965         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45966         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45967         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45968         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45969         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45970         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45971         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
45972         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
45973         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
45974         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45975         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
45976         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
45977         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
45978         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
45979         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
45980         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
45981         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45982         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
45983         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
45984         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45985         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
45986         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
45987         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45988         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45989         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45990         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45991         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
45992         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
45993         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
45994         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45995         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
45996         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
45997         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
45998         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
45999         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
46000         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46001         * sysdeps/powerpc/sysdep.h: Likewise.
46002         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46003         * sysdeps/s390/s390-64/sub_n.S: Likewise.
46004         * sysdeps/sh/dl-trampoline.S: Likewise.
46005         * sysdeps/sh/memset.S: Likewise.
46006         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
46007         * sysdeps/sh/strlen.S: Likewise.
46008         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
46009         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
46010         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
46011         * sysdeps/sparc/sparc32/rem.S: Likewise.
46012         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
46013         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
46014         * sysdeps/sparc/sparc32/strchr.S: Likewise.
46015         * sysdeps/sparc/sparc32/udiv.S: Likewise.
46016         * sysdeps/sparc/sparc32/urem.S: Likewise.
46017         * sysdeps/sparc/sparc64/add_n.S: Likewise.
46018         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46019         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
46020         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
46021         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
46022         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
46023         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
46024         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
46025         * sysdeps/unix/bsd/times.c: Likewise.
46026         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
46027         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
46028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46031         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
46032         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46033         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
46034         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
46035         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
46036         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
46037         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46038         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
46039         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46040         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46041         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
46042         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46043         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
46044         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
46045         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
46046         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
46047         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
46048         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46049         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
46050         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
46051         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
46052         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
46053         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46054         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
46055         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
46056         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
46057         * sysdeps/x86_64/strcspn.S: Likewise.
46059 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46061         * locale/C-translit.h: Revert #include <stdint.h> because this is a
46062         generated file.  Regenerate properly from gen-translit.pl.
46063         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
46064         locale/C-translit.h.
46066 2013-06-05  Andreas Schwab  <schwab@suse.de>
46068         [BZ #15100]
46069         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
46070         week as 6 instead of -1.
46071         * time/tst-strptime.c (day_tests): Add test case.
46073 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46075         * sysdeps/generic/math_private.h
46076         (libc_feholdexcept_setround_53bit): Replace with
46077         libc_feholdsetround_53bit.
46078         (libc_feupdateenv_53bit): Replace with
46079         libc_feresetround_53bit.
46080         (SET_RESTORE_ROUND_53BIT): Adjust.
46082 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46084         * string/test-strchrnul.c: Add copyright header.
46086         * posix/tst-getaddrinfo4.c: Increase test timeout.
46088 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
46090         [BZ #15536]
46091         * math/libm-test.inc (MAX_EXP): Remove
46092         (MIN_EXP): Define.
46093         (ulp): Use MIN_EXP - MANT_DIG.
46094         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
46096 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
46098         * po/be.po: Revert last change.
46099         * po/zh_CN.po: Likewise.
46100         * po/header.pot: Likewise.
46102 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
46104         * Makefile ($(common-objpfx)linkobj/libc.so): Define
46105         link-libc-deps to empty as target-specific variable.
46106         * Makerules (link-libc-args): New variable.
46107         (libc-for-link): Likewise.
46108         (link-libc-deps): Likewise.
46109         (lib%.so): Depend on $(link-libc-deps).  Link with
46110         $(link-libc-args).
46111         (build-module): Link with $(link-libc-args).
46112         (build-module-asneeded): Likewise.
46113         (build-module-helper-objlist): Filter out $(link-libc-deps) from
46114         list of objects.
46115         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
46116         target-specific variable.
46117         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
46118         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
46119         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
46120         libc.
46121         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
46122         libc and ld.so.
46123         ($(objpfx)libpcprofile.so): Likewise.
46124         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
46125         libc_nonshared.a.
46126         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
46127         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
46128         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
46129         $(link-libc-deps).
46130         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
46131         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
46132         * login/Makefile ($(objpfx)libutil.so): Likewise.
46133         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
46134         * math/Makefile ($(objpfx)libm.so): Likewise.
46135         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
46136         $(objpfx)libnsl.so): Define libc-for-link as target-specific
46137         variable instead of depending directly on libc.
46138         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
46139         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
46140         $(link-libc-deps).
46141         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
46142         libc.
46143         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
46144         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
46145         ($(objpfx)libanl.so): Likewise.
46146         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
46147         ld.so.
46148         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
46149         $(link-libc-deps).
46150         * sysdeps/i386/fpu/Makefile: Remove file.
46151         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
46152         ($(objpfx)libm.so): Remove dependency on ld.so.
46154 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
46156         [BZ # 15553]
46157         * nis/yp_xdr.c (XDRMAXNAME): Define.
46158         (XDRMAXRECORD): Define.
46159         (xdr_domainname): Use XDRMAXNAME.
46160         (xdr_mapname): Likewise.
46161         (xdr_peername): Likewise.
46162         (xdr_keydat): Use XDRMAXRECORD.
46163         (xdr_valdat): Likewise.
46165 2013-05-30  Jeff Law  <law@redhat.com>
46167         [BZ #14256]
46168         * manual/errno.texi (ESTALE): Update to account for more than
46169         just NFS file systems.
46170         * sysdeps/gnu/errlist.c: Regenerated.
46172 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46174         [BZ #15465]
46175         * elf/Makefile (tests): Add tst-null-argv.
46176         (modules-names):  Add tst-null-argv-lib.
46177         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
46178         (tst-null-argv-ENV): Set environment for tst-null-argv.
46179         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
46180         (RTLD_PROGNAME): New macro.
46181         * elf/tst-null-argv.c: New test case.
46182         * elf/tst-null-argv-lib.c: Library for test case.
46183         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
46184         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
46185         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
46186         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
46187         * elf/dl-init.c (call_init): Likewise.
46188         (_dl_init): Likewise.
46189         * elf/dl-load.c (print_search_path): Likewise.
46190         (_dl_map_object): Likewise.
46191         * elf/dl-lookup.c (do_lookup_x): Likewise.
46192         (add_dependency): Likewise.
46193         (_dl_lookup_symbol_x): Likewise.
46194         (_dl_debug_bindings): Likewise.
46195         * elf/dl-open.c (_dl_show_scope): Likewise.
46196         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46197         * elf/dl-version.c (match_symbol): Likewise.
46198         (_dl_check_map_versions): Likewise.
46199         * elf/rtld.c (dl_main): Likewise.
46200         (print_unresolved): Use RTLD_PROGNAME.
46201         (print_missing_version): Likewise.
46202         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
46203         (elf_machine_rela): Likewise.
46204         * sysdeps/powerpc/powerpc32/dl-machine.c
46205         (__process_machine_rela): Likewise.
46206         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46207         Likewise.
46208         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46209         Likewise.
46210         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
46211         Likewise.
46212         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46213         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
46214         Likewise.
46215         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
46216         Likewise.
46217         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46219 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
46221         * po/be.po: Add descriptive title.
46222         * po/zh_CN.po: Likewise.
46223         * po/header.pot: Likewise.
46225 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
46227         * locale/programs/locarchive.c (create_archive): Inlucde fname in
46228         error message.
46229         (enlarge_archive): Likewise.
46231 2013-05-28  Ben North  <ben@redfrontdoor.org>
46233         * manual/arith.texi (frexp): It is the magnitude of the return
46234         value which lies in [0.5, 1), not the return value itself.
46236 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46240 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
46242         * stdio-common/bug26.c (main): Correct fscanf template.
46244         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
46245         declare _dl_skip_args.
46247         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
46248         Don't declare.
46250         * manual/platform.texi: Add missing @end deftypefun.
46252 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46254         [BZ #15529]
46255         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
46256         bit of mantissa of 2^16382.
46257         * math/libm-test.inc (hypot_test_data): Add more tests.
46259         * math/libm-test.inc: Add drem and pow10 to list of tested
46260         functions.
46261         (pow10_test): New function.
46262         (drem_test): Likewise.
46263         (drem_test_tonearest): Likewise.
46264         (drem_test_towardzero): Likewise.
46265         (drem_test_downward): Likewise.
46266         (drem_test_upward): Likewise.
46267         (main): Call the new functions.
46269         * math/libm-test.inc (finite_test_data): Remove.
46270         (finite_test): Run tests from isfinite_test_data.
46271         (gamma_test_data): Remove.
46272         (gamma_test): Run tests from lgamma_test_data.
46273         * sysdeps/i386/fpu/libm-test-ulps: Update.
46274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46276 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46278         * manual/platform.texi: Add PowerPC PPR function set documentation.
46279         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
46280         implementation.
46282 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
46284         * math/libm-test.inc (MAX_EXP): Define.
46285         (ULPDIFF): Define.
46286         (ulp): New function.
46287         (check_float_internal): Use ULPDIFF.
46288         (cpow_test): Disable failing test.
46289         (check_ulp): Test ulp() implemetnation.
46290         (main): Call check_ulp before starting tests.
46292 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46294         * math/gen-libm-test.pl (generate_testfile): Do not handle
46295         START_DATA and END_DATA.
46296         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
46297         END_DATA.
46298         (acos_tonearest_test_data): Likewise.
46299         (acos_towardzero_test_data): Likewise.
46300         (acos_downward_test_data): Likewise.
46301         (acos_upward_test_data): Likewise.
46302         (acosh_test_data): Likewise.
46303         (asin_test_data): Likewise.
46304         (asin_tonearest_test_data): Likewise.
46305         (asin_towardzero_test_data): Likewise.
46306         (asin_downward_test_data): Likewise.
46307         (asin_upward_test_data): Likewise.
46308         (asinh_test_data): Likewise.
46309         (atan_test_data): Likewise.
46310         (atanh_test_data): Likewise.
46311         (atan2_test_data): Likewise.
46312         (cabs_test_data): Likewise.
46313         (cacos_test_data): Likewise.
46314         (cacosh_test_data): Likewise.
46315         (carg_test_data): Likewise.
46316         (casin_test_data): Likewise.
46317         (casinh_test_data): Likewise.
46318         (catan_test_data): Likewise.
46319         (catanh_test_data): Likewise.
46320         (cbrt_test_data): Likewise.
46321         (ccos_test_data): Likewise.
46322         (ccosh_test_data): Likewise.
46323         (ceil_test_data): Likewise.
46324         (cexp_test_data): Likewise.
46325         (cimag_test_data): Likewise.
46326         (clog_test_data): Likewise.
46327         (clog10_test_data): Likewise.
46328         (conj_test_data): Likewise.
46329         (copysign_test_data): Likewise.
46330         (cos_test_data): Likewise.
46331         (cos_tonearest_test_data): Likewise.
46332         (cos_towardzero_test_data): Likewise.
46333         (cos_downward_test_data): Likewise.
46334         (cos_upward_test_data): Likewise.
46335         (cosh_test_data): Likewise.
46336         (cosh_tonearest_test_data): Likewise.
46337         (cosh_towardzero_test_data): Likewise.
46338         (cosh_downward_test_data): Likewise.
46339         (cosh_upward_test_data): Likewise.
46340         (cpow_test_data): Likewise.
46341         (cproj_test_data): Likewise.
46342         (creal_test_data): Likewise.
46343         (csin_test_data): Likewise.
46344         (csinh_test_data): Likewise.
46345         (csqrt_test_data): Likewise.
46346         (ctan_test_data): Likewise.
46347         (ctan_tonearest_test_data): Likewise.
46348         (ctan_towardzero_test_data): Likewise.
46349         (ctan_downward_test_data): Likewise.
46350         (ctan_upward_test_data): Likewise.
46351         (ctanh_test_data): Likewise.
46352         (ctanh_tonearest_test_data): Likewise.
46353         (ctanh_towardzero_test_data): Likewise.
46354         (ctanh_downward_test_data): Likewise.
46355         (ctanh_upward_test_data): Likewise.
46356         (erf_test_data): Likewise.
46357         (erfc_test_data): Likewise.
46358         (exp_test_data): Likewise.
46359         (exp_tonearest_test_data): Likewise.
46360         (exp_towardzero_test_data): Likewise.
46361         (exp_downward_test_data): Likewise.
46362         (exp_upward_test_data): Likewise.
46363         (exp10_test_data): Likewise.
46364         (exp2_test_data): Likewise.
46365         (expm1_test_data): Likewise.
46366         (fabs_test_data): Likewise.
46367         (fdim_test_data): Likewise.
46368         (finite_test_data): Likewise.
46369         (floor_test_data): Likewise.
46370         (fma_test_data): Likewise.
46371         (fma_towardzero_test_data): Likewise.
46372         (fma_downward_test_data): Likewise.
46373         (fma_upward_test_data): Likewise.
46374         (fmax_test_data): Likewise.
46375         (fmin_test_data): Likewise.
46376         (fmod_test_data): Likewise.
46377         (fpclassify_test_data): Likewise.
46378         (frexp_test_data): Likewise.
46379         (gamma_test_data): Likewise.
46380         (hypot_test_data): Likewise.
46381         (ilogb_test_data): Likewise.
46382         (isfinite_test_data): Likewise.
46383         (isgreater_test_data): Likewise.
46384         (isgreaterequal_test_data): Likewise.
46385         (isinf_test_data): Likewise.
46386         (isless_test_data): Likewise.
46387         (islessequal_test_data): Likewise.
46388         (islessgreater_test_data): Likewise.
46389         (isnan_test_data): Likewise.
46390         (isnormal_test_data): Likewise.
46391         (issignaling_test_data): Likewise.
46392         (isunordered_test_data): Likewise.
46393         (j0_test_data): Likewise.
46394         (j1_test_data): Likewise.
46395         (jn_test_data): Likewise.
46396         (ldexp_test_data): Likewise.
46397         (lgamma_test_data): Likewise.
46398         (lrint_test_data): Likewise.
46399         (lrint_tonearest_test_data): Likewise.
46400         (lrint_towardzero_test_data): Likewise.
46401         (lrint_downward_test_data): Likewise.
46402         (lrint_upward_test_data): Likewise.
46403         (llrint_test_data): Likewise.
46404         (llrint_tonearest_test_data): Likewise.
46405         (llrint_towardzero_test_data): Likewise.
46406         (llrint_downward_test_data): Likewise.
46407         (llrint_upward_test_data): Likewise.
46408         (log_test_data): Likewise.
46409         (log10_test_data): Likewise.
46410         (log1p_test_data): Likewise.
46411         (log2_test_data): Likewise.
46412         (logb_test_data): Likewise.
46413         (logb_downward_test_data): Likewise.
46414         (lround_test_data): Likewise.
46415         (llround_test_data): Likewise.
46416         (modf_test_data): Likewise.
46417         (nearbyint_test_data): Likewise.
46418         (nextafter_test_data): Likewise.
46419         (nexttoward_test_data): Likewise.
46420         (pow_test_data): Likewise.
46421         (pow_tonearest_test_data): Likewise.
46422         (pow_towardzero_test_data): Likewise.
46423         (pow_downward_test_data): Likewise.
46424         (pow_upward_test_data): Likewise.
46425         (remainder_test_data): Likewise.
46426         (remainder_tonearest_test_data): Likewise.
46427         (remainder_towardzero_test_data): Likewise.
46428         (remainder_downward_test_data): Likewise.
46429         (remainder_upward_test_data): Likewise.
46430         (remquo_test_data): Likewise.
46431         (rint_test_data): Likewise.
46432         (rint_tonearest_test_data): Likewise.
46433         (rint_towardzero_test_data): Likewise.
46434         (rint_downward_test_data): Likewise.
46435         (rint_upward_test_data): Likewise.
46436         (round_test_data): Likewise.
46437         (scalb_test_data): Likewise.
46438         (scalbn_test_data): Likewise.
46439         (scalbln_test_data): Likewise.
46440         (signbit_test_data): Likewise.
46441         (sin_test_data): Likewise.
46442         (sin_tonearest_test_data): Likewise.
46443         (sin_towardzero_test_data): Likewise.
46444         (sin_downward_test_data): Likewise.
46445         (sin_upward_test_data): Likewise.
46446         (sincos_test_data): Likewise.
46447         (sinh_test_data): Likewise.
46448         (sinh_tonearest_test_data): Likewise.
46449         (sinh_towardzero_test_data): Likewise.
46450         (sinh_downward_test_data): Likewise.
46451         (sinh_upward_test_data): Likewise.
46452         (sqrt_test_data): Likewise.
46453         (tan_test_data): Likewise.
46454         (tan_tonearest_test_data): Likewise.
46455         (tan_towardzero_test_data): Likewise.
46456         (tan_downward_test_data): Likewise.
46457         (tan_upward_test_data): Likewise.
46458         (tanh_test_data): Likewise.
46459         (tgamma_test_data): Likewise.
46460         (trunc_test_data): Likewise.
46461         (y0_test_data): Likewise.
46462         (y1_test_data): Likewise.
46463         (yn_test_data): Likewise.
46464         (significand_test_data): Likewise.
46466         * math/gen-libm-test.pl (@functions): Remove variable.
46467         (generate_testfile): Don't handle START and END lines.
46468         * math/libm-test.inc (START): New macro.
46469         (END): Likewise.
46470         (END_COMPLEX): Likewise.
46471         (acos_test): Use END macro without arguments.
46472         (acos_test_tonearest): Likewise.
46473         (acos_test_towardzero): Likewise.
46474         (acos_test_downward): Likewise.
46475         (acos_test_upward): Likewise.
46476         (acosh_test): Likewise.
46477         (asin_test): Likewise.
46478         (asin_test_tonearest): Likewise.
46479         (asin_test_towardzero): Likewise.
46480         (asin_test_downward): Likewise.
46481         (asin_test_upward): Likewise.
46482         (asinh_test): Likewise.
46483         (atan_test): Likewise.
46484         (atanh_test): Likewise.
46485         (atan2_test): Likewise.
46486         (cabs_test): Likewise.
46487         (cacos_test): Use END_COMPLEX macro without arguments.
46488         (cacosh_test): Likewise.
46489         (carg_test): Use END macro without arguments.
46490         (casin_test): Use END_COMPLEX macro without arguments.
46491         (casinh_test): Likewise.
46492         (catan_test): Likewise.
46493         (catanh_test): Likewise.
46494         (cbrt_test): Use END macro without arguments.
46495         (ccos_test): Use END_COMPLEX macro without arguments.
46496         (ccosh_test): Likewise.
46497         (ceil_test): Use END macro without arguments.
46498         (cexp_test): Use END_COMPLEX macro without arguments.
46499         (cimag_test): Use END macro without arguments.
46500         (clog_test): Use END_COMPLEX macro without arguments.
46501         (clog10_test): Likewise.
46502         (conj_test): Likewise.
46503         (copysign_test): Use END macro without arguments.
46504         (cos_test): Likewise.
46505         (cos_test_tonearest): Likewise.
46506         (cos_test_towardzero): Likewise.
46507         (cos_test_downward): Likewise.
46508         (cos_test_upward): Likewise.
46509         (cosh_test): Likewise.
46510         (cosh_test_tonearest): Likewise.
46511         (cosh_test_towardzero): Likewise.
46512         (cosh_test_downward): Likewise.
46513         (cosh_test_upward): Likewise.
46514         (cpow_test): Use END_COMPLEX macro without arguments.
46515         (cproj_test): Likewise.
46516         (creal_test): Use END macro without arguments.
46517         (csin_test): Use END_COMPLEX macro without arguments.
46518         (csinh_test): Likewise.
46519         (csqrt_test): Likewise.
46520         (ctan_test): Likewise.
46521         (ctan_test_tonearest): Likewise.
46522         (ctan_test_towardzero): Likewise.
46523         (ctan_test_downward): Likewise.
46524         (ctan_test_upward): Likewise.
46525         (ctanh_test): Likewise.
46526         (ctanh_test_tonearest): Likewise.
46527         (ctanh_test_towardzero): Likewise.
46528         (ctanh_test_downward): Likewise.
46529         (ctanh_test_upward): Likewise.
46530         (erf_test): Use END macro without arguments.
46531         (erfc_test): Likewise.
46532         (exp_test): Likewise.
46533         (exp_test_tonearest): Likewise.
46534         (exp_test_towardzero): Likewise.
46535         (exp_test_downward): Likewise.
46536         (exp_test_upward): Likewise.
46537         (exp10_test): Likewise.
46538         (exp2_test): Likewise.
46539         (expm1_test): Likewise.
46540         (fabs_test): Likewise.
46541         (fdim_test): Likewise.
46542         (finite_test): Likewise.
46543         (floor_test): Likewise.
46544         (fma_test): Likewise.
46545         (fma_test_towardzero): Likewise.
46546         (fma_test_downward): Likewise.
46547         (fma_test_upward): Likewise.
46548         (fmax_test): Likewise.
46549         (fmin_test): Likewise.
46550         (fmod_test): Likewise.
46551         (fpclassify_test): Likewise.
46552         (frexp_test): Likewise.
46553         (gamma_test): Likewise.
46554         (hypot_test): Likewise.
46555         (ilogb_test): Likewise.
46556         (isfinite_test): Likewise.
46557         (isgreater_test): Likewise.
46558         (isgreaterequal_test): Likewise.
46559         (isinf_test): Likewise.
46560         (isless_test): Likewise.
46561         (islessequal_test): Likewise.
46562         (islessgreater_test): Likewise.
46563         (isnan_test): Likewise.
46564         (isnormal_test): Likewise.
46565         (issignaling_test): Likewise.
46566         (isunordered_test): Likewise.
46567         (j0_test): Likewise.
46568         (j1_test): Likewise.
46569         (jn_test): Likewise.
46570         (ldexp_test): Likewise.
46571         (lgamma_test): Likewise.
46572         (lrint_test): Likewise.
46573         (lrint_test_tonearest): Likewise.
46574         (lrint_test_towardzero): Likewise.
46575         (lrint_test_downward): Likewise.
46576         (lrint_test_upward): Likewise.
46577         (llrint_test): Likewise.
46578         (llrint_test_tonearest): Likewise.
46579         (llrint_test_towardzero): Likewise.
46580         (llrint_test_downward): Likewise.
46581         (llrint_test_upward): Likewise.
46582         (log_test): Likewise.
46583         (log10_test): Likewise.
46584         (log1p_test): Likewise.
46585         (log2_test): Likewise.
46586         (logb_test): Likewise.
46587         (logb_test_downward): Likewise.
46588         (lround_test): Likewise.
46589         (llround_test): Likewise.
46590         (modf_test): Likewise.
46591         (nearbyint_test): Likewise.
46592         (nextafter_test): Likewise.
46593         (nexttoward_test): Likewise.
46594         (pow_test): Likewise.
46595         (pow_test_tonearest): Likewise.
46596         (pow_test_towardzero): Likewise.
46597         (pow_test_downward): Likewise.
46598         (pow_test_upward): Likewise.
46599         (remainder_test): Likewise.
46600         (remainder_test_tonearest): Likewise.
46601         (remainder_test_towardzero): Likewise.
46602         (remainder_test_downward): Likewise.
46603         (remainder_test_upward): Likewise.
46604         (remquo_test): Likewise.
46605         (rint_test): Likewise.
46606         (rint_test_tonearest): Likewise.
46607         (rint_test_towardzero): Likewise.
46608         (rint_test_downward): Likewise.
46609         (rint_test_upward): Likewise.
46610         (round_test): Likewise.
46611         (scalb_test): Likewise.
46612         (scalbn_test): Likewise.
46613         (scalbln_test): Likewise.
46614         (signbit_test): Likewise.
46615         (sin_test): Likewise.
46616         (sin_test_tonearest): Likewise.
46617         (sin_test_towardzero): Likewise.
46618         (sin_test_downward): Likewise.
46619         (sin_test_upward): Likewise.
46620         (sincos_test): Likewise.
46621         (sinh_test): Likewise.
46622         (sinh_test_tonearest): Likewise.
46623         (sinh_test_towardzero): Likewise.
46624         (sinh_test_downward): Likewise.
46625         (sinh_test_upward): Likewise.
46626         (sqrt_test): Likewise.
46627         (tan_test): Likewise.
46628         (tan_test_tonearest): Likewise.
46629         (tan_test_towardzero): Likewise.
46630         (tan_test_downward): Likewise.
46631         (tan_test_upward): Likewise.
46632         (tanh_test): Likewise.
46633         (tgamma_test): Likewise.
46634         (trunc_test): Likewise.
46635         (y0_test): Likewise.
46636         (y1_test): Likewise.
46637         (yn_test): Likewise.
46638         (significand_test): Likewise.
46640 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
46642         [BZ #15381]
46643         * libio/genops.c (_IO_no_init): Initialize wide struct info.
46645 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46647         [BZ #14894]
46648         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
46649         __ppc_mdoio and __ppc_mdoom.
46650         * manual/platform.texi: Document new functions __ppc_yield,
46651         __ppc_mdoio and __ppc_mdoom.
46653 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
46655         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
46656         (main): Mention "tls" pseudo-hwcap is legacy.
46657         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
46659 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46661         * math/gen-libm-test.pl (parse_args): Output only string of
46662         arguments as text for test name, not full call or descriptions of
46663         tests for extra outputs.
46664         (generate_testfile): Do not pass function name to parse_args.
46665         Generate this_func variable from START.
46666         * math/libm-test.inc (struct test_f_f_data): Rename test_name
46667         field to arg_str.
46668         (struct test_ff_f_data): Likewise.
46669         (test_ff_f_data_nexttoward): Likewise.
46670         (struct test_fi_f_data): Likewise.
46671         (struct test_fl_f_data): Likewise.
46672         (struct test_if_f_data): Likewise.
46673         (struct test_fff_f_data): Likewise.
46674         (struct test_c_f_data): Likewise.
46675         (struct test_f_f1_data): Likewise.  Remove field extra_name.
46676         (struct test_fF_f1_data): Likewise.
46677         (struct test_ffI_f1_data): Likewise.
46678         (struct test_c_c_data): Rename test_name field to arg_str.
46679         (struct test_cc_c_data): Likewise.
46680         (struct test_f_i_data): Likewise.
46681         (struct test_ff_i_data): Likewise.
46682         (struct test_f_l_data): Likewise.
46683         (struct test_f_L_data): Likewise.
46684         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
46685         and extra2_name.
46686         (COMMON_TEST_SETUP): New macro.
46687         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
46688         (COMMON_TEST_CLEANUP): Likewise.
46689         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
46690         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
46691         macros.
46692         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
46693         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
46694         macros.
46695         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
46696         (RUN_TEST_fff_f): Take argument string.  Call new setup and
46697         cleanup macros.
46698         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
46699         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
46700         macros.
46701         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
46702         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
46703         macros.
46704         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46705         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
46706         cleanup macros.
46707         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46708         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
46709         cleanup macros.
46710         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46711         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
46712         cleanup macros.
46713         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46714         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
46715         macros.
46716         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
46717         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
46718         macros.
46719         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
46720         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
46721         macros.
46722         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
46723         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
46724         cleanup macros.
46725         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
46726         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
46727         cleanup macros.
46728         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
46729         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
46730         macros.
46731         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
46732         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
46733         cleanup macros.
46734         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
46735         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
46736         macros.
46737         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
46738         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
46739         macros.
46740         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
46741         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
46742         cleanup macros.
46743         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
46745 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
46747         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
46748         to _sifields.sigfault.
46749         (si_addr_lsb): Define new macro.
46750         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46751         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46752         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
46754 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
46756         [BZ #15441]
46757         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
46758         returns -1.
46759         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
46760         null return -1.
46761         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
46762         loading the domain.
46764 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46766         * math/gen-libm-test.pl (parse_args): Do not include expected
46767         result in test name.
46768         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
46769         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46770         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46771         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46772         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46775 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46777         * benchtests/Makefile: Sort function entries.
46779         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
46780         tanh, asinh, acosh, atanh.
46781         * benchtests/acos-inputs: New file.
46782         * benchtests/acosh-inputs: New file.
46783         * benchtests/asin-inputs: New file.
46784         * benchtests/asinh-inputs: New file.
46785         * benchtests/atanh-inputs: New file.
46786         * benchtests/cosh-inputs: New file.
46787         * benchtests/log-inputs: New file.
46788         * benchtests/sinh-inputs: New file.
46789         * benchtests/tanh-inputs: New file.
46791 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
46793         [BZ #15339]
46794         * posix/tst-getaddrinfo4.c: New test.
46795         * posix/Makefile (tests): Add it.
46797 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46799         [BZ #15339]
46800         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
46801         when no services were used.
46802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
46803         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
46805 2013-05-21  Andreas Schwab  <schwab@suse.de>
46807         [BZ #15014]
46808         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
46809         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
46810         successful.
46811         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
46812         redundant variable declarations and reallocation of buffer when
46813         parsing as IPv6 address.  Always set NSS status when called from
46814         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
46815         buffer too small.  Correct computation of needed size.
46816         * nss/Makefile (tests): Add test-digits-dots.
46817         * nss/test-digits-dots.c: New test.
46819 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46821         * benchtests/Makefile: Remove instructions for adding
46822         benchmark tests.
46823         * benchtests/README: New file to explain how to execute and
46824         enhance the benchmark tests.
46826 2013-05-21  Andreas Schwab  <schwab@suse.de>
46828         [BZ #15493]
46829         * setjmp/Makefile (tests): Add tst-sigsetjmp.
46830         * setjmp/tst-sigsetjmp.c: New test.
46832 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46834         * sysdeps/x86_64/memset.S (memset): New implementation.
46835         (__bzero): Likewise.
46836         (__memset_tail): New function.
46838 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46840         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
46841         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
46842         __memcpy_sse2_unaligned ifunc selection.
46843         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46844         Add memcpy-sse2-unaligned.S.
46845         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46846         Add: __memcpy_sse2_unaligned.
46848 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
46850         [BZ #15490]
46851         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46852         math_force_eval before restoring floating-point envrionment.
46853         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
46854         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
46855         Likewise.
46856         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
46857         <math_private.h>.
46858         (__nearbyintl): Use math_force_eval before restoring
46859         floating-point environment.
46860         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
46862         * math/gen-libm-test.pl (special_functions): Remove.
46863         (parse_args): Don't handle TEST_extra.  Handle functions with no
46864         return value.
46865         * math/libm-test.inc (struct test_sincos_data): Replace with
46866         struct test_fFF_11_data.
46867         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
46868         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
46869         (sincos_test_data): Change element type to struct
46870         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
46871         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
46872         RUN_TEST_LOOP_sincos.
46873         * math/README.libm-test: Don't mention special handling of
46874         individual functions.
46875         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
46876         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46877         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46878         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46879         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46882         * math/gen-libm-test.pl (get_variable): Remove function.
46883         (parse_args): Don't show pointer parameters to call in test
46884         names.  Use "extra output N" in test names for extra outputs
46885         rather than naming variables.
46887 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
46889         [BZ #15488]
46890         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
46891         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
46892         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
46893         double tests.
46894         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
46895         disable.
46896         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
46897         check_long_double.
46899         * math/gen-libm-test.pl (@tests): Remove variable.
46900         ($count): Likewise.
46901         (new_test): Remove function.
46902         (show_exceptions): New function.
46903         (special_functions): Use show_exceptions instead of new_test.
46904         (parse_args): Likewise.
46905         (generate_testfile): Pass only function name in generated call to
46906         print_max_error or print_complex_max_error.
46907         (get_ulps): Do not handle complex tests specially.
46908         (output_test): Rename to ...
46909         (get_all_ulps_for_test): ... this.  Return a string rather than
46910         printing to a file.  Require ulps to be present.
46911         (output_ulps): Generate arrays rather than #defines.
46912         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
46913         (struct ulp_data): New type.
46914         (BUILD_COMPLEX_ULP): Remove macro.
46915         (compare_ulp_data): New function.
46916         (find_ulps): Likewise.
46917         (find_test_ulps): Likewise.
46918         (find_function_ulps): Likewise.
46919         (find_complex_function_ulps): Likewise.
46920         (print_max_error): Determine allowed ulps using
46921         find_function_ulps.
46922         (print_complex_max_error): Determine allowed ulps using
46923         find_complex_function_ulps.
46924         (check_float_internal): Determine max ulps using find_test_ulps.
46925         (check_float): Do not take max_ulp parameter.  Update call to
46926         check_float_internal.
46927         (check_complex): Likewise.
46928         (check_int): Do not take max_ulp parameter.
46929         (check_long): Likewise.
46930         (check_bool): Likewise.
46931         (check_longlong): Likewise.
46932         (struct test_f_f_data): Remove max_ulp field.
46933         (struct test_ff_f_data): Likewise.
46934         (struct test_ff_f_data_nexttoward): Likewise.
46935         (struct test_fi_f_data): Likewise.
46936         (struct test_fl_f_data): Likewise.
46937         (struct test_if_f_data): Likewise.
46938         (struct test_fff_f_data): Likewise.
46939         (struct test_c_f_data): Likewise.
46940         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
46941         (struct test_fF_f1_data): Likewise.
46942         (struct test_ffI_f1_data): Likewise.
46943         (struct test_c_c_data): Remove max_ulp field.
46944         (struct test_cc_c_data): Likewise.
46945         (struct test_f_i_data): Likewise.
46946         (struct test_ff_i_data): Likewise.
46947         (struct test_f_l_data): Likewise.
46948         (struct test_f_L_data): Likewise.
46949         (struct test_sincos_data): Likewise.
46950         (RUN_TEST_f_f): Do not handle ulps.
46951         (RUN_TEST_LOOP_f_f): Likewise.
46952         (RUN_TEST_2_f): Likewise.
46953         (RUN_TEST_LOOP_2_f): Likewise.
46954         (RUN_TEST_fff_f): Likewise.
46955         (RUN_TEST_LOOP_fff_f): Likewise.
46956         (RUN_TEST_c_f): Likewise.
46957         (RUN_TEST_LOOP_c_f): Likewise.
46958         (RUN_TEST_f_f1): Likewise.
46959         (RUN_TEST_LOOP_f_f1): Likewise.
46960         (RUN_TEST_fF_f1): Likewise.
46961         (RUN_TEST_LOOP_fF_f1): Likewise.
46962         (RUN_TEST_fI_f1): Likewise.
46963         (RUN_TEST_LOOP_fI_f1): Likewise.
46964         (RUN_TEST_ffI_f1): Likewise.
46965         (RUN_TEST_LOOP_ffI_f1): Likewise.
46966         (RUN_TEST_c_c): Likewise.
46967         (RUN_TEST_LOOP_c_c): Likewise.
46968         (RUN_TEST_cc_c): Likewise.
46969         (RUN_TEST_LOOP_cc_c): Likewise.
46970         (RUN_TEST_f_i): Likewise.
46971         (RUN_TEST_LOOP_f_i): Likewise.
46972         (RUN_TEST_f_i_tg): Likewise.
46973         (RUN_TEST_LOOP_f_i_tg): Likewise.
46974         (RUN_TEST_ff_i_tg): Likewise.
46975         (RUN_TEST_LOOP_ff_i_tg): Likewise.
46976         (RUN_TEST_f_b): Likewise.
46977         (RUN_TEST_LOOP_f_b): Likewise.
46978         (RUN_TEST_f_b_tg): Likewise.
46979         (RUN_TEST_LOOP_f_b_tg): Likewise.
46980         (RUN_TEST_f_l): Likewise.
46981         (RUN_TEST_LOOP_f_l): Likewise.
46982         (RUN_TEST_f_L): Likewise.
46983         (RUN_TEST_LOOP_f_L): Likewise.
46984         (RUN_TEST_sincos): Likewise.
46985         (RUN_TEST_LOOP_sincos): Likewise.
46987 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
46989         [BZ #15480]
46990         [BZ #15485]
46991         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
46992         main case of finite arguments, set rounding mode to FE_TONEAREST
46993         and discard exceptions.
46994         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
46995         exceptions.
46996         (remainder_tonearest_test_data): New variable.
46997         (remainder_test_tonearest): New function.
46998         (remainder_towardzero_test_data): New variable.
46999         (remainder_test_towardzero): New function.
47000         (remainder_downward_test_data): New variable.
47001         (remainder_test_downward): New function.
47002         (remainder_upward_test_data): New variable.
47003         (remainder_test_upward): New function.
47004         (main): Call the new test functions.
47006         * math/libm-test.inc (struct test_f_f1_data): Remove field
47007         extra_init.
47008         (struct test_fF_f1_data): Likewise.
47009         (struct test_ffI_f1_data): Likewise.
47010         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
47011         based on value of EXTRA_EXPECTED.
47012         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47013         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
47014         EXTRA_VAR based on value of EXTRA_EXPECTED.
47015         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47016         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
47017         EXTRA_VAR based on value of EXTRA_EXPECTED.
47018         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47019         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
47020         EXTRA_VAR based on value of EXTRA_EXPECTED.
47021         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47022         * math/gen-libm-test.pl (parse_args): Don't output initializers
47023         for extra output values.
47025         * math/libm-test.inc (check_int): Expect result to be exactly
47026         equal to expected value and do not handle ulps.
47027         (check_long): Likewise.
47028         (check_longlong): Likewise.
47030         * math/libm-test.inc (ceil_test_data): Test for "inexact"
47031         exceptions.
47032         (cimag_test_data): Likewise.
47033         (conj_test_data): Likewise.
47034         (copysign_test_data): Likewise.
47035         (cproj_test_data): Likewise.
47036         (creal_test_data): Likewise.
47037         (fabs_test_data): Likewise.
47038         (fdim_test_data): Likewise.
47039         (finite_test_data): Likewise.
47040         (floor_test_data): Likewise.
47041         (fmax_test_data): Likewise.
47042         (fmin_test_data): Likewise.
47043         (fmod_test_data): Likewise.
47044         (fpclassify_test_data): Likewise.
47045         (frexp_test_data): Likewise.
47046         (ilogb_test_data): Likewise.
47047         (isfinite_test_data): Likewise.
47048         (isgreater_test_data): Likewise.
47049         (isgreaterequal_test_data): Likewise.
47050         (isinf_test_data): Likewise.
47051         (isless_test_data): Likewise.
47052         (islessequal_test_data): Likewise.
47053         (islessgreater_test_data): Likewise.
47054         (isnan_test_data): Likewise.
47055         (isnormal_test_data): Likewise.
47056         (issignaling_test_data): Likewise.
47057         (isunordered_test_data): Likewise.
47058         (ldexp_test_data): Likewise.
47059         (lrint_test_data): Likewise.
47060         (lrint_test_data) [TEST_FLOAT]: Disable one test.
47061         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
47062         (lrint_tonearest_test_data): Test for "inexact" exceptions.
47063         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47064         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
47065         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47066         test input.
47067         (lrint_towardzero_test_data): Test for "inexact" exceptions.
47068         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47069         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
47070         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
47071         that test input.
47072         (lrint_downward_test_data): Test for "inexact" exceptions.
47073         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47074         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
47075         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47076         test input.
47077         (lrint_upward_test_data): Test for "inexact" exceptions.
47078         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
47079         test input.
47080         (llrint_test_data): Test for "inexact" exceptions.
47081         (llrint_test_data) [TEST_FLOAT]: Disable one test.
47082         (llrint_tonearest_test_data): Test for "inexact" exceptions.
47083         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47084         (llrint_towardzero_test_data): Test for "inexact" exceptions.
47085         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47086         (llrint_downward_test_data): Test for "inexact" exceptions.
47087         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47088         (llrint_upward_test_data): Test for "inexact" exceptions.
47089         (logb_test_data): Likewise.
47090         (logb_downward_test_data): Likewise.
47091         (nextafter_test_data): Likewise.
47092         (nexttoward_test_data): Likewise.
47093         (remainder_test_data): Likewise.
47094         (remquo_test_data): Likewise.
47095         (scalbn_test_data): Likewise.
47096         (scalbln_test_data): Likewise.
47097         (signbit_test_data): Likewise.
47098         (sqrt_test_data): Likewise.
47099         (significand_test_data): Likewise.
47101 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47103         [BZ #15424]
47104         * benchtests/bench-modf.c (struct args): Mark arg0 as
47105         volatile.
47106         * scripts/bench.pl: Mark members of struct args as volatile.
47108 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47110         [BZ # 15497]
47111         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
47112         negative infinity on POWER6 or lower.
47113         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
47115 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
47117         [BZ #15442]
47118         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
47119         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
47120         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
47121         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
47122         (_FP_SETQNAN): New macro.
47123         (_FP_SETQNAN_SEMIRAW): Likewise.
47124         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
47125         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
47126         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
47127         (FP_EXTEND): Use _FP_FRAC_SNANP.
47128         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
47129         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
47130         into account.
47131         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47132         New macro.
47133         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47134         Likewise.
47136 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47138         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
47139         with DIVIDE_BY_ZERO_EXCEPTION.
47140         (gamma_test_data): Likewise.
47141         (lgamma_test_data): Likewise.
47142         (log_test_data): Likewise.
47143         (log10_test_data): Likewise.
47144         (log2_test_data): Likewise.
47145         (tgamma_test_data): Likewise.
47147         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
47148         (acos_test_tonearest): Likewise.
47149         (acos_test_towardzero): Likewise.
47150         (acos_test_downward): Likewise.
47151         (acos_test_upward): Likewise.
47152         (acosh_test): Likewise.
47153         (asin_test): Likewise.
47154         (asin_test_tonearest): Likewise.
47155         (asin_test_towardzero): Likewise.
47156         (asin_test_downward): Likewise.
47157         (asin_test_upward): Likewise.
47158         (asinh_test): Likewise.
47159         (atan_test): Likewise.
47160         (atanh_test): Likewise.
47161         (atan2_test): Likewise.
47162         (cabs_test): Likewise.
47163         (cacos_test): Likewise.
47164         (cacosh_test): Likewise.
47165         (casin_test): Likewise.
47166         (casinh_test): Likewise.
47167         (catan_test): Likewise.
47168         (catanh_test): Likewise.
47169         (cbrt_test): Likewise.
47170         (ccos_test): Likewise.
47171         (ccosh_test): Likewise.
47172         (cexp_test): Likewise.
47173         (clog_test): Likewise.
47174         (clog10_test): Likewise.
47175         (cos_test): Likewise.
47176         (cos_test_tonearest): Likewise.
47177         (cos_test_towardzero): Likewise.
47178         (cos_test_downward): Likewise.
47179         (cos_test_upward): Likewise.
47180         (cosh_test): Likewise.
47181         (cosh_test_tonearest): Likewise.
47182         (cosh_test_towardzero): Likewise.
47183         (cosh_test_downward): Likewise.
47184         (cosh_test_upward): Likewise.
47185         (cpow_test): Likewise.
47186         (csin_test): Likewise.
47187         (csinh_test): Likewise.
47188         (csqrt_test): Likewise.
47189         (ctan_test): Likewise.
47190         (ctan_test_tonearest): Likewise.
47191         (ctan_test_towardzero): Likewise.
47192         (ctan_test_downward): Likewise.
47193         (ctan_test_upward): Likewise.
47194         (ctanh_test): Likewise.
47195         (ctanh_test_tonearest): Likewise.
47196         (ctanh_test_towardzero): Likewise.
47197         (ctanh_test_downward): Likewise.
47198         (ctanh_test_upward): Likewise.
47199         (erf_test): Likewise.
47200         (erfc_test): Likewise.
47201         (exp_test): Likewise.
47202         (exp_test_tonearest): Likewise.
47203         (exp_test_towardzero): Likewise.
47204         (exp_test_downward): Likewise.
47205         (exp_test_upward): Likewise.
47206         (exp10_test): Likewise.
47207         (exp2_test): Likewise.
47208         (expm1_test): Likewise.
47209         (fmod_test): Likewise.
47210         (gamma_test): Likewise.
47211         (hypot_test): Likewise.
47212         (j0_test): Likewise.
47213         (j1_test): Likewise.
47214         (jn_test): Likewise.
47215         (lgamma_test): Likewise.
47216         (log_test): Likewise.
47217         (log10_test): Likewise.
47218         (log1p_test): Likewise.
47219         (log2_test): Likewise.
47220         (logb_test_downward): Likewise.
47221         (pow_test): Likewise.
47222         (pow_test_tonearest): Likewise.
47223         (pow_test_towardzero): Likewise.
47224         (pow_test_downward): Likewise.
47225         (pow_test_upward): Likewise.
47226         (remainder_test): Likewise.
47227         (remquo_test): Likewise.
47228         (sin_test): Likewise.
47229         (sin_test_tonearest): Likewise.
47230         (sin_test_towardzero): Likewise.
47231         (sin_test_downward): Likewise.
47232         (sin_test_upward): Likewise.
47233         (sincos_test): Likewise.
47234         (sinh_test): Likewise.
47235         (sinh_test_tonearest): Likewise.
47236         (sinh_test_towardzero): Likewise.
47237         (sinh_test_downward): Likewise.
47238         (sinh_test_upward): Likewise.
47239         (sqrt_test): Likewise.
47240         (tan_test): Likewise.
47241         (tan_test_tonearest): Likewise.
47242         (tan_test_towardzero): Likewise.
47243         (tan_test_downward): Likewise.
47244         (tan_test_upward): Likewise.
47245         (tanh_test): Likewise.
47246         (tgamma_test): Likewise.
47247         (y0_test): Likewise.
47248         (y1_test): Likewise.
47249         (yn_test): Likewise.
47251         * math/gen-libm-test.pl (adjust_arg): Remove function.
47252         (special_function): Remove argument $in_func.  Only handle
47253         generating output for tables of tests, not inside functions.
47254         (parse_args): Likewise.
47255         (generate_testfile): Remove variable $in_func.  Update call to
47256         parse_args.
47257         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
47258         (MINUS_ZERO_INIT): Rename macro to minus_zero.
47259         (PLUS_INFTY_INIT): Rename macro to plus_infty.
47260         (MINUS_INFTY_INIT): Rename macro to minus_infty.
47261         (QNAN_VALUE_INIT): Rename macro to qnan_value.
47262         (MAX_VALUE_INIT): Rename macro to max_value.
47263         (MIN_VALUE_INIT): Rename macro to min_value.
47264         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
47265         (plus_zero): Remove variable.
47266         (minus_zero): Likewise.
47267         (plus_infty): Likewise.
47268         (minus_infty): Likewise.
47269         (qnan_value): Likewise.
47270         (max_value): Likewise.
47271         (min_value): Likewise.
47272         (min_subnorm_value): Likewise.
47274 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47276         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
47277         uint64_t or uint32_t usage.
47278         * crypt/sha256-block.c: Likewise.
47279         * crypt/sha256-crypt.c: Likewise.
47280         * crypt/sha256.c: Likewise.
47281         * crypt/sha512-block.c: Likewise.
47282         * crypt/sha512-crypt.c: Likewise.
47283         * crypt/sha512.c: Likewise.
47284         * debug/backtrace-tst.c: Likewise.
47285         * debug/pcprofiledump.c: Likewise.
47286         * elf/cache.c: Likewise.
47287         * elf/dl-cache.c: Likewise.
47288         * elf/dl-misc.c: Likewise.
47289         * elf/dl-profile.c: Likewise.
47290         * elf/dl-support.c: Likewise.
47291         * elf/ldconfig.c: Likewise.
47292         * elf/sprof.c: Likewise.
47293         * iconv/dummy-repertoire.c: Likewise.
47294         * iconv/iconv_charmap.c: Likewise.
47295         * iconv/skeleton.c: Likewise.
47296         * iconvdata/8bit-generic.c: Likewise.
47297         * iconvdata/cp737.h: Likewise.
47298         * iconvdata/cp775.h: Likewise.
47299         * iconvdata/ibm1008.h: Likewise.
47300         * iconvdata/ibm1025.h: Likewise.
47301         * iconvdata/ibm1046.h: Likewise.
47302         * iconvdata/ibm1097.h: Likewise.
47303         * iconvdata/ibm1112.h: Likewise.
47304         * iconvdata/ibm1122.h: Likewise.
47305         * iconvdata/ibm1123.h: Likewise.
47306         * iconvdata/ibm1124.h: Likewise.
47307         * iconvdata/ibm1129.h: Likewise.
47308         * iconvdata/ibm1130.h: Likewise.
47309         * iconvdata/ibm1132.h: Likewise.
47310         * iconvdata/ibm1133.h: Likewise.
47311         * iconvdata/ibm1137.h: Likewise.
47312         * iconvdata/ibm1140.h: Likewise.
47313         * iconvdata/ibm1141.h: Likewise.
47314         * iconvdata/ibm1142.h: Likewise.
47315         * iconvdata/ibm1143.h: Likewise.
47316         * iconvdata/ibm1144.h: Likewise.
47317         * iconvdata/ibm1145.h: Likewise.
47318         * iconvdata/ibm1146.h: Likewise.
47319         * iconvdata/ibm1147.h: Likewise.
47320         * iconvdata/ibm1148.h: Likewise.
47321         * iconvdata/ibm1149.h: Likewise.
47322         * iconvdata/ibm1153.h: Likewise.
47323         * iconvdata/ibm1154.h: Likewise.
47324         * iconvdata/ibm1155.h: Likewise.
47325         * iconvdata/ibm1156.h: Likewise.
47326         * iconvdata/ibm1157.h: Likewise.
47327         * iconvdata/ibm1158.h: Likewise.
47328         * iconvdata/ibm1160.h: Likewise.
47329         * iconvdata/ibm1161.h: Likewise.
47330         * iconvdata/ibm1162.h: Likewise.
47331         * iconvdata/ibm1163.h: Likewise.
47332         * iconvdata/ibm1164.h: Likewise.
47333         * iconvdata/ibm1166.h: Likewise.
47334         * iconvdata/ibm1167.h: Likewise.
47335         * iconvdata/ibm12712.h: Likewise.
47336         * iconvdata/ibm1390.h: Likewise.
47337         * iconvdata/ibm1399.h: Likewise.
47338         * iconvdata/ibm16804.h: Likewise.
47339         * iconvdata/ibm4517.h: Likewise.
47340         * iconvdata/ibm4899.h: Likewise.
47341         * iconvdata/ibm4909.h: Likewise.
47342         * iconvdata/ibm4971.h: Likewise.
47343         * iconvdata/ibm5347.h: Likewise.
47344         * iconvdata/ibm803.h: Likewise.
47345         * iconvdata/ibm856.h: Likewise.
47346         * iconvdata/ibm901.h: Likewise.
47347         * iconvdata/ibm902.h: Likewise.
47348         * iconvdata/ibm9030.h: Likewise.
47349         * iconvdata/ibm9066.h: Likewise.
47350         * iconvdata/ibm921.h: Likewise.
47351         * iconvdata/ibm922.h: Likewise.
47352         * iconvdata/ibm9448.h: Likewise.
47353         * iconvdata/isiri-3342.h: Likewise.
47354         * iconvdata/jis0201.h: Likewise.
47355         * include/link.h: Likewise.
47356         * include/netdb.h: Likewise.
47357         * inet/check_native.c: Likewise.
47358         * inet/check_pf.c: Likewise.
47359         * inet/getipv4sourcefilter.c: Likewise.
47360         * inet/getnameinfo.c: Likewise.
47361         * inet/getsourcefilter.c: Likewise.
47362         * inet/htonl.c: Likewise.
47363         * inet/setipv4sourcefilter.c: Likewise.
47364         * inet/setsourcefilter.c: Likewise.
47365         * inet/test-inet6_opt.c: Likewise.
47366         * inet/tst-network.c: Likewise.
47367         * locale/C-collate.c: Likewise.
47368         * locale/C-ctype.c: Likewise.
47369         * locale/C-time.c: Likewise.
47370         * locale/C-translit.h: Likewise.
47371         * locale/loadarchive.c: Likewise.
47372         * locale/programs/3level.h: Likewise.
47373         * locale/programs/charmap.c: Likewise.
47374         * locale/programs/charmap.h: Likewise.
47375         * locale/programs/ld-address.c: Likewise.
47376         * locale/programs/ld-collate.c: Likewise.
47377         * locale/programs/ld-ctype.c: Likewise.
47378         * locale/programs/ld-identification.c: Likewise.
47379         * locale/programs/ld-measurement.c: Likewise.
47380         * locale/programs/ld-messages.c: Likewise.
47381         * locale/programs/ld-monetary.c: Likewise.
47382         * locale/programs/ld-name.c: Likewise.
47383         * locale/programs/ld-numeric.c: Likewise.
47384         * locale/programs/ld-paper.c: Likewise.
47385         * locale/programs/ld-telephone.c: Likewise.
47386         * locale/programs/ld-time.c: Likewise.
47387         * locale/programs/linereader.c: Likewise.
47388         * locale/programs/locale.c: Likewise.
47389         * locale/programs/locarchive.c: Likewise.
47390         * locale/programs/locfile.h: Likewise.
47391         * locale/programs/repertoire.c: Likewise.
47392         * locale/programs/simple-hash.c: Likewise.
47393         * locale/programs/simple-hash.h: Likewise.
47394         * malloc/memusage.c: Likewise.
47395         * malloc/memusagestat.c: Likewise.
47396         * nis/nis_defaults.c: Likewise.
47397         * nis/nis_hash.c: Likewise.
47398         * nis/nis_print.c: Likewise.
47399         * nis/nis_xdr.c: Likewise.
47400         * nscd/connections.c: Likewise.
47401         * nscd/hstcache.c: Likewise.
47402         * nscd/nscd_gethst_r.c: Likewise.
47403         * nscd/nscd_getserv_r.c: Likewise.
47404         * nscd/nscd_helper.c: Likewise.
47405         * nscd/servicescache.c: Likewise.
47406         * nss/makedb.c: Likewise.
47407         * nss/nss_db/db-XXX.c: Likewise.
47408         * nss/nss_db/db-initgroups.c: Likewise.
47409         * nss/nss_db/db-netgrp.c: Likewise.
47410         * nss/nss_files/files-network.c: Likewise.
47411         * nss/nss_files/files-parse.c: Likewise.
47412         * posix/bug-regex5.c: Likewise.
47413         * posix/fnmatch_loop.c: Likewise.
47414         * posix/regcomp.c: Likewise.
47415         * posix/regexec.c: Likewise.
47416         * posix/tst-rfc3484-2.c: Likewise.
47417         * posix/tst-rfc3484-3.c: Likewise.
47418         * posix/tst-rfc3484.c: Likewise.
47419         * resolv/nss_dns/dns-canon.c: Likewise.
47420         * resolv/nss_dns/dns-network.c: Likewise.
47421         * resolv/res_init.c: Likewise.
47422         * resolv/res_mkquery.c: Likewise.
47423         * resolv/tst-aton.c: Likewise.
47424         * stdlib/cxa_atexit.c: Likewise.
47425         * stdlib/cxa_finalize.c: Likewise.
47426         * stdlib/gen-fpioconst.c: Likewise.
47427         * stdlib/strtol_l.c: Likewise.
47428         * string/tst-endian.c: Likewise.
47429         * sunrpc/auth_des.c: Likewise.
47430         * sunrpc/clnt_udp.c: Likewise.
47431         * sunrpc/rtime.c: Likewise.
47432         * sunrpc/svcauth_des.c: Likewise.
47433         * sunrpc/xdr.c: Likewise.
47434         * sunrpc/xdr_intXX_t.c: Likewise.
47435         * sunrpc/xdr_rec.c: Likewise.
47436         * sysdeps/generic/ldconfig.h: Likewise.
47437         * sysdeps/generic/ldsodefs.h: Likewise.
47438         * sysdeps/generic/memusage.h: Likewise.
47439         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47440         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
47441         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
47442         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47443         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47444         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47445         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47446         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47447         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47448         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47449         * sysdeps/posix/getaddrinfo.c: Likewise.
47450         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47451         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47452         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47453         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47454         * sysdeps/powerpc/test-gettimebase.c: Likewise.
47455         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47456         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
47457         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
47458         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47459         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
47460         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47461         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47462         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
47463         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
47464         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
47465         * sysdeps/x86_64/dl-tls.h: Likewise.
47466         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
47467         * time/alt_digit.c: Likewise.
47468         * time/era.c: Likewise.
47469         * wcsmbs/tst-c16c32-1.c: Likewise.
47471 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47473         * math/libm-test.inc (struct test_sincos_data): New type.
47474         (RUN_TEST_LOOP_sincos): New macro.
47475         (sincos_test_data): New variable.
47476         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
47478 2013-05-16  Richard Henderson  <rth@redhat.com>
47480         * math/atest-exp2.c (LIMB64): New macro.
47481         (CONSTSZ): New macro.
47482         (mp_exp1, mp_exp_m1, mp_log2): New variables.
47483         (hexdig): Move ...
47484         (print_mpn_fp): ... to function scope.
47485         (read_mpn_hex): Remove.
47486         (get_log2): Remove.
47487         (exp2_mpn): Use mp_log2.
47488         (main): Use mp_exp1.
47490 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47492         * math/libm-test.inc: Remove comment about not testing "inexact"
47493         exceptions.
47494         (INEXACT_EXCEPTION): New macro.
47495         (NO_INEXACT_EXCEPTION): Likewise.
47496         (INVALID_EXCEPTION_OK): Update value.
47497         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47498         (OVERFLOW_EXCEPTION_OK): Likewise.
47499         (UNDERFLOW_EXCEPTION_OK): Likewise.
47500         (IGNORE_ZERO_INF_SIGN): Likewise.
47501         (ERRNO_UNCHANGED): Likewise.
47502         (ERRNO_EDOM): Likewise.
47503         (ERRNO_ERANGE): Likewise.
47504         (test_exceptions): Handle testing "inexact" exceptions.
47505         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
47506         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
47507         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
47508         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
47509         INEXACT_EXCEPTION.
47510         (rint_towardzero_test_data): Likewise.
47511         (rint_downward_test_data): Likewise.
47512         (rint_upward_test_data): Likewise.
47514         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
47515         with OVERFLOW_EXCEPTION.
47516         (exp10_test_data): Likewise.
47517         (exp2_test_data): Likewise.
47518         (expm1_test_data): Likewise.
47519         (lgamma_test_data): Likewise.
47520         (pow_test_data): Likewise.
47521         (tgamma_test_data): Likewise.
47522         (yn_test_data): Remove duplicate test of overflow.
47524         * math/libm-test.inc (struct test_cc_c_data): New type.
47525         (RUN_TEST_LOOP_cc_c): New macro.
47526         (cpow_test_data): New variable.
47527         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
47529         * math/libm-test.inc (struct test_f_L_data): New type.
47530         (RUN_TEST_LOOP_f_L): New macro.
47531         (llrint_test_data): New variable.
47532         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
47533         (llrint_tonearest_test_data): New variable.
47534         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
47535         (llrint_towardzero_test_data): New variable.
47536         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
47537         (llrint_downward_test_data): New variable.
47538         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
47539         (llrint_upward_test_data): New variable.
47540         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
47541         (llround_test_data): New variable.
47542         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
47544 2013-05-13  Peter Collingbourne  <pcc@google.com>
47546         * math/atest-exp2.c (get_log2): Remove const attribute.
47548 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47550         * math/libm-test.inc (struct test_f_l_data): New type.
47551         (RUN_TEST_LOOP_f_l): New macro.
47552         (lrint_test_data): New variable.
47553         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
47554         (lrint_tonearest_test_data): New variable.
47555         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
47556         (lrint_towardzero_test_data): New variable.
47557         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
47558         (lrint_downward_test_data): New variable.
47559         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
47560         (lrint_upward_test_data): New variable.
47561         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
47562         (lround_test_data): New variable.
47563         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
47565 2013-05-15  Peter Collingbourne  <pcc@google.com>
47567         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
47568         (EXTRACT_WORDS64) Use where appropriate.
47569         (INSERT_WORDS64) Likewise.
47571         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
47572         constraints with x constraints.
47573         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
47575         * malloc/obstack.c (_obstack_compat): Add initializer.
47577 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47579         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
47580         si_trapno and add si_addr_lsb to _sifields.sigfault.
47581         (si_trapno): Remove macro.
47582         (si_addr_lsb): Define new macro.
47583         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47585 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47587         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
47588         instead of TEST_f_l.
47589         (llrint_test_tonearest): Likewise.
47590         (llrint_test_towardzero): Likewise.
47591         (llrint_test_downward): Likewise.
47592         (llrint_test_upward): Likewise.
47593         (llround_test): Likewise.
47595         * math/libm-test.inc (struct test_f_i_data): Add comment.
47596         (RUN_TEST_LOOP_f_b): New macro.
47597         (RUN_TEST_LOOP_f_b_tg): Likewise.
47598         (finite_test_data): New variable.
47599         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
47600         (isfinite_test_data): New variable.
47601         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47602         (isinf_test_data): New variable.
47603         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47604         (isnan_test_data): New variable.
47605         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47606         (isnormal_test_data): New variable.
47607         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47608         (issignaling_test_data): New variable.
47609         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47610         (signbit_test_data): New variable.
47611         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47613         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
47614         with INVALID_EXCEPTION.
47615         (acosh_test_data): Likewise.
47616         (asin_test_data): Likewise.
47617         (atanh_test_data): Likewise.
47618         (fmod_test_data): Likewise.
47619         (log_test_data): Likewise.
47620         (log10_test_data): Likewise.
47621         (log2_test_data): Likewise.
47622         (pow_test_data): Likewise.
47623         (sqrt_test_data): Likewise.
47624         (y0_test_data): Likewise.
47625         (y1_test_data): Likewise.
47626         (yn_test_data): Likewise.
47628         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
47629         function contents.
47631         * math/libm-test.inc (struct test_ff_i_data): New type.
47632         (RUN_TEST_LOOP_ff_i_tg): New macro.
47633         (isgreater_test_data): New variable.
47634         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47635         (isgreaterequal_test_data): New variable.
47636         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47637         (isless_test_data): New variable.
47638         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47639         (islessequal_test_data): New variable.
47640         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47641         (islessgreater_test_data): New variable.
47642         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47643         (isunordered_test_data): New variable.
47644         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47646 2013-05-14  David S. Miller  <davem@davemloft.net>
47648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47650 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
47652         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
47654         * math/libm-test.inc (struct test_fF_f1_data): Change type of
47655         extra_test to int.
47656         (struct test_f_i_data): Change type of max_ulp to int.
47658         * math/libm-test.inc (test_ffI_f1_data): New type.
47659         (RUN_TEST_LOOP_ffI_f1): New macro.
47660         (remquo_test_data): New variable.
47661         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
47663         * setjmp/tst-setjmp-fp.c: New file.
47664         * setjmp/Makefile (tests): Add tst-setjmp-fp.
47665         (link-libm): New variable.
47666         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
47668         * math/libm-test.inc (struct test_f_i_data): New type.
47669         (RUN_TEST_LOOP_f_i): New macro.
47670         (RUN_TEST_LOOP_f_i_tg): Likewise.
47671         (fpclassify_test_data): New variable.
47672         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
47673         (ilogb_test_data): New variable.
47674         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
47676         * math/libm-test.inc (scalbln_test): Correct function name in END
47677         call.
47679         * math/libm-test.inc (struct test_f_f1_data): Add comment.
47680         (RUN_TEST_LOOP_fI_f1): New macro.
47681         (frexp_test_data): New variable.
47682         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
47684         * math/libm-test.inc (struct test_fF_f1_data): New type.
47685         (RUN_TEST_LOOP_fF_f1): New macro.
47686         (modf_test_data): New variable.
47687         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
47689         * math/libm-test.inc (struct test_f_f1_data): New type.
47690         (RUN_TEST_LOOP_f_f1): New macro.
47691         (gamma_test_data): New variable.
47692         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47693         (lgamma_test_data): New variable.
47694         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47696 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
47698         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
47699         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
47700         (main): Comment "tls" pseudo-hwcap.
47702 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
47704         * math/libm-test.inc (struct test_fl_f_data): New type.
47705         (RUN_TEST_LOOP_fl_f): New variable.
47706         (scalbln_test_data): New variable.
47707         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
47709         * math/libm-test.inc (struct test_fi_f_data): New type.
47710         (RUN_TEST_LOOP_fi_f): New macro.
47711         (ldexp_test_data): New variable.
47712         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
47713         (scalbn_test_data): New variable.
47714         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
47716         * math/libm-test.inc (struct test_c_f_data): New type.
47717         (RUN_TEST_LOOP_c_f): New macro.
47718         (cabs_test_data): New variable.
47719         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
47720         (carg_test_data): New variable.
47721         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
47722         (cimag_test_data): New variable.
47723         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
47724         (creal_test_data): New variable.
47725         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
47727         * math/libm-test.inc (struct test_if_f_data): New type.
47728         (RUN_TEST_LOOP_if_f): New macro.
47729         (jn_test_data): New variable.
47730         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
47731         (yn_test_data): New variable.
47732         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
47734         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
47736 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47738         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
47739         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
47741 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47743         * benchtests/Makefile (CPPFLAGS-nonlib): Add
47744         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
47745         (bench-deps): Add bench-timing.h.
47746         * benchtests-bench-skeleton.c: Include bench-timing.h.
47747         (main): Use TIMING_* macros instead of clock_gettime.
47748         * benchtests/bench-timing.h: New file.
47750         [BZ #14582]
47751         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
47752         Renamed from _LIB_VERSION.
47753         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
47755 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
47757         * math/libm-test.inc (struct test_fff_f_data): New type.
47758         (RUN_TEST_LOOP_fff_f): New macro.
47759         (fma_test_data): New variable.
47760         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
47761         (fma_towardzero_test_data): New variable.
47762         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
47763         (fma_downward_test_data): New variable.
47764         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
47765         (fma_upward_test_data): New variable.
47766         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
47768         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
47769         (struct test_c_c_data): New type.
47770         (RUN_TEST_LOOP_c_c): New macro.
47771         (cacos_test_data): New variable.
47772         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
47773         (cacosh_test_data): New variable.
47774         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
47775         (casin_test_data): New variable.
47776         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
47777         (casinh_test_data): New variable.
47778         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
47779         (catan_test_data): New variable.
47780         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
47781         (catanh_test_data): New variable.
47782         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
47783         (ccos_test_data): New variable.
47784         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
47785         (ccosh_test_data): New variable.
47786         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
47787         (cexp_test_data): New variable.
47788         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
47789         (clog_test_data): New variable.
47790         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
47791         (clog10_test_data): New variable.
47792         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
47793         (conj_test_data): New variable.
47794         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
47795         (cproj_test_data): New variable.
47796         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
47797         (csin_test_data): New variable.
47798         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
47799         (csinh_test_data): New variable.
47800         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
47801         (csqrt_test_data): New variable.
47802         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
47803         (ctan_test_data): New variable.
47804         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
47805         (ctan_tonearest_test_data): New variable.
47806         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47807         (ctan_towardzero_test_data): New variable.
47808         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47809         (ctan_downward_test_data): New variable.
47810         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47811         (ctan_upward_test_data): New variable.
47812         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47813         (ctanh_test_data): New variable.
47814         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
47815         (ctanh_tonearest_test_data): New variable.
47816         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47817         (ctanh_towardzero_test_data): New variable.
47818         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47819         (ctanh_downward_test_data): New variable.
47820         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47821         (ctanh_upward_test_data): New variable.
47822         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47823         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
47824         of BUILD_COMPLEX.
47826         * math/libm-test.inc (struct test_ff_f_data): New type.
47827         (struct test_ff_f_data_nexttoward): Likewise.
47828         (RUN_TEST_LOOP_2_f): New macro.
47829         (RUN_TEST_LOOP_ff_f): Likewise.
47830         (atan2_test_data): New variable.
47831         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
47832         (copysign_test_data): New variable.
47833         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
47834         (fdim_test_data): New variable.
47835         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
47836         (fmax_test_data): New variable.
47837         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
47838         (fmin_test_data): New variable.
47839         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
47840         (fmod_test_data): New variable.
47841         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
47842         (hypot_test_data): New variable.
47843         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
47844         (nextafter_test_data): New variable.
47845         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
47846         (nexttoward_test_data): New variable.
47847         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
47848         (pow_test_data): New variable.
47849         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
47850         (pow_tonearest_test_data): New variable.
47851         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
47852         (pow_towardzero_test_data): New variable.
47853         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
47854         (pow_downward_test_data): New variable.
47855         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
47856         (pow_upward_test_data): New variable.
47857         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
47858         (remainder_test_data): New variable.
47859         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
47860         (scalb_test_data): New variable.
47861         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
47862         * sysdeps/i386/fpu/libm-test-ulps: Update.
47864 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
47866         * math/libm-test.inc (fma_test): Use max_value instead of local
47867         variable fltmax.
47868         (nextafter_test): Likewise.
47870         * math/libm-test.inc (acos_towardzero_test_data): New variable.
47871         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47872         (acos_downward_test_data): New variable.
47873         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47874         (acos_upward_test_data): New variable.
47875         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47876         (acosh_test_data): New variable.
47877         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
47878         (asin_test_data): New variable.
47879         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
47880         (asin_tonearest_test_data): New variable.
47881         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47882         (asin_towardzero_test_data): New variable.
47883         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47884         (asin_downward_test_data): New variable.
47885         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47886         (asin_upward_test_data): New variable.
47887         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47888         (asinh_test_data): New variable.
47889         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
47890         (atan_test_data): New variable.
47891         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
47892         (atanh_test_data): New variable.
47893         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
47894         (cbrt_test_data): New variable.
47895         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
47896         (ceil_test_data): New variable.
47897         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
47898         (cos_test_data): New variable.
47899         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
47900         (cos_tonearest_test_data): New variable.
47901         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47902         (cos_towardzero_test_data): New variable.
47903         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47904         (cos_downward_test_data): New variable.
47905         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47906         (cos_upward_test_data): New variable.
47907         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47908         (cosh_test_data): New variable.
47909         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
47910         (cosh_tonearest_test_data): New variable.
47911         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47912         (cosh_towardzero_test_data): New variable.
47913         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47914         (cosh_downward_test_data): New variable.
47915         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47916         (cosh_upward_test_data): New variable.
47917         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47918         (erf_test_data): New variable.
47919         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
47920         (erfc_test_data): New variable.
47921         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
47922         (exp_test_data): New variable.
47923         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
47924         (exp_tonearest_test_data): New variable.
47925         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47926         (exp_towardzero_test_data): New variable.
47927         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47928         (exp_downward_test_data): New variable.
47929         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47930         (exp_upward_test_data): New variable.
47931         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47932         (exp10_test_data): New variable.
47933         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
47934         (exp2_test_data): New variable.
47935         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
47936         (expm1_test_data): New variable.
47937         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
47938         (fabs_test_data): New variable.
47939         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
47940         (floor_test_data): New variable.
47941         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
47942         (j0_test_data): New variable.
47943         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
47944         (j1_test_data): New variable.
47945         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
47946         (log_test_data): New variable.
47947         (log_test): Run tests with RUN_TEST_LOOP_f_f.
47948         (log10_test_data): New variable.
47949         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
47950         (log1p_test_data): New variable.
47951         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
47952         (log2_test_data): New variable.
47953         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
47954         (logb_test_data): New variable.
47955         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
47956         (logb_downward_test_data): New variable.
47957         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47958         (nearbyint_test_data): New variable.
47959         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
47960         (rint_test_data): New variable.
47961         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
47962         (rint_tonearest_test_data): New variable.
47963         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47964         (rint_towardzero_test_data): New variable.
47965         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47966         (rint_downward_test_data): New variable.
47967         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47968         (rint_upward_test_data): New variable.
47969         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47970         (round_test_data): New variable.
47971         (round_test): Run tests with RUN_TEST_LOOP_f_f.
47972         (sin_test_data): New variable.
47973         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
47974         (sin_tonearest_test_data): New variable.
47975         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47976         (sin_towardzero_test_data): New variable.
47977         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47978         (sin_downward_test_data): New variable.
47979         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47980         (sin_upward_test_data): New variable.
47981         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47982         (sinh_test_data): New variable.
47983         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
47984         (sinh_tonearest_test_data): New variable.
47985         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47986         (sinh_towardzero_test_data): New variable.
47987         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47988         (sinh_downward_test_data): New variable.
47989         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47990         (sinh_upward_test_data): New variable.
47991         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47992         (sqrt_test_data): New variable.
47993         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
47994         (tan_test_data): New variable.
47995         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
47996         (tan_tonearest_test_data): New variable.
47997         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47998         (tan_towardzero_test_data): New variable.
47999         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48000         (tan_downward_test_data): New variable.
48001         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48002         (tan_upward_test_data): New variable.
48003         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48004         (tanh_test_data): New variable.
48005         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
48006         (tgamma_test_data): New variable.
48007         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
48008         (trunc_test_data): New variable.
48009         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
48010         (y0_test_data): New variable.
48011         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
48012         (y1_test_data): New variable.
48013         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
48014         (significand_test_data): New variable.
48015         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
48017 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
48019         [BZ #12387]
48020         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
48022 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48024         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
48026 2013-05-10  Andreas Jaeger  <aj@suse.de>
48028         [BZ #15448]
48029         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
48030         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
48032 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48034         * math/gen-libm-test.pl (adjust_arg): New function.
48035         (special_functions): Handle generating output in both functions
48036         and arrays.
48037         (parse_args): Likewise.
48038         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
48039         $in_func argument to parse_args.
48040         * math/libm-test.inc (struct test_f_f_data): New type.
48041         (IF_ROUND_INIT_): New macro.
48042         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
48043         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48044         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48045         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48046         (ROUND_RESTORE_): Likewise.
48047         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
48048         (ROUND_RESTORE_FE_TONEAREST): Likewise.
48049         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
48050         (ROUND_RESTORE_FE_UPWARD): Likewise.
48051         (RUN_TEST_LOOP_f_f): New macro.
48052         (acos_test_data): New variable.
48053         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
48054         (acos_tonearest_test_data): New variable.
48055         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48057 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48059         * benchtests/bench-skeleton.c (startup): Fix coding style.
48061 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
48063         [BZ #6809]
48064         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
48065         negative infinity argument.
48066         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
48067         negative infinity argument.
48068         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
48069         negative infinity argument.
48070         * math/libm-test.inc (tgamma_test): Expect errno to be set for
48071         domain errors.
48073 2013-05-10  Florian Weimer  <fweimer@redhat.com>
48075         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
48076         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
48077         * iconv/iconv_prog.c (main): Likewise.
48078         * locale/programs/charmap-dir.c (charmap_readdir)
48079         (fopen_uncompressed): Likewise.
48080         * locale/programs/locfile.c (siblings_uncached)
48081         (write_locale_data): Use lstat64 instead of lstat.
48082         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
48083         stat.
48085 2013-05-10  Andreas Jaeger  <aj@suse.de>
48087         [BZ #15395]
48088         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
48089         localization.
48090         Include <locale.h>.
48092 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
48094         * elf/dl-close.c (_dl_close_worker): Add comments.
48096 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
48098         [BZ #15359]
48099         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
48100         high part of pi/2.
48101         (__ieee754_rem_pio2l): Update comments.
48103         [BZ #15429]
48104         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
48105         high part of pi/2.
48106         (__ieee754_rem_pio2l): Update comments.
48108         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
48109         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
48111         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
48112         M_PI_4l.
48114         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
48115         (M_PI_34_LOG10El): Likewise.
48116         (M_PI2_LOG10El): Likewise.
48117         (M_PI4_LOG10El): Likewise.
48118         (M_PI_LOG10El): Likewise.
48120 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48124 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
48126         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
48127         (MINUS_ZERO_INIT): Likewise.
48128         (PLUS_INFTY_INIT): Likewise.
48129         (MINUS_INFTY_INIT): Likewise.
48130         (QNAN_VALUE_INIT): Likewise.
48131         (MAX_VALUE_INIT): Likewise.
48132         (MIN_VALUE_INIT): Likewise.
48133         (MIN_SUBNORM_VALUE_INIT): Likewise.
48134         (plus_zero): Initialize with PLUS_ZERO_INIT.
48135         (minus_zero): Initialize with MINUS_ZERO_INIT.
48136         (plus_infty): Initialize with PLUS_INFTY_INIT.
48137         (minus_infty): Initialize with MINUS_INFTY_INIT.
48138         (qnan_value): Initialize with QNAN_VALUE_INIT.
48139         (max_value): Initialize with MAX_VALUE_INIT.
48140         (min_value): Initialize with MIN_VALUE_INIT.
48141         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
48143         * math/libm-test.inc (RUN_TEST_if_f): New macro.
48144         (jn_test): Use TEST_if_f instead of TEST_ff_f.
48145         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
48146         (yn_test): Use TEST_if_f instead of TEST_ff_f.
48148         * math/libm-test.inc (RUN_TEST_f_f): New macro.
48149         (RUN_TEST_2_f): Likewise.
48150         (RUN_TEST_ff_f): Likewise.
48151         (RUN_TEST_fi_f): Likewise.
48152         (RUN_TEST_fl_f): Likewise.
48153         (RUN_TEST_fff_f): Likewise.
48154         (RUN_TEST_c_f): Likewise.
48155         (RUN_TEST_f_f1): Likewise.
48156         (RUN_TEST_fF_f1): Likewise.
48157         (RUN_TEST_fI_f1): Likewise.
48158         (RUN_TEST_ffI_f1): Likewise.
48159         (RUN_TEST_c_c): Likewise.
48160         (RUN_TEST_cc_c): Likewise.
48161         (RUN_TEST_f_i): Likewise.
48162         (RUN_TEST_f_i_tg): Likewise.
48163         (RUN_TEST_ff_i_tg): Likewise.
48164         (RUN_TEST_f_b): Likewise.
48165         (RUN_TEST_f_b_tg): Likewise.
48166         (RUN_TEST_f_l): Likewise.
48167         (RUN_TEST_f_L): Likewise.
48168         (RUN_TEST_sincos): Likewise.
48169         * math/gen-libm-test.pl (new_test): Take new argument to indicate
48170         whether to show exceptions.  Do not include ");\n" in return
48171         value.
48172         (special_functions): Output call to RUN_TEST_sincos instead of
48173         check_float calls.  Update calls to new_test.
48174         (parse_args): Output call to single RUN_TEST_* macro instead of
48175         check_* calls and other assignments.  Update calls to new_test.
48177         [BZ #2546]
48178         [BZ #2560]
48179         [BZ #5159]
48180         [BZ #15426]
48181         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
48182         input to result for tgamma overflow.
48183         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
48184         (gamma_coeff): New variable.
48185         (NCOEFF): New macro.
48186         (gamma_positive): New function.
48187         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
48188         underflow here.  Use gamma_positive instead of exp (lgamma) for
48189         other arguments.
48190         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
48191         (gamma_coeff): New variable.
48192         (NCOEFF): New macro.
48193         (gammaf_positive): New function.
48194         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
48195         underflow here.  Use gamma_positive instead of exp (lgamma) for
48196         other arguments.
48197         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
48198         (gamma_coeff): New variable.
48199         (NCOEFF): New macro.
48200         (gammal_positive): New function.
48201         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
48202         underflow here.  Use gamma_positive instead of exp (lgamma) for
48203         other arguments.
48204         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
48205         (gamma_coeff): New variable.
48206         (NCOEFF): New macro.
48207         (gammal_positive): New function.
48208         (__ieee754_gammal_r): Handle positive infinity, overflow and
48209         underflow here.  Handle NaN the same as positive infinity.  Remove
48210         check x < 0xffffffff for negative integers.  Use gamma_positive
48211         instead of exp (lgamma) for other arguments.
48212         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
48213         (gamma_coeff): New variable.
48214         (NCOEFF): New macro.
48215         (gammal_positive): New function.
48216         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
48217         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
48218         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
48219         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
48220         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
48221         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
48222         * sysdeps/generic/math_private.h (__gamma_productf): New
48223         prototype.
48224         (__gamma_product): Likewise.
48225         (__gamma_productl): Likewise.
48226         * math/Makefile (libm-calls): Add gamma_product.
48227         * math/libm-test.inc (tgamma_test): Add more tests.
48228         * sysdeps/i386/fpu/libm-test-ulps: Update.
48229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48231 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
48233         * benchtests/bench-skeleton.c (main): Preheat CPU.
48235 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
48237         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
48239 2013-05-07  Roland McGrath  <roland@hack.frob.com>
48241         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
48242         and _dl_skip_args_internal.
48244 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
48246         * manual/message.texi (Message Translation): Talk about users.
48247         Message to key mapping impacts design.
48249 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48251         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
48253         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
48255         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
48256         * sysdeps/wordsize-64/glob64.c: ... here.
48258         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
48259         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
48260         New macros.
48262         * debug/getlogin_r_chk.c: Moved to ...
48263         * login/getlogin_r_chk.c: ... here.
48264         * debug/Makefile (routines): Move getlogin_r_chk to ...
48265         * login/Makefile (routines): ... here.
48266         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
48267         * login/Versions (libc: GLIBC_2.4): ... here.
48269         * io/poll.c (__poll): Renamed from poll.
48270         Add libc_hidden_def.
48271         (poll): Define as weak alias.
48273         * debug/ptsname_r_chk.c: Moved to ...
48274         * login/ptsname_r_chk.c: ... here.
48275         * debug/Makefile (routines): Move ptsname_r_chk to ...
48276         * login/Makefile (routines): ... here.
48277         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
48278         * login/Versions (libc: GLIBC_2.4): ... here.
48280         * posix/getlogin.c: Moved to ...
48281         * login/getlogin.c: ... here.
48282         * posix/getlogin_r.c: Moved to ...
48283         * login/getlogin_r.c: ... here.
48284         * posix/getlogin_r.c: Moved to ...
48285         * login/getlogin_r.c: ... here.
48286         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
48287         * login/Makefile (routines): ... here.
48288         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
48289         * login/Versions (libc: GLIBC_2.0): ... here.
48291         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
48292         (setrlimit): Define as weak alias.
48294         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
48295         Call __ names for open, ftruncate, and close.
48296         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
48297         (truncate): Define as weak alias.
48299 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
48301         * math/gen-libm-test.pl (parse_args): Initialize x before each
48302         test of frexp, modf and remquo.
48304         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
48305         test signgam value.
48307 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48309         [BZ #15418]
48310         [BZ #15419]
48311         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
48312         internal tests.
48313         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48315 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48317         * elf/dl-writev.h: New file.
48318         * elf/dl-misc.c: Include it.
48319         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
48320         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
48322 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
48324         * math/libm-test.inc (noXFails): Remove variable.
48325         (noXPasses): Likewise.
48326         (BUILD_COMPLEX_INT): Remove macro.
48327         (print_screen): Remove xfail argument.
48328         (print_screen_max_error): Likewise.
48329         (update_stats): Likewise.
48330         (print_max_error): Likewise.  Update calls to other affected
48331         functions.
48332         (print_complex_max_error): Likewise.
48333         (test_single_exception): Update calls to print_screen.
48334         (test_single_errno): Likewise.
48335         (check_float_internal): Remove xfail argument.  Update calls to
48336         other affected functions.
48337         (check_float): Likewise.
48338         (check_complex): Likewise.
48339         (check_int): Likewise.
48340         (check_long): Likewise.
48341         (check_bool): Likewise.
48342         (check_longlong): Likewise.
48343         (main): Don't print noXFails and noXPasses.
48344         * math/gen-libm-test.pl (top level): Don't mention expected
48345         failure handling in comment.
48346         (new_test): Don't handle expected failures.
48347         (parse_args): Don't mention expected failure handling in comment.
48348         (generate_testfile): Don't handle expected failures.
48349         (parse_ulps): Likewise.
48350         (print_ulps_file): Likewise.
48351         (get_failure): Remove function.
48352         (output_test): Don't handle expected failures.
48353         * make/README.libm-test: Don't mention expected failure handling.
48355         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
48356         (minus_zero): Likewise.
48357         (plus_infty): Likewise.
48358         (minus_infty): Likewise.
48359         (qnan_value): Likewise.
48360         (max_value): Likewise.
48361         (min_value): Likewise.
48362         (min_subnorm_value): Likewise.
48363         (initialize): Do not initialize those variables dynamically.
48365 2013-05-03  Roland McGrath  <roland@hack.frob.com>
48367         * io/open.c (__open_2): Moved to ...
48368         * io/open_2.c: ... this new file.
48369         * io/open64.c (__open64_2): Moved to ...
48370         * io/open64_2.c: ... this new file.
48371         * io/openat.c (__openat_2): Moved to ...
48372         * io/openat_2.c: ... this new file.
48373         * io/openat64.c (__openat64_2): Moved to ...
48374         * io/openat64_2.c: ... this new file.
48375         * io/Makefile (routines): Add them.
48376         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
48377         * sysdeps/unix/sysv/linux/open_2.c: File removed.
48378         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
48379         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
48380         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
48381         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
48382         (__openat64): Add hidden_ver.
48383         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
48384         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
48386         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
48387         Separately conditionalize setting of GLRO(dl_sysinfo) so
48388         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
48389         as well, but the actual setting is only under [NEED_DL_SYSINFO].
48391 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48393         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
48394         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
48395         definition.
48396         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
48397         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48398         (_libc_vdso_platform_setup): Add __vdso_time initialization.
48399         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
48400         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
48402 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
48404         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
48405         test signgam value.
48407         * math/libm-test.inc (hypot_test): Do not use
48408         IGNORE_ZERO_INF_SIGN.
48410 2013-05-03  Andreas Jaeger  <aj@suse.de>
48412         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
48413         Linux 3.9.
48414         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
48415         (PF_MAX): Adjust for VSOCK change.
48417 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48421 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
48423         [BZ #15264]
48424         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
48425         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
48426         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
48428 2013-05-02  David S. Miller  <davem@davemloft.net>
48430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48432 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
48434         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
48436 2013-05-01  Roland McGrath  <roland@hack.frob.com>
48438         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
48440 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
48442         [BZ #14952]
48443         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
48444         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48445         Use __attribute__ ((__gnu_inline__)).
48446         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48447         Don't use __attribute__ ((__gnu_inline__)).
48449 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
48451         [BZ #15423]
48452         * math/s_catan.c (__catan): Handle small real or imaginary part of
48453         input specially to avoid spurious underflow.
48454         * math/s_catanf.c (__catanf): Likewise.
48455         * math/s_catanh.c (__catanh): Likewise.
48456         * math/s_catanhf.c (__catanhf): Likewise.
48457         * math/s_catanhl.c (__catanhl): Likewise.
48458         * math/s_catanl.c (__catanl): Likewise.
48459         * math/libm-test.inc (catan_test): Add more tests.
48460         (catanh_test): Likewise.
48461         * sysdeps/i386/fpu/libm-test-ulps: Update.
48462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48464 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48468 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
48470         [BZ #15416]
48471         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
48472         accurately for denominator in atan2.
48473         * math/s_catanf.c (__catanf): Likewise.
48474         * math/s_catanh.c (__catanh): Likewise.
48475         * math/s_catanhf.c (__catanhf): Likewise.
48476         * math/s_catanhl.c (__catanhl): Likewise.
48477         * math/s_catanl.c (__catanl): Likewise.
48478         * math/libm-test.inc (catan_test): Add more tests.
48479         (catanh_test): Likewise.
48480         * sysdeps/i386/fpu/libm-test-ulps: Update.
48481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48483 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48485         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
48487         * benchtests/Makefile (bench): Remove slow benchmarks.
48488         * benchtests/atan-inputs: Add slow benchmark inputs.
48489         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
48490         (BENCH_FUNC): Accept variant offset.
48491         (VARIANT): Define.
48492         * benchtests/bench-skeleton.c (main): Run benchmark for each
48493         variant.
48494         * benchtests/cos-inputs: Add slow benchmark inputs.
48495         * benchtests/exp-inputs: Likewise.
48496         * benchtests/pow-inputs: Likewise.
48497         * benchtests/sin-inputs: Likewise.
48498         * benchtests/slowatan-inputs: Remove.
48499         * benchtests/slowatan.c: Remove.
48500         * benchtests/slowcos-inputs: Remove.
48501         * benchtests/slowcos.c: Remove.
48502         * benchtests/slowexp-inputs: Remove.
48503         * benchtests/slowexp.c: Remove.
48504         * benchtests/slowpow-inputs: Remove.
48505         * benchtests/slowpow.c: Remove.
48506         * benchtests/slowsin-inputs: Remove.
48507         * benchtests/slowsin.c: Remove.
48508         * benchtests/slowtan-inputs: Remove.
48509         * benchtests/slowtan.c: Remove.
48510         * benchtests/tan-inputs: Add slow benchmark inputs.
48511         * scripts/bench.pl: Parse comments and directives.
48513         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
48514         in CPPFLAGS.
48515         ($(objpfx)bench-%.c): Remove *-ITER.
48516         * benchtests/bench-modf.c: Remove definition of ITER.
48517         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
48518         (main): Loop for DURATION seconds instead of fixed number of
48519         iterations.
48520         * scripts/bench.pl: Don't expect iterations in parameters.
48522 2013-04-29  Roland McGrath  <roland@hack.frob.com>
48524         * io/fchdir.c (__fchdir): Renamed from fchdir.
48525         (fchdir): Define as weak alias.
48527 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48529         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
48530         (ERRNO_EDOM): Likewise.
48531         (ERRNO_ERANGE): Likewise.
48532         (noErrnoTests): New variable.
48533         (init_max_error): Set errno to 0.
48534         (test_single_errno): New function.
48535         (test_errno): Likewise.
48536         (check_float_internal): Call test_errno.  Set errno to 0.
48537         (check_complex): Refer to errno tests in comment.
48538         (check_int): Call test_errno.  Set errno to 0.
48539         (check_long): Likewise.
48540         (check_bool): Likewise.
48541         (check_longlong): Likewise.
48542         (cos_test): Use ERRNO_* flags for errno tests instead of
48543         check_int.
48544         (expm1_test): Likewise.
48545         (fmod_test): Likewise.
48546         (ilogb_test): Likewise.
48547         (lgamma_test): Likewise.
48548         (pow_test): Likewise.
48549         (remainder_test): Likewise.
48550         (sin_test): Likewise.
48551         (tan_test): Likewise.
48552         (yn_test): Likewise.
48553         (initialize): Set errno to 0.
48554         (main): Print number of errno tests.
48555         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
48557 2013-04-29  Andreas Jaeger  <aj@suse.de>
48559         [BZ #15084]
48560         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
48561         and RES_USEVC.
48563         [BZ #15085]
48564         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
48565         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
48566         unimplemented.
48568         [BZ #15380]
48569         * stdlib/random.c (__initstate): Return NULL if
48570         __initstate fails.
48572         [BZ #15086]
48573         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
48574         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
48575         RES_SNGLKUPREOP.
48577 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48581 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48583         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
48584         of individual tests.
48585         (casin_test): Likewise.
48586         (casinh_test): Likewise.
48588 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
48590         [BZ #15409]
48591         * math/s_catan.c (__catan): Handle arguments with large real or
48592         imaginary part separately without squaring.
48593         * math/s_catanf.c (__catanf): Likewise.
48594         * math/s_catanh.c (__catanh): Likewise.
48595         * math/s_catanhf.c (__catanhf): Likewise.
48596         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48597         and redefine.
48598         (__catanhl): Handle arguments with large real or imaginary part
48599         separately without squaring.
48600         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48601         and redefine.
48602         (__catanl): Handle arguments with large real or imaginary part
48603         separately without squaring.
48604         * math/libm-test.inc (catan_test): Add more tests.
48605         (catanh_test): Likewise.
48606         * sysdeps/i386/fpu/libm-test-ulps: Update.
48607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48609 2013-04-27  Andreas Jaeger  <aj@suse.de>
48611         [BZ #15007]
48612         * stdlib/stdlib.h: Update guards for qecvt.
48613         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
48614         <stdlib.h>.
48616 2013-04-27  Allan McRae  <allan@archlinux.org>
48618         * sysdeps/i386/fpu/libm-test-ulps: Update.
48620 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
48622         [BZ #15406]
48623         * math/s_catan.c: Include <float.h>.
48624         (__catan): Ensure underflow exception occurs for underflowed
48625         result.
48626         * math/s_catanf.c: Include <float.h>.
48627         (__catanf): Ensure underflow exception occurs for underflowed
48628         result.
48629         * math/s_catanh.c: Include <float.h>.
48630         (__catanh): Ensure underflow exception occurs for underflowed
48631         result.
48632         * math/s_catanhf.c: Include <float.h>.
48633         (__catanhf): Ensure underflow exception occurs for underflowed
48634         result.
48635         * math/s_catanhl.c: Include <float.h>.
48636         (__catanhl): Ensure underflow exception occurs for underflowed
48637         result.
48638         * math/s_catanl.c: Include <float.h>.
48639         (__catanl): Ensure underflow exception occurs for underflowed
48640         result.
48641         * math/libm-test.inc (catan_test): Add more tests.
48642         (catanh_test): Likewise.
48644         [BZ #15405]
48645         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
48646         underflowed result.
48647         * math/s_ccoshf.c (__ccoshf): Likewise.
48648         * math/s_ccoshl.c (__ccoshl): Likewise.
48649         * math/s_csin.c (__csin): Likewise.
48650         * math/s_csinf.c (__csinf): Likewise.
48651         * math/s_csinh.c (__csinh): Likewise.
48652         * math/s_csinhf.c (__csinhf): Likewise.
48653         * math/s_csinhl.c (__csinhl): Likewise.
48654         * math/s_csinl.c (__csinl): Likewise.
48655         * math/libm-test.inc (ccos_test): Add more tests.
48656         (ccosh_test): Likewise.
48657         (csin_test): Likewise.
48658         (csinh_test): Likewise.
48660 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48662         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
48663         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
48664         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
48665         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
48666         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
48667         powerpc/power5+/fpu folders.
48668         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
48671 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
48673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48675 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
48677         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
48678         additions to variable.
48679         [$(config-machine) = x86_64] (modules-names): Likewise.
48680         ($(objpfx)tst-audit3): Remove dependency.
48681         ($(objpfx)tst-audit3.out): Likewise.
48682         ($(objpfx)tst-audit4): Likewise.
48683         ($(objpfx)tst-audit4.out): Likewise.
48684         ($(objpfx)tst-audit5): Likewise.
48685         ($(objpfx)tst-audit5.out): Likewise.
48686         ($(objpfx)tst-audit6): Likewise.
48687         ($(objpfx)tst-audit6.out): Likewise.
48688         ($(objpfx)tst-audit7): Likewise.
48689         ($(objpfx)tst-audit7.out): Likewise.
48690         (tst-audit3-ENV): Remove variable.
48691         (tst-audit4-ENV): Likewise.
48692         (tst-audit5-ENV): Likewise.
48693         (tst-audit6-ENV): Likewise.
48694         (tst-audit7-ENV): Likewise.
48695         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
48696         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
48697         addition to variable.
48698         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
48699         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
48700         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
48701         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
48702         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
48703         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
48704         tst-audit3, tst-audit4 and tst-audit5.
48705         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
48706         tst-audit6 and tst-audit7.
48707         [$(subdir) = elf] (modules-names): Add audit modules for those
48708         tests.
48709         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
48710         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
48711         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
48712         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
48713         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
48714         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
48715         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
48716         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
48717         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
48718         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
48719         [$(subdir) = elf] (tst-audit3-ENV): New variable.
48720         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
48721         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
48722         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
48723         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
48724         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
48725         Likewise.
48726         [$(subdir) = elf && $(config-cflags-avx) = yes]
48727         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
48728         [$(subdir) = elf && $(config-cflags-avx) = yes]
48729         (CFLAGS-tst-auditmod4a.c): Likewise.
48730         [$(subdir) = elf && $(config-cflags-avx) = yes]
48731         (CFLAGS-tst-auditmod4b.c): Likewise.
48732         [$(subdir) = elf && $(config-cflags-avx) = yes]
48733         (CFLAGS-tst-auditmod6b.c): Likewise.
48734         [$(subdir) = elf && $(config-cflags-avx) = yes]
48735         (CFLAGS-tst-auditmod6c.c): Likewise.
48736         [$(subdir) = elf && $(config-cflags-avx) = yes]
48737         (CFLAGS-tst-auditmod7b.c): Likewise.
48738         * elf/tst-audit3.c: Move to ...
48739         * sysdeps/x86_64/tst-audit3.c: ... here.
48740         * elf/tst-audit4.c: Move to ...
48741         * sysdeps/x86_64/tst-audit4.c: ... here.
48742         * elf/tst-audit5.c: Move to ...
48743         * sysdeps/x86_64/tst-audit5.c: ... here.
48744         * elf/tst-audit6.c: Move to ...
48745         * sysdeps/x86_64/tst-audit6.c: ... here.
48746         * elf/tst-audit7.c: Move to ...
48747         * sysdeps/x86_64/tst-audit7.c: ... here.
48748         * elf/tst-auditmod3a.c: Move to ...
48749         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
48750         * elf/tst-auditmod3b.c: Move to ...
48751         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
48752         * elf/tst-auditmod4a.c: Move to ...
48753         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
48754         * elf/tst-auditmod4b.c: Move to ...
48755         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
48756         * elf/tst-auditmod5a.c: Move to ...
48757         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
48758         * elf/tst-auditmod5b.c: Move to ...
48759         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
48760         * elf/tst-auditmod6a.c: Move to ...
48761         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
48762         * elf/tst-auditmod6b.c: Move to ...
48763         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
48764         * elf/tst-auditmod6c.c: Move to ...
48765         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
48766         * elf/tst-auditmod7a.c: Move to ...
48767         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
48768         * elf/tst-auditmod7b.c: Move to ...
48769         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
48771 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
48773         [BZ #15366]
48774         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
48775         define unconditionally.
48776         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
48777         define unconditionally.
48778         (INT8_C, INT16_C, etc.): Likewise.
48780 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
48782         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
48783         __ehdr_start with hidden visibility.
48785         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
48787 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
48789         * math/libm-test.inc (cos_test): Use accurate hex constants.
48790         (sincost_test): Likewise.
48792 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
48794         * math/libm-test.inc (catan_test): Add more tests.
48795         (catanh_test): Likewise.
48797         * math/s_catanf.c (__catanf): Use suffixed floating-point
48798         constants.
48799         * math/s_catanhf.c (__catanhf): Likewise.
48800         * math/s_catanhl.c (__catanhl): Likewise.
48801         * math/s_catanl.c (__catanl): Likewise.
48803         [BZ #15394]
48804         * math/s_catan.c (__catan): Calculate imaginary part of result
48805         with log1p not log unless computing log of number close to 0.
48806         * math/s_catanf.c (__catanf): Likewise.
48807         * math/s_catanl.c (__catanl): Likewise.
48808         * math/s_catanh.c (__catanh): Calculate real part of result with
48809         log1p not log unless computing log of number close to 0.
48810         * math/s_catanhf.c (__catanhf): Likewise.
48811         * math/s_catanhl.c (__catanhl): Likewise.
48812         * math/libm-test.inc (catan_test): Add more tests.
48813         (catanh_test): Likewise.
48814         * sysdeps/i386/fpu/libm-test-ulps: Update.
48815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48817 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48819         * benchtests/Makefile: Mention files in which fast and slow
48820         paths of math functions are implemented.
48822 2013-04-23  Roland McGrath  <roland@hack.frob.com>
48824         * sysdeps/posix/timespec_get.c: New file.
48826 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48828         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
48829         POWER.
48830         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
48831         for POWER.
48832         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
48833         powerpc/power5/fpu folders.
48834         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
48835         * benchtests/Makefile: Add modf testcase.
48836         * benchtests/bench-modf.c: New file: Benchmark test for mo
48838 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48840         [BZ #14888]
48841         * time/Makefile (tests): Add tst-strptime-whitespace.
48842         * time/strptime_l.c (get_number): Use ISSPACE.
48843         (__strptime_internal): Likewise.
48844         * time/tst-strptime-whitespace.c: New test case.
48846 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
48848         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
48849         member.
48850         (_nss_files_init): Set it here.
48852 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
48854         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
48855         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
48856         unsigned.
48858 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
48860         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
48862 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48864         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
48865         size just once.
48867 2013-04-21  David S. Miller  <davem@davemloft.net>
48869         * po/ru.po: Update Russion translation from translation project.
48871 2013-04-17  Adam Conrad  <adconrad@0c3.net>
48873         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
48874         and setfsgid.
48876 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
48878         * configure.in: Remove i386 configure warning. Remove i386 case.
48879         * configure: Regenerate.
48880         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
48881         Add example to error message.
48882         * sysdeps/i386/configure: Regenerate.
48884 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48886         * benchtests/Makefile (bench): Add cos, tan, slowcos and
48887         slowtan.
48888         * benchtests/cos-inputs: New file.
48889         * benchtests/slowcos-inputs: New file.
48890         * benchtests/slowcos.c: New file.
48891         * benchtests/slowtan-inputs: New file.
48892         * benchtests/slowtan.c: New file.
48893         * benchtests/tan-inputs: New file.
48895 2013-04-16  Roland McGrath  <roland@hack.frob.com>
48897         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
48898         considered kosher.
48900 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48902         * benchtests/Makefile: Include cppflags-iterator.mk to add
48903         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
48905         * Makefile.in (bench-clean): New target.
48906         * benchtests/Makefile (bench-clean): Likewise.
48908 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
48910         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
48912 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
48914         * stdio-common/tstdiomisc.c: Fix coding-style violation.
48916 2013-04-15  Andreas Schwab  <schwab@suse.de>
48918         * nscd/grpcache.c (cache_addgr): Properly check for short write.
48919         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48920         * nscd/pwdcache.c (cache_addpw): Likewise.
48921         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
48922         more than recsize.
48924 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48926         * benchtests/Makefile (bench): Write all output to
48927         bench-out.tmp together.
48929 2013-04-15  Andreas Schwab  <schwab@suse.de>
48931         * nscd/nscd.c (main): Don't fork again after closing files.
48933 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48935         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
48937         * benchtests/Rules (bench-deps): Collect dependencies into a
48938         single variable.  Add Makefile to dependencies.
48939         ($(objpfx)bench-%.c): Depend on bench-deps.
48941 2013-04-12  Roland McGrath  <roland@hack.frob.com>
48942             Xavier Roche  <roche+kml2@exalead.com>
48944         [BZ #15361]
48945         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
48946         just that it's a file descriptor.
48947         * manual/llio.texi (Synchronizing AIO Operations): Update description
48948         for EBADF error from aio_fsync.
48950 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48952         * Rules (bench): Move target definition...
48953         * benchtests/Makefile: ... here.
48955 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
48957         * math/libm-test.inc (cos_test): Fix PI/2 test.
48958         (sincos_test): Likewise.
48959         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48960         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
48962 2013-04-11  Andreas Schwab  <schwab@suse.de>
48964         [BZ #13988]
48965         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
48966         accept exponent character only when digits were seen.
48967         * stdio-common/Makefile (tests): Add bug26.
48968         * stdio-common/bug26.c: New file.
48970         [BZ #14293]
48971         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
48972         non-freeable.
48974 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48976         * Makeconfig (rtld-prefix): Define built linker prefix.
48977         * Rules (run-bench): Use it.
48978         * math/Makefile (run-regen-ulps): Likewise.
48980         * Rules (bench): Remove eval.
48982 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48983             Roland McGrath  <roland@hack.frob.com>
48984             Ondrej Bilka  <neleai@seznam.cz>
48986         [BZ #15346]
48987         * time/getdate.c: Include ctype.h and alloca.h.
48988         (__getdate_r): Trim leading and trailing spaces of input.
48989         * time/tst-getdate.c (tests): Add tests with leading and
48990         trailing spaces.
48992 2013-04-08  Roland McGrath  <roland@hack.frob.com>
48994         [BZ #14280]
48995         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
48996         when computing value.
48998 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49000         * math/README.libm-test (How can I generate "libm-test-ulps"?):
49001         Use testrun.sh to run libm tests.
49003         [BZ #15309]
49004         * elf/dl-open.c (dl_open_worker): memset all of seen array.
49006 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
49008         [BZ #15264]
49009         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
49011 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49013         * Makefile.in (regen-ulps): New target.
49014         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
49015         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
49016         [ifneq (no,$(PERL)] (regen-ulps): New target.
49017         [ifeq (no,$(PERL)] (regen-ulps): New target.
49018         * math/libm-test.inc (ulps_file_name): Define.
49019         (output_dir): New variable.
49020         (options): Add "output-dir" option.
49021         (parse_opt): Handle 'o' case.
49022         (main): If output_dir is non-NULL use it as a prefix
49023         otherwise use "".
49024         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
49026 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49028         [BZ #10060, #10062]
49029         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
49030         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
49031         fail configure if __sync_val_compare_and_swap is not inlined.
49032         * sysdeps/i386/configure: Regenerate.
49033         * configure.in: Build for i686 when configured for i386.
49034         * configure: Regenerate.
49035         * README: Remove i386 reference.
49037 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
49039         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
49040         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49042 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49044         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
49045         (lmsnanval): New variables.
49046         (F): Add conversion tests.
49047         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
49048         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
49050         * stdio-common/tstdiomisc.c (F): Properly collect individual
49051         tests' results.
49053         [BZ #14686, #15336]
49054         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
49055         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
49056         Instead, use input NaN values or generate a qNaN by arithmetic
49057         operation.  Also fix bugs to comply with the standard.
49058         * math/libm-test.inc (remainder_test): Add more tests.
49060         [BZ #15335, #15342]
49061         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
49062         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
49063         input NaN values or generate a qNaN by arithmetic operation.
49065         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
49066         unreachable code.
49068         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
49069         definitions.
49071 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
49073         [BZ #14478]
49074         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
49075         underflowed result.
49076         * math/s_cexpf.c (__cexpf): Likewise.
49077         * math/s_cexpl.c (__cexpl): Likewise.
49078         * math/libm-test.inc (cexp_test): Add more tests.
49080 2013-04-03  Andreas Schwab  <schwab@suse.de>
49082         [BZ #15330]
49083         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
49084         order arrays from heap if bigger than alloca cutoff.
49086 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
49088         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
49089         (SNAN_TESTS_double): Refer to GCC PR56831.
49090         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
49091         GCC PR56828.
49093 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49095         * Rules (bench): Move bench.out after the run is complete.
49097         * Rules (bench): Echo currently running benchmark.
49099         * benchtests/Makefile (bench): Add atan and slowatan.
49100         * benchtests/atan-inputs: New file.
49101         * benchtests/slowatan-inputs: New file.
49102         * benchtests/slowatan.c: New file.
49104         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
49105         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
49106         its value.
49108         [BZ #15305]
49109         * sysdeps/unix/sysv/linux/kernel-features.h
49110         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
49111         __ASSUME_XFS_RESTRICTED_CHOWN.
49112         * sysdeps/unix/sysv/linux/pathconf.c
49113         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49114         Save and restore errno.
49116 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
49118         [BZ #15327]
49119         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
49120         arguments using __kernel_casinh.
49121         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
49122         arguments using __kernel_casinhf.
49123         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
49124         arguments using __kernel_casinhl.
49125         * math/libm-test.inc (cacosh_test): Add more tests.
49126         * sysdeps/i386/fpu/libm-test-ulps: Update.
49127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49129 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49131         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
49132         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
49134         * bench/Makefile (bench): Add sin and slowsin.
49135         * benchtests/sin-inputs: New file.
49136         * benchtests/slowsin-inputs: New file.
49137         * benchtests/slowsin.c: New file.
49139         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
49140         (bench): Add slowexp and slowpow.
49141         (exp-ITER): Increase iterations.
49142         (pow-ITER): Likewise.
49143         * benchtests/exp-inputs: Change input.
49144         * benchtests/pow-inputs: Likewise.
49145         * benchtests/slowexp-inputs: New file.
49146         * benchtests/slowexp.c: New file.
49147         * benchtests/slowpow-inputs: New file.
49148         * benchtests/slowpow.c: New file.
49150 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49152         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
49153         instructions.
49154         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49155         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
49156         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49157         * benchtests/Makefile: Add rint benchtest.
49158         * benchtests/rint-inputs: Input for rint benchtest.
49160 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49162         * Versions.def (libm): Add GLIBC_2.18.
49163         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
49164         hidden libm prototypes.
49165         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
49166         * math/Makefile (libm-calls): Add s_issignaling.
49167         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
49168         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
49169         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
49170         declaration.
49171         * math/math.h [__USE_GNU] (issignaling): New macro.
49172         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
49173         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
49174         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
49175         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
49176         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
49177         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
49178         * manual/arith.texi (issignaling): New section.
49179         * manual/libm-err-tab.pl (@all_functions): Update comment.
49180         * math/gen-libm-test.pl (parse_args): Apply special handling for
49181         issignaling.
49182         * math/libm-test.inc (print_float, issignaling_test): New
49183         functions.
49184         (check_float_internal): Add issignaling checks.
49185         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
49186         default definition.
49187         * sysdeps/powerpc/math-tests.h: New file.
49188         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
49189         tests.
49190         * math/test-snan.c (TEST_FUNC): Likewise.
49192 2013-03-30  David S. Miller  <davem@davemloft.net>
49194         * po/de.po: Update from translation team.
49196 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
49198         [BZ #10357]
49199         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49200         imaginary part less than 1.0 and real part less than 0.5
49201         specially.
49202         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49203         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49204         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
49205         (cacos_test): Add more tests.
49206         (casin_test): Likewise.
49207         (casinh_test): Likewise.
49208         * sysdeps/i386/fpu/libm-test-ulps: Update.
49209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49211 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49213         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
49214         ONE with its value.
49216         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
49217         (__pow_mp): Replace ONE and MONE with their values.
49218         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49219         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
49220         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49221         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
49222         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49223         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49225         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
49227         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
49228         (__pow_mp): Replace ZERO and MZERO with their values.
49229         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49230         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49231         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49232         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49233         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49234         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
49235         (__sqr): Likewise.
49237         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
49239         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
49241 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49243         * include/stdlib.h [!SHARED] (__call_tls_dtors):
49244         Declare with __attribute__ ((weak)).
49245         * stdlib/exit.c (__libc_atexit) [!SHARED]:
49246         Call __call_tls_dtors only if it's not NULL.
49248 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49250         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
49251         didn't do it already, then set _dl_phdr and _dl_phnum based on the
49252         magic __ehdr_start linker symbol if it's defined.
49253         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
49254         them up here if it was already done.
49256         * elf/dl-support.c (_dl_phdr): Make pointer to const.
49257         (_dl_aux_init): Use const in cast when setting it.
49258         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
49259         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
49260         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
49262         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
49263         Declare them here.
49264         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
49265         * csu/libc-tls.c: Nor here.
49266         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
49268         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
49269         (__libc_message): Never call vsyslog.
49271 2013-03-28  Alan Modra  <amodra@gmail.com>
49273         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
49274         Define as empty.
49275         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
49276         Likewise.
49278 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49280         [BZ #15214]
49281         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
49282         underflow.
49283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49285 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49287         [BZ #15304]
49288         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49289         Don't add gid passed as argument.
49291         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
49293 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
49295         [BZ #15307]
49296         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49297         imaginary part between 1.0 and 1.5 and real part less than 0.5
49298         specially.
49299         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49300         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49301         * math/libm-test.inc (cacos_test): Add more tests.
49302         (casin_test): Likewise.
49303         (casinh_test): Likewise.
49304         * sysdeps/i386/fpu/libm-test-ulps: Update.
49305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49307 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49309         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
49310         constants.
49311         (norm): Likewise.
49312         (denorm): Likewise.
49313         (__dbl_mp): Likewise.
49314         (add_magnitudes): Likewise.
49315         (sub_magnitudes): Likewise.
49316         (__add): Likewise.
49317         (__sub): Likewise.
49318         (__mul): Likewise.
49319         (__sqr): Likewise.
49320         (__inv): Likewise.
49321         (__dvd): Likewise.
49323         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
49324         commented code.
49325         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
49326         (__dubcos): Likewise.
49327         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
49328         (__ieee754_acos): Likewise.
49329         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49330         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
49331         (__exp1): Likewise.
49332         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49333         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49334         (log1): Likewise.
49335         (my_log2): Likewise.
49336         (checkint): Likewise.
49337         * sysdeps/ieee754/dbl-64/e_remainder.c
49338         (__ieee754_remainder): Likewise.
49339         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49340         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
49341         (bsloww): Likewise.
49342         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49344         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49345         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
49346         MANTISSA_STORE_T to store computations on mantissa.  Use
49347         macros for rounding and division.
49348         (denorm): Likewise.
49349         (__dbl_mp): Likewise.
49350         (add_magnitudes): Likewise.
49351         (sub_magnitudes): Likewise.
49352         (__mul): Likewise.
49353         (__sqr): Likewise.
49354         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49355         powers of two in terms of TWOPOW macro.
49356         (mp_no): Make type of mantissa as MANTISSA_T.
49357         [!RADIXI]: Define RADIXI.
49358         [!TWO52]: Define TWO52.
49359         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49361 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49363         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
49364         llroundl symbol when building for PPC32.
49366 2013-03-24  Mark H Weaver  <mhw@netris.org>
49368         * manual/arith.texi (Normalization Functions): Fix prototypes for
49369         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
49371 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49373         [BZ #13889]
49374         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
49375         high value to check if expl overflow.
49376         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
49377         to check for underflow and overflow.
49378         * math/libm-test.inc: Add exp test.
49380 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
49382         [BZ #11120]
49383         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
49384         with NOT_IN_libc.
49386 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49388         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
49389         symbol.
49391 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49393         * math/gen-libm-test.pl (parse_args, special_functions): Properly
49394         wrap blocks consisting of several statements.
49396         * sysdeps/generic/math-tests.h: New file.
49397         * sysdeps/i386/fpu/math-tests.h: Likewise.
49398         * math/test-snan.c: Include it.
49399         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
49401 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49403         [BZ #15285]
49404         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
49405         (__ieee754_j0l): Do not improve calculations using cos of twice
49406         input for inputs above LDBL_MAX / 2.0L.
49407         (__ieee754_y0l): Likewise.
49408         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
49409         (__ieee754_j1l): Do not improve calculations using cos of twice
49410         input for inputs above LDBL_MAX / 2.0L.
49411         (__ieee754_y1l): Likewise.
49412         * math/libm-test.inc (j0_test): Add another test.
49413         (j1_test): Likewise.
49414         (y0_test): Likewise.
49415         (y1_test): Likewise.
49416         * sysdeps/i386/fpu/libm-test-ulps: Update.
49418 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49420         * Rules ($(objpfx)bench-%.c): Include code from a C source
49421         file.
49423 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49425         [BZ #15287]
49426         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49427         imaginary part 1.0 and real part less than 0.5 specially.
49428         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49429         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49430         * math/libm-test.inc (cacos_test): Add more tests.
49431         (casin_test): Likewise.
49432         (casinh_test): Likewise.
49433         * sysdeps/i386/fpu/libm-test-ulps: Update.
49434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49436 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49438         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
49439         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
49441 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
49443         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
49444         * config.make.in (config-cflags-sse4): Remove variable.
49445         (config-cflags-avx): Likewise.
49446         (config-cflags-sse2avx): Likewise.
49447         (config-cflags-novzeroupper): Likewise.
49448         (config-asflags-i686): Likewise.
49449         (have-mfma4): Likewise.
49450         (have-as-vis3): Likewise.
49451         (MIG): Likewise.
49452         * configure.in (MIG): Do not AC_SUBST.
49453         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
49454         (libc_cv_cc_sse4): Do not AC_SUBST.
49455         (libc_cv_cc_avx): Likewise.
49456         (libc_cv_cc_sse2avx): Likewise.
49457         (libc_cv_cc_novzeroupper): Likewise.
49458         (libc_cv_cc_fma4): Likewise.
49459         (libc_cv_as_i686): Likewise.
49460         (libc_cv_sparc_as_vis3): Likewise.
49461         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
49462         LIBC_CONFIG_VAR.
49463         (config-asflags-i686): Likewise.
49464         (config-cflags-avx): Likewise.
49465         (config-cflags-sse2avx): Likewise.
49466         (have-mfma4): Likewise.
49467         (config-cflags-novzeroupper): Likewise.
49468         * sysdeps/mach/configure.in (MIG): Likewise.
49469         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
49470         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
49471         LIBC_CONFIG_VAR.
49472         (config-cflags-avx): Likewise.
49473         (config-cflags-sse2avx): Likewise.
49474         (have-mfma4): Likewise.
49475         (config-cflags-novzeroupper): Likewise.
49476         * configure: Regenerated.
49477         * sysdeps/i386/configure: Likewise.
49478         * sysdeps/mach/configure: Likewise.
49479         * sysdeps/sparc/configure: Likewise.
49480         * sysdeps/x86_64/configure: Likewise.
49482 2013-03-20  Roland McGrath  <roland@hack.frob.com>
49484         [BZ #14812]
49485         * locale/programs/localedef.c (options): Put N_ translation marker
49486         on argument names, not just descriptions.
49488 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49490         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
49492 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
49494         [BZ #14176]
49495         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
49497 2013-03-19  Roland McGrath  <roland@hack.frob.com>
49499         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
49500         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
49501         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
49502         [!BEFORE_ABORT] (before_abort): New function.
49503         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
49504         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
49505         (writev_for_fatal): New function.
49506         (WRITEV_FOR_FATAL): New macro; call that.
49507         (backtrace_and_maps): New function.
49508         (BEFORE_ABORT): New macro; call that.
49509         (struct str_list): Type removed.
49510         (__libc_message, __libc_fatal): Functions removed.
49511         Include <sysdeps/posix/libc_fatal.c> instead.
49513 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
49515         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
49516         constants.
49517         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
49518         double constants.
49520 2013-03-19  Andreas Schwab  <schwab@suse.de>
49522         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
49523         * sysdeps/gnu/configure: Regenerate.
49525         * configure.in: Substitute libc_cv_rtlddir.
49526         * configure: Regenerate.
49527         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
49528         * Makeconfig (rtlddir, inst_rtlddir): New variables.
49529         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
49530         * elf/Makefile (install-others, CFLAGS-interp.c)
49531         (ldso_install, common-ldd-rewrite): Likewise.
49532         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
49533         $(inst_slibdir)/$(rtld-installed-name).
49534         * scripts/rellns-sh: Add -p option.
49535         * Makerules (make-shlib-link): Use rellns-sh to get relative name
49536         for source.
49538 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49540         * manual/nptl.texi: Renamed to ...
49541         * manual/threads.texi: ... this.
49542         * manual/Makefile (chapters): Update.
49544 2013-03-18  Roland McGrath  <roland@hack.frob.com>
49546         [BZ #14812]
49547         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
49548         on argument names, not just descriptions.
49549         * malloc/memusagestat.c (options): Likewise.
49550         * nss/getent.c (options): Likewise.
49552 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
49554         [BZ #14812]
49555         * iconv/iconv_prog.c (options): Put N_ translation marker
49556         on argument names, not just descriptions.
49557         * iconv/iconvconfig.c (options): Likewise.
49559 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
49561         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
49562         implementation which is faster on all x86_64 architectures.
49563         Tested on AMD, Intel Nehalem, SNB, IVB.
49564         * sysdeps/x86_64/strnlen.S: Likewise.
49566         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49567         Remove all multiarch strlen and strnlen versions.
49568         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49569         Remove strlen and strnlen related parts.
49571         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
49572         Inline strlen part.
49573         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
49575         * sysdeps/x86_64/multiarch/strlen.S: Remove.
49576         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
49577         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
49578         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
49579         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49580         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
49582 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
49584         * manual/memory.texi (Malloc Tunable Parameters):
49585         Sort parameters alphabetically. Add comments for missing entries.
49587 2013-03-17  David S. Miller  <davem@davemloft.net>
49589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49591 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
49593         [BZ #15283]
49594         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
49595         for arguments at most half maximum finite value.
49596         * math/libm-test.inc (j0_test): Add more tests.
49597         (j1_test): Likewise.
49598         (y0_test): Likewise.
49599         (y1_test): Likewise.
49600         * sysdeps/i386/fpu/libm-test-ulps: Update.
49601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49603         [BZ #14155]
49604         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
49605         1 / x and functions P and Q for arguments above 0x1p256L.
49606         (__ieee754_y0l): Likewise.
49607         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
49608         (__ieee754_y1l): Likewise.
49609         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
49610         (j1_test): Likewise.
49611         (y0_test): Likewise.
49612         (y1_test): Likewise.
49614 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
49616         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
49617         variable.
49619 2013-03-15  Roland McGrath  <roland@hack.frob.com>
49621         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
49622         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
49623         zero since it's initialized to EXEC_PAGESIZE.
49625         * sysdeps/unix/sysv/linux/ldsodefs.h
49626         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
49627         * sysdeps/generic/ldsodefs.h: ... here.
49629 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
49631         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
49633         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
49634         math/test-snan.c.
49635         * math/test-snan.c: Renamed from
49636         sysdeps/powerpc/fpu/test-powerpc-snan.c.
49637         * math/Makefile (tests): Add test-snan.
49638         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
49639         test-powerpc-snan.
49641         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
49642         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
49643         functions.
49644         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
49645         __builtin_nan family of functions.
49646         * math/libm-test.inc (initialize): Initialize qnan_value with
49647         __builtin_nan family of functions.
49648         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
49649         Remove variables.
49650         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
49651         Remove functions.
49652         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
49653         storage class.  Initialize qNaN_var and sNaN_var with
49654         __builtin_nan and __builtin_nans families of functions,
49655         respectively.
49657         * math/libm-test.inc (acosh_test): Also test with qNaN input.
49658         (sqrt_test): Remove duplicate test with qNaN input.
49659         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
49660         (round_test, signbit_test, significand_test): Note missing +/-Inf
49661         as well as qNaN tests.
49663         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
49664         qNaN_var.  Fix a few strings, too.
49665         * math/libm-test.inc (nan_value): Rename to qnan_value.
49666         * math/gen-libm-test.pl (%beautify): Adjust to that.
49667         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
49668         * math/test-misc.c (main): Likewise.
49669         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
49670         to __qnan_bytes, and __qnan_union, respectively.
49671         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
49672         Likewise.
49673         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
49674         and lqnanval, respectively.
49675         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
49676         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
49677         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
49678         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
49680         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
49681         * math/test-misc.c (main) [__x86_64__]: Enable test for long
49682         doubles.
49684         * math/test-misc.c (main): Fix copy'n'pastos.
49685         * misc/tst-efgcvt.c (special): Likewise.
49687         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
49688         Remove declarations.
49690 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49692         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
49693         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
49694         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
49695         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
49697 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49699         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
49700         macro to return vdso values correctly in IFUNC implementations.
49701         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
49702         Optimization by using IFUNC.
49704 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49705             Richard Henderson  <rth@redhat.com>
49706             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49708         * Makefile.in (bench): New target.
49709         * NEWS: Mention the benchmark framework.
49710         * Rules (bench): Likewise.
49711         (binaries-bench): Generate binaries for functions to
49712         benchmark.
49713         * benchtests/Makefile: New makefile for benchmark tests.
49714         * benchtests/bench-skeleton.c: New skeleton file for benchmark
49715         programs.
49716         * benchtests/exp-inputs: New input file for EXP function.
49717         * benchtests/pow-inputs: New input file for POW function.
49718         * scripts/bench.pl: New script to generate source files for
49719         benchmark programs.
49721 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49723         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49724         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
49725         computations on mantissa.  Use macros for rounding and
49726         division.
49727         (denorm): Likewise.
49728         (__dbl_mp): Likewise.
49729         (add_magnitudes): Likewise.
49730         (sub_magnitudes): Likewise.
49731         (__mul): Likewise.
49732         (__sqr): Likewise.
49733         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49734         powers of two in terms of TWOPOW macro.
49735         (mp_no): Make type of mantissa as MANTISSA_T.
49736         [!RADIXI]: Define RADIXI.
49737         [!TWO52]: Define TWO52.
49738         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49740         * manual/nptl.texi (cindex): Modify threads to pthreads.
49742 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
49744         * sysdeps/x86_64/preconfigure: Regenerated.
49746 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
49748         [BZ #14155]
49749         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
49750         0x1p28 and above.
49751         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
49752         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
49753         0x1p28 and above.
49754         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
49755         * math/libm-test.inc (j0_test): Do not allow one spurious
49756         underflow exception.
49757         (y1_test): Likewise.
49759 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49761         * manual/Makefile (chapters): Add nptl.
49762         * manual/debug.texi (Debugging Support): Add link to Threads
49763         chapter.
49764         * manual/nptl.texi: New file.
49766         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
49768 2013-03-14  Petr Baudis  <pasky@ucw.cz>
49770         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
49771         for non-NULL pointer before the memory validity test. Pointed
49772         out by Holger Brunck <holger.brunck@keymile.com>.
49774 2013-03-13  Andreas Schwab  <schwab@suse.de>
49776         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
49777         instead of .os.
49779 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
49781         * timezone/zic.c: Update from tzcode 2013b.
49783 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
49785         * manual/install.texi (Configuring and compiling):
49786         Mention i686 and i586.
49787         * INSTALL: Regenerate.
49789 2013-03-12  Roland McGrath  <roland@hack.frob.com>
49791         * sysdeps/init_array/elf-init.c: New file.
49792         * csu/elf-init.c
49793         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
49794         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
49796         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
49797         __gmon_start__ as global, but as static with a .preinit_array pointer.
49798         * sysdeps/init_array/gmon-start.c: New file.  Use that.
49799         * sysdeps/init_array/crti.S: New file, empty except for comments.
49800         * sysdeps/init_array/crtn.S: Likewise.
49802 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
49804         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
49805         definining bcopy.
49806         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49807         Remove Prefer_SSE_for_memop.
49808         * sysdeps/x86_64/multiarch/init-arch.h: Remove
49809         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
49810         HAS_PREFER_SSE_FOR_MEMOP.
49811         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
49812         memset-x86-64.
49813         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49814         Remove bzero, memset ifunc support.
49815         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
49816         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
49817         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49818         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49820 2013-03-11  Andreas Schwab  <schwab@suse.de>
49822         [BZ #15234]
49823         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
49824         by SHLIB_COMPAT.
49825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
49826         (GLIBC_2.16): Remove pthread_atfork.
49828 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
49830         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
49831         (ptestcases.h): Likewise.
49833 2013-03-08  Roland McGrath  <roland@hack.frob.com>
49835         * Makeconfig ($(common-objpfx)config.status): Depend on
49836         sysdeps/*/preconfigure{,.in} too.
49838 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
49840         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
49841         (__free_hook): Use void * instead of __malloc_ptr_t.
49842         (__malloc_hook): Likewise.
49843         (__realloc_hook): Likewise.
49844         (__memalign_hook): Likewise.
49845         (__after_morecore_hook): Likewise.
49846         * malloc/arena.c (save_malloc_hook): Likewise.
49847         (save_free_hook): Likewise.
49848         * malloc/hooks.c (malloc_hook_ini): Likewise.
49849         (realloc_hook_ini): Likewise.
49850         (memalign_hook_ini): Likewise.
49851         * malloc/malloc.c (malloc_hook_ini): Likewise.
49852         (realloc_hook_ini): Likewise.
49853         (memalign_hook_ini): Likewise.
49854         (__free_hook): Likewise.
49855         (__malloc_hook): Likewise.
49856         (__realloc_hook): Likewise.
49857         (__memalign_hook): Likewise.
49858         (__libc_malloc): Likewise.
49859         (__libc_free): Likewise.
49860         (__libc_realloc): Likewise.
49861         (__libc_memalign): Likewise.
49862         (__libc_valloc): Likewise.
49863         (__libc_pvalloc): Likewise.
49864         (__libc_calloc): Likewise.
49865         (__posix_memalign): Likewise.
49866         * malloc/morecore.c (__sbrk): Likewise.
49867         (__default_morecore): Likewise.
49869         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
49871         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
49872         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
49873         __malloc_ptrdiff_t.
49875         * malloc/malloc.h (__malloc_size_t): Remove macro.
49876         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
49877         __malloc_size_t.
49878         (old_memalign_hook): Likewise.
49879         (old_realloc_hook): Likewise.
49880         (struct hdr): Likewise.
49881         (flood): Likewise.
49882         (mallochook): Likewise.
49883         (memalignhook): Likewise.
49884         (reallochook): Likewise.
49885         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
49886         (tr_old_realloc_hook): Likewise.
49887         (tr_old_memalign_hook): Likewise.
49888         (tr_mallochook): Likewise.
49889         (tr_reallochook): Likewise.
49890         (tr_memalignhook): Likewise.
49892 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49894         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
49895         default_ldbl_pack and using as default implementation.
49896         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
49897         implementation.
49898         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
49899         redundant definition.
49900         (ldbl_insert_mantissa): Likewise.
49901         (ldbl_canonicalize): Likewise.
49902         (ldbl_nearbyint): Likewise.
49903         (ldbl_pack): Rename to ldbl_pack_ppc.
49904         (ldbl_unpack): Rename to ldbl_unpack_ppc.
49905         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
49906         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
49908 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49910         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
49911         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
49912         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
49913         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
49914         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
49915         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
49916         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
49917         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
49919 2013-03-07  Andreas Jaeger  <aj@suse.de>
49921         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49922         bits/mman-linux.h.
49924 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49926         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
49927         Include mpa.h and declare __MPEXP.
49928         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
49929         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49930         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49931         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
49932         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49933         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49934         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
49936         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
49937         (__slowpow): Use long double EXPL and LOGL functions to
49938         compute POW.
49939         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49940         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49941         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
49942         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49943         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49944         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
49946         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
49947         intermediate variable to calculate exponent.
49948         (__sqr): Likewise.
49949         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49950         Likewise.
49951         (__sqr): Likewise.
49953         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
49954         [!NO__SQR]: Define __sqr.
49955         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
49956         and NO__SQR.  Remove all code except __mul and __sqr.  Include
49957         sysdeps/ieee754/dbl-64/mpa.c.
49958         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49960         [BZ #12723]
49961         * posix/Makefile (tests): Add tst-pathconf.
49962         * posix/tst-pathconf.c: New test case.
49963         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
49964         _PC_PIPE_BUF.
49965         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
49967 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
49969         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
49971 2013-03-06  Andreas Jaeger  <aj@suse.de>
49973         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
49974         definition via __MAP_ANONYMOUS.
49976         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
49977         it's not part of Linux headers.
49979         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
49980         (MAP_HUGE_MASK): Define.
49982         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49983         Define.
49984         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49985         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49986         Define.
49987         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49988         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49989         Define.
49990         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49991         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
49992         Define.
49993         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49995         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
49996         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
49997         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
49998         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
49999         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
50000         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
50002         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50003         Handle f2fs.
50005         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50006         Handle f2fs and efivarfs.
50008         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
50009         f2fs.
50011         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
50012         (EFIVARFS_MAGIC): Add.
50013         (F2FS_LINK_MAX): Add.
50015 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50017         * stdio-common/vfprintf.c: Replace __builtin_expect with
50018         __glibc_unlikely.
50020 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
50022         [BZ #13550]
50023         * sysdeps/generic/bp-sym.h: Remove file.
50024         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
50025         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
50026         <bp-sym.h> and <bp-asm.h>.
50027         (__longjmp): Don't use BP_SYM.
50028         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
50029         and <bp-asm.h>.
50030         (memcpy): Don't use BP_SYM.
50031         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
50032         <bp-sym.h> and <bp-asm.h>.
50033         (memcpy): Don't use BP_SYM.
50034         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
50035         <bp-asm.h>.
50036         (memcpy): Don't use BP_SYM.
50037         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
50038         <bp-asm.h>.
50039         (memset): Don't use BP_SYM.
50040         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50041         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50042         (__bzero): Don't use BP_SYM.
50043         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50044         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50045         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
50046         <bp-sym.h> and <bp-asm.h>.
50047         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50048         pointers.
50049         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
50050         <bp-sym.h> and <bp-asm.h>.
50051         (memcpy): Don't use BP_SYM.
50052         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
50053         <bp-sym.h> and <bp-asm.h>.
50054         (memset): Don't use BP_SYM.
50055         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50056         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50057         (__bzero): Don't use BP_SYM.
50058         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50059         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50060         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
50061         <bp-sym.h> and <bp-asm.h>.
50062         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50063         pointers.
50064         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
50065         <bp-sym.h> and <bp-asm.h>.
50066         (memcpy): Don't use BP_SYM.
50067         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
50068         <bp-sym.h> and <bp-asm.h>.
50069         (memset): Don't use BP_SYM.
50070         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50071         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50072         (__bzero): Don't use BP_SYM.
50073         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50074         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50075         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
50076         <bp-sym.h> and <bp-asm.h>.
50077         (__memchr): Don't use BP_SYM.
50078         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
50079         <bp-sym.h> and <bp-asm.h>.
50080         (memcmp): Don't use BP_SYM.  Remove comment about bounded
50081         pointers.
50082         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
50083         <bp-sym.h> and <bp-asm.h>.
50084         (memcpy): Don't use BP_SYM.
50085         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
50086         <bp-sym.h> and <bp-asm.h>.
50087         (__mempcpy): Don't use BP_SYM.
50088         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
50089         <bp-sym.h> and <bp-asm.h>.
50090         (__memrchr): Don't use BP_SYM.
50091         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
50092         <bp-sym.h> and <bp-asm.h>.
50093         (memset): Don't use BP_SYM.
50094         (__bzero): Likewise.
50095         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
50096         <bp-sym.h> and <bp-asm.h>.
50097         (__rawmemchr): Don't use BP_SYM.
50098         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
50099         <bp-sym.h> and <bp-asm.h>.
50100         (__STRCMP): Don't use BP_SYM.
50101         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
50102         <bp-sym.h> and <bp-asm.h>.
50103         (strchr): Don't use BP_SYM.
50104         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
50105         <bp-sym.h> and <bp-asm.h>.
50106         (__strchrnul): Don't use BP_SYM.
50107         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
50108         <bp-sym.h> and <bp-asm.h>.
50109         (strlen): Don't use BP_SYM.
50110         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
50111         <bp-sym.h> and <bp-asm.h>.
50112         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50113         pointers.
50114         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
50115         <bp-sym.h> and <bp-asm.h>.
50116         (__strnlen): Don't use BP_SYM.
50117         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
50118         <bp-sym.h> and <bp-asm.h>.
50119         (__GI__setjmp): Don't use BP_SYM.
50120         (_setjmp): Likewise.
50121         (__sigsetjmp): Likewise.
50122         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
50123         (L(start_addresses)): Don't use BP_SYM.
50124         (_start): Likewise.
50125         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
50126         <bp-asm.h>.
50127         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
50128         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
50129         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50130         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50131         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
50132         <bp-asm.h>.
50133         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
50134         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
50135         about bounded pointers.
50136         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50137         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50138         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
50139         <bp-asm.h>.
50140         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50141         about bounded pointers.  Remove GKM FIXME comments.
50142         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50143         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
50144         <bp-asm.h>.
50145         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
50146         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
50147         Remove GKM FIXME comments.
50148         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50149         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50150         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
50151         <bp-asm.h>.
50152         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
50153         about bounded pointers.  Remove GKM FIXME comment.
50154         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
50155         and <bp-asm.h>.
50156         (strncmp): Don't use BP_SYM.  Remove comment about bounded
50157         pointers.
50158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
50159         <bp-sym.h> and <bp-asm.h>.
50160         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
50162         <bp-sym.h> and <bp-asm.h>.
50163         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50164         comment.
50166 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50168         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
50169         call free(NULL).
50171 2013-03-05  David S. Miller  <davem@davemloft.net>
50173         * po/es.po: Update from translation team.
50175 2013-03-05  Andreas Jaeger  <aj@suse.de>
50177         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
50178         <bits/mman-linux.h>.
50179         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50180         is fine.
50181         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
50182         <bits/mman-linux.h> to end of file.
50183         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50184         is fine.
50185         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
50186         <bits/mman-linux.h> to end of file.
50187         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50188         is fine.
50189         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
50190         <bits/mman-linux.h> to end of file.
50192         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
50193         (MCL_CURRENT, MCL_FUTURE): Define here.
50195 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50197         [BZ #15232]
50198         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
50199         attribute_hidden.
50200         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50202 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50204         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
50205         fourth parameter needed for rt_sigprocmask syscall.
50206         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
50207         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50208         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
50209         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50210         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50211         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
50213 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
50215         [BZ #13550]
50216         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
50217         comment about bounded pointers.
50218         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
50219         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
50221 2013-03-04  Andreas Jaeger  <aj@suse.de>
50223         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
50224         common definitions.
50226         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
50227         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
50228         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
50229         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50230         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50231         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50233 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50235         [BZ #15055]
50236         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
50237         __ieee754_sqrl instead of __sqrl.
50239 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
50241         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
50242         * sysdeps/powerpc/fpu_control.h: ... here.
50243         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
50244         * sysdeps/powerpc/bits/fenvinline.h: ... here.
50245         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
50246         * sysdeps/powerpc/bits/mathinline.h: ... here.
50248 2013-03-01  Roland McGrath  <roland@hack.frob.com>
50250         * elf/dl-hwcaps.c (_dl_important_hwcaps):
50251         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
50252         to just [NEED_DL_SYSINFO_DSO].
50253         * elf/dl-support.c: Likewise.
50254         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
50255         * elf/rtld.c (dl_main): Likewise.
50256         * elf/setup-vdso.h (setup_vdso): Likewise.
50257         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
50258         * sysdeps/unix/sysv/linux/dl-sysdep.c
50259         (_dl_discover_osversion): Likewise.
50261 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
50263         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
50264         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50266 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
50268         * NEWS: Mention libm performance improvements and non-x86 PI
50269         futex support.
50271         * csu/libc-start.c (__pthread_initialize_minimal): Change
50272         function arguments.
50273         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50275 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
50277         [BZ #13550]
50278         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
50279         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
50280         <bp-sym.h> and <bp-asm.h>.
50281         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50282         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
50283         and <bp-asm.h>.
50284         (memcpy): Don't use BP_SYM.
50285         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
50286         <bp-asm.h>.
50287         (__mpn_add_n): Don't use BP_SYM.
50288         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
50289         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
50290         and <bp-asm.h>.
50291         (__mpn_addmul_1): Don't use BP_SYM.
50292         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50293         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
50294         <bp-sym.h>.
50295         (_setjmp): Don't use BP_SYM.
50296         (__novmx_setjmp): Likewise.
50297         (__GI__setjmp): Likewise.
50298         (__vmx_setjmp): Likewise.
50299         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
50300         <bp-sym.h>.
50301         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
50302         (__bzero): Don't use BP_SYM.
50303         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50304         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50305         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
50306         <bp-sym.h> and <bp-asm.h>.
50307         (memcpy): Don't use BP_SYM.
50308         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
50309         <bp-sym.h> and <bp-asm.h>.
50310         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50311         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
50312         <bp-sym.h> and <bp-asm.h>.
50313         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50314         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
50315         <bp-asm.h>.
50316         (__mpn_lshift): Don't use BP_SYM.
50317         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50318         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
50319         <bp-asm.h>.
50320         (memset): Don't use BP_SYM.
50321         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50322         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50323         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
50324         <bp-asm.h>.
50325         (__mpn_mul_1): Don't use BP_SYM.
50326         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50327         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
50328         <bp-sym.h> and <bp-asm.h>.
50329         (memcmp): Don't use BP_SYM.
50330         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
50331         <bp-sym.h> and <bp-asm.h>.
50332         (memcpy): Don't use BP_SYM.
50333         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
50334         <bp-sym.h> and <bp-asm.h>.
50335         (memset): Don't use BP_SYM.
50336         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
50337         <bp-sym.h> and <bp-asm.h>.
50338         (strncmp): Don't use BP_SYM.
50339         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
50340         <bp-sym.h> and <bp-asm.h>.
50341         (memcpy): Don't use BP_SYM.
50342         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
50343         <bp-sym.h> and <bp-asm.h>.
50344         (memset): Don't use BP_SYM.
50345         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
50346         <bp-sym.h> and <bp-asm.h>.
50347         (__memchr): Don't use BP_SYM.
50348         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
50349         <bp-sym.h> and <bp-asm.h>.
50350         (memcmp): Don't use BP_SYM.
50351         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
50352         <bp-sym.h> and <bp-asm.h>.
50353         (memcpy): Don't use BP_SYM.
50354         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
50355         <bp-sym.h> and <bp-asm.h>.
50356         (__mempcpy): Don't use BP_SYM.
50357         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
50358         <bp-sym.h> and <bp-asm.h>.
50359         (__memrchr): Don't use BP_SYM.
50360         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
50361         <bp-sym.h> and <bp-asm.h>.
50362         (memset): Don't use BP_SYM.
50363         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
50364         <bp-sym.h> and <bp-asm.h>.
50365         (__rawmemchr): Don't use BP_SYM.
50366         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
50367         <bp-sym.h> and <bp-asm.h>.
50368         (__STRCMP): Don't use BP_SYM.
50369         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
50370         <bp-sym.h> and <bp-asm.h>.
50371         (strchr): Don't use BP_SYM.
50372         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
50373         <bp-sym.h> and <bp-asm.h>.
50374         (__strchrnul): Don't use BP_SYM.
50375         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
50376         <bp-sym.h> and <bp-asm.h>.
50377         (strlen): Don't use BP_SYM.
50378         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
50379         <bp-sym.h> and <bp-asm.h>.
50380         (strncmp): Don't use BP_SYM.
50381         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
50382         <bp-sym.h> and <bp-asm.h>.
50383         (__strnlen): Don't use BP_SYM.
50384         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
50385         <bp-asm.h>.
50386         (__mpn_rshift): Don't use BP_SYM.
50387         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50388         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
50389         <bp-sym.h> and <bp-asm.h>.
50390         (__sigsetjmp): Don't use BP_SYM.
50391         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
50392         (L(start_addresses)): Don't use BP_SYM.
50393         (_start): Likewise.
50394         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
50395         <bp-asm.h>.
50396         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
50397         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50398         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50399         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
50400         <bp-asm.h>.
50401         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
50402         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50403         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50404         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
50405         <bp-asm.h>.
50406         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50407         comments.
50408         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50409         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
50410         <bp-asm.h>.
50411         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
50412         FIXME comments.
50413         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50414         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50415         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
50416         <bp-asm.h>.
50417         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50418         comment.
50419         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
50420         and <bp-asm.h>.
50421         (strncmp): Don't use BP_SYM,
50422         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
50423         <bp-asm.h>.
50424         (__mpn_sub_n): Don't use BP_SYM.
50425         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50426         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
50427         and <bp-asm.h>.
50428         (__mpn_submul_1): Don't use BP_SYM.
50429         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
50431         <bp-sym.h> and <bp-asm.h>.
50432         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
50434         <bp-sym.h> and <bp-asm.h>.
50435         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50436         comment.
50438 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50440         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
50441         Use ZK to minimize writes to Z.
50442         (sub_magnitudes): Simplify code a bit.
50443         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
50444         Use ZK to minimize writes to Z.
50445         (sub_magnitudes): Simplify code a bit.
50447 2013-02-27  Roland McGrath  <roland@hack.frob.com>
50449         * csu/gmon-start.c: Add special exception to license text.
50451 2013-02-27  Richard Henderson  <rth@redhat.com>
50453         * scripts/config.guess: Update from config.git.
50454         * scripts/config.sub: Likewise.
50456 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50458         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
50460         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
50462         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
50464         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
50466         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
50468 2013-02-26  Roland McGrath  <roland@hack.frob.com>
50470         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
50471         [$(build-shared = yes].
50473 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50475         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
50476         (__mul): Reduce iterations for calculating mantissa.
50478         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
50479         MPTWO.
50480         (__mpranred): Likewise.
50482         [BZ #15160]
50483         * malloc/memusagestat.c (main): Draw graphs for heap and stack
50484         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
50486 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
50488         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
50489         Define __attribute__.
50491 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50493         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
50494         unused.
50495         * posix/regex_internal.h (__attribute): Remove.
50496         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
50497         (re_string_context_at): Likewise.
50498         (bitset_not): Use __attribute__ and mark function as possibly
50499         unused.
50500         (bitset_merge): Likewise.
50501         (bitset_mask): Likewise.
50502         (re_string_char_size_at): Likewise.
50503         (re_string_wchar_at): Likewise.
50504         (re_string_elem_size_at): Likewise.
50506 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50508         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
50509         code.
50510         (cc32): Likewise.
50512         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
50513         (__acr): Likewise.
50514         (__cpy): Likewise.
50515         (norm): Likewise.
50516         (denorm): Likewise.
50517         (__dbl_mp): Likewise.
50518         (add_magnitudes): Likewise.
50519         (sub_magnitudes): Likewise.
50520         (__mul): Likewise.
50521         (__inv): Likewise.
50523         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
50524         style.
50526         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
50527         style.
50529         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
50530         code.
50532         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
50533         up changes with default code.
50534         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
50535         Likewise.
50537 2013-02-24  Allan McRae  <allan@archlinux.org>
50539         * manual/socket.texi (The Internet Namespace): Order menu items
50540         to match that in the file.
50542         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
50543         node listing of the info page menu.
50545 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
50547         [BZ #13550]
50548         * sysdeps/i386/bp-asm.h: Remove file.
50549         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50550         (PARMS): Do not use macros from bp-asm.h.
50551         (S1): Likewise.
50552         (S2): Likewise.
50553         (SIZE): Likewise.
50554         (__mpn_add_n): Do not use BP_SYM
50555         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
50556         "bp-asm.h".
50557         (PARMS): Do not use macros from bp-asm.h.
50558         (S1): Likewise.
50559         (SIZE): Likewise.
50560         (__mpn_addmul_1): Do not use BP_SYM
50561         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
50562         "bp-asm.h".
50563         (PARMS): Do not use macros from bp-asm.h.
50564         (SIGMSK): Likewise.
50565         (_setjmp): Likewise.  Do not use BP_SYM.
50566         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
50567         "bp-asm.h".
50568         (PARMS): Do not use macros from bp-asm.h.
50569         (SIGMSK): Likewise.
50570         (setjmp): Likewise.  Do not use BP_SYM.
50571         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
50572         "bp-asm.h".
50573         (PARMS): Do not use macros from bp-asm.h.
50574         (__frexp): Do not use BP_SYM.
50575         (frexp): Likewise.
50576         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
50577         "bp-asm.h".
50578         (PARMS): Do not use macros from bp-asm.h.
50579         (__frexpf): Do not use BP_SYM.
50580         (frexpf): Likewise.
50581         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
50582         "bp-asm.h".
50583         (PARMS): Do not use macros from bp-asm.h.
50584         (__frexpl): Do not use BP_SYM.
50585         (frexpl): Likewise.
50586         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
50587         "bp-asm.h".
50588         (PARMS): Do not use macros from bp-asm.h.
50589         (__remquo): Do not use BP_SYM.
50590         (remquo): Likewise.
50591         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
50592         "bp-asm.h".
50593         (PARMS): Do not use macros from bp-asm.h.
50594         (__remquof): Do not use BP_SYM.
50595         (remquof): Likewise.
50596         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
50597         "bp-asm.h".
50598         (PARMS): Do not use macros from bp-asm.h.
50599         (__remquol): Do not use BP_SYM.
50600         (remquol): Likewise.
50601         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
50602         "bp-asm.h".
50603         (PARMS): Do not use macros from bp-asm.h.
50604         (DEST): Likewise.
50605         (SRC): Likewise.
50606         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
50607         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
50608         "bp-asm.h".
50609         (PARMS): Do not use macros from bp-asm.h.
50610         (strlen): Do not use BP_SYM.
50611         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
50612         "bp-asm.h".
50613         (PARMS): Do not use macros from bp-asm.h.
50614         (S1): Likewise.
50615         (S2): Likewise.
50616         (SIZE): Likewise.
50617         (__mpn_add_n): Do not use BP_SYM.
50618         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
50619         "bp-asm.h".
50620         (PARMS): Do not use macros from bp-asm.h.
50621         (S1): Likewise.
50622         (SIZE): Likewise.
50623         (__mpn_addmul_1): Do not use BP_SYM.
50624         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
50625         weak_alias.
50626         (bzero): Likewise.
50627         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
50628         "bp-asm.h".
50629         (PARMS): Do not use macros from bp-asm.h.
50630         (S): Likewise.
50631         (SIZE): Likewise.
50632         (__mpn_lshift): Do not use BP_SYM.
50633         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
50634         "bp-asm.h".
50635         (PARMS): Do not use macros from bp-asm.h.
50636         (DEST): Likewise.
50637         (SRC): Likewise.
50638         (LEN): Likewise.
50639         (memcpy): Likewise.  Do not use BP_SYM.
50640         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
50641         libc_hidden_def and weak_alias.
50642         (mempcpy): Do not use BP_SYM in weak_alias.
50643         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
50644         "bp-asm.h".
50645         (PARMS): Do not use macros from bp-asm.h.
50646         (DEST): Likewise.
50647         (LEN): Likewise.
50648         [!BZERO_P] (CHR): Likewise.
50649         (memset): Likewise.  Do not use BP_SYM.
50650         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
50651         "bp-asm.h".
50652         (PARMS): Do not use macros from bp-asm.h.
50653         (S1): Likewise.
50654         (SIZE): Likewise.
50655         (__mpn_mul_1): Do not use BP_SYM.
50656         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
50657         "bp-asm.h".
50658         (PARMS): Do not use macros from bp-asm.h.
50659         (S): Likewise.
50660         (SIZE): Likewise.
50661         (__mpn_rshift): Do not use BP_SYM.
50662         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
50663         "bp-asm.h".
50664         (PARMS): Do not use macros from bp-asm.h.
50665         (STR): Likewise.
50666         (CHR): Likewise.
50667         (strchr): Likewise.  Do not use BP_SYM.
50668         (index): Do not use BP_SYM in weak_alias.
50669         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
50670         "bp-asm.h".
50671         (PARMS): Do not use macros from bp-asm.h.
50672         (DEST): Likewise.
50673         (SRC): Likewise.
50674         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
50675         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
50676         "bp-asm.h".
50677         (PARMS): Do not use macros from bp-asm.h.
50678         (strlen): Do not use BP_SYM.
50679         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
50680         "bp-asm.h".
50681         (PARMS): Do not use macros from bp-asm.h.
50682         (S1): Likewise.
50683         (S2): Likewise.
50684         (SIZE): Likewise.
50685         (__mpn_sub_n): Do not use BP_SYM.
50686         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
50687         "bp-asm.h".
50688         (PARMS): Do not use macros from bp-asm.h.
50689         (S1): Likewise.
50690         (SIZE): Likewise.
50691         (__mpn_submul_1): Do not use BP_SYM.
50692         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
50693         "bp-asm.h".
50694         (PARMS): Do not use macros from bp-asm.h.
50695         (S1): Likewise.
50696         (S2): Likewise.
50697         (SIZE): Likewise.
50698         (__mpn_add_n): Do not use BP_SYM.
50699         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
50700         weak_alias.
50701         (bzero): Likewise.
50702         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
50703         "bp-asm.h".
50704         (PARMS): Do not use macros from bp-asm.h.
50705         (BLK2): Likewise.
50706         (LEN): Likewise.
50707         (memcmp): Do not use BP_SYM.
50708         (bcmp): Do not use BP_SYM in weak_alias.
50709         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
50710         "bp-asm.h".
50711         (PARMS): Do not use macros from bp-asm.h.
50712         (DEST): Likewise.
50713         (SRC): Likewise.
50714         (LEN): Likewise.
50715         (memcpy): Likewise.  Do not use BP_SYM.
50716         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
50717         "bp-asm.h".
50718         (PARMS): Do not use macros from bp-asm.h.
50719         (DEST): Likewise.
50720         (SRC): Likewise.
50721         (LEN): Likewise.
50722         (memmove): Likewise.  Do not use BP_SYM.
50723         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
50724         "bp-asm.h".
50725         (PARMS): Do not use macros from bp-asm.h.
50726         (DEST): Likewise.
50727         (SRC): Likewise.
50728         (LEN): Likewise.
50729         (__mempcpy): Likewise.  Do not use BP_SYM.
50730         (mempcpy): Do not use BP_SYM in weak_alias.
50731         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
50732         "bp-asm.h".
50733         (PARMS): Do not use macros from bp-asm.h.
50734         (DEST): Likewise.
50735         (LEN): Likewise.
50736         [!BZERO_P] (CHR): Likewise.
50737         (memset): Likewise.  Do not use BP_SYM.
50738         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
50739         "bp-asm.h".
50740         (PARMS): Do not use macros from bp-asm.h.
50741         (STR2): Likewise.
50742         (strcmp): Do not use BP_SYM.
50743         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
50744         "bp-asm.h".
50745         (PARMS): Do not use macros from bp-asm.h.
50746         (STR): Likewise.
50747         (DELIM): Likewise.
50748         [USE_AS_STRTOK_R] (SAVE): Likewise.
50749         (FUNCTION): Likewise.  Do not use BP_SYM.
50750         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
50751         aliases.
50752         (strtok_r): Likewise.
50753         (__GI___strtok_r): Likewise.
50754         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50755         (PARMS): Do not use macros from bp-asm.h.
50756         (S): Likewise.
50757         (SIZE): Likewise.
50758         (__mpn_lshift): Do not use BP_SYM.
50759         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50760         (PARMS): Do not use macros from bp-asm.h.
50761         (STR): Likewise.
50762         (CHR): Likewise.
50763         (__memchr): Do not use BP_SYM.
50764         (memchr): Do not use BP_SYM in weak_alias.
50765         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50766         (PARMS): Do not use macros from bp-asm.h.
50767         (BLK2): Likewise.
50768         (LEN): Likewise.
50769         (memcmp): Do not use BP_SYM.
50770         (bcmp): Do not use BP_SYM in weak_alias.
50771         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
50772         (PARMS): Do not use macros from bp-asm.h.
50773         (S1): Likewise.
50774         (SIZE): Likewise.
50775         (__mpn_mul_1): Do not use BP_SYM.
50776         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
50777         "bp-asm.h".
50778         (PARMS): Do not use macros from bp-asm.h.
50779         (STR): Likewise.
50780         (CHR): Likewise.
50781         (__rawmemchr): Do not use BP_SYM.
50782         (rawmemchr): Do not use BP_SYM in weak_alias.
50783         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50784         (PARMS): Do not use macros from bp-asm.h.
50785         (S): Likewise.
50786         (SIZE): Likewise.
50787         (__mpn_rshift): Do not use BP_SYM.
50788         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50789         (PARMS): Do not use macros from bp-asm.h.
50790         (SIGMSK): Likewise.
50791         (__sigsetjmp): Likewise.  Do not use BP_SYM.
50792         * sysdeps/i386/start.S: Do not include "bp-sym.h".
50793         (_start): Do not use BP_SYM.
50794         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
50795         (PARMS): Do not use macros from bp-asm.h.
50796         (DEST): Likewise.
50797         (SRC): Likewise.
50798         (__stpcpy): Likewise.  Do not use BP_SYM.
50799         (stpcpy): Do not use BP_SYM in weak_alias.
50800         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
50801         "bp-asm.h".
50802         (PARMS): Do not use macros from bp-asm.h.
50803         (DEST): Likewise.
50804         (SRC): Likewise.
50805         (LEN): Likewise.
50806         (__stpncpy): Likewise.  Do not use BP_SYM.
50807         (stpncpy): Do not use BP_SYM in weak_alias.
50808         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50809         (PARMS): Do not use macros from bp-asm.h.
50810         (STR): Likewise.
50811         (CHR): Likewise.
50812         (strchr): Likewise.  Do not use BP_SYM.
50813         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
50814         "bp-asm.h".
50815         (PARMS): Do not use macros from bp-asm.h.
50816         (STR): Likewise.
50817         (CHR): Likewise.
50818         (__strchrnul): Likewise.  Do not use BP_SYM.
50819         (strchrnul): Do not use BP_SYM in weak_alias.
50820         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
50821         "bp-asm.h".
50822         (PARMS): Do not use macros from bp-asm.h.
50823         (STOP): Likewise.
50824         (strcspn): Do not use BP_SYM.
50825         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
50826         "bp-asm.h".
50827         (PARMS): Do not use macros from bp-asm.h.
50828         (STR): Likewise.
50829         (STOP): Likewise.
50830         (strpbrk): Likewise.  Do not use BP_SYM.
50831         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
50832         "bp-asm.h".
50833         (PARMS): Do not use macros from bp-asm.h.
50834         (STR): Likewise.
50835         (CHR): Likewise.
50836         (strrchr): Likewise.  Do not use BP_SYM.
50837         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
50838         (PARMS): Do not use macros from bp-asm.h.
50839         (SKIP): Likewise.
50840         (strspn): Do not use BP_SYM.
50841         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
50842         (PARMS): Do not use macros from bp-asm.h.
50843         (STR): Likewise.
50844         (DELIM): Likewise.
50845         (SAVE): Likewise.
50846         (FUNCTION): Likewise.  Do not use BP_SYM.
50847         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
50848         aliases.
50849         (strtok_r): Likewise.
50850         (__GI___strtok_r): Likewise.
50851         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50852         (PARMS): Do not use macros from bp-asm.h.
50853         (S1): Likewise.
50854         (S2): Likewise.
50855         (SIZE): Likewise.
50856         (__mpn_sub_n): Do not use BP_SYM.
50857         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
50858         "bp-asm.h".
50859         (PARMS): Do not use macros from bp-asm.h.
50860         (S1): Likewise.
50861         (SIZE): Likewise.
50862         (__mpn_submul_1): Do not use BP_SYM.
50863         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
50864         <bp-sym.h>.
50865         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
50866         and <bp-asm.h>.
50867         (PARMS): Do not use macros from bp-asm.h.
50868         (FLAGS): Likewise.
50869         (PTID): Likewise.
50870         (TLS): Likewise.
50871         (CTID): Likewise.
50872         (__clone): Do not use BP_SYM.
50873         (clone): Do not use BP_SYM in weak_alias.
50874         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
50875         and <bp-asm.h>.
50876         (PARMS): Do not use macros from bp-asm.h.
50877         (LEN): Likewise.
50878         (__mmap64): Do not use BP_SYM.
50879         (mmap64): Do not use BP_SYM in weak_alias.
50880         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50881         <bp-sym.h> and <bp-asm.h>.
50882         (PARMS): Do not use macros from bp-asm.h.
50883         (__posix_fadvise64_l64): Do not use BP_SYM.
50884         * sysdeps/unix/sysv/linux/i386/semtimedop.S
50885         (PARMS): Do not use macros from bp-asm.h.
50886         (NSOPS): Likewise.
50887         (semtimedop): Do not use BP_SYM.
50888         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
50889         and <bp-asm.h>.
50891 2013-02-21  Allan McRae  <allan@archlinux.org>
50893         * manual/message.texi (Charset conversion in gettext):
50894         Move @end statement to beginning of line.
50896 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50898         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
50899         static.
50900         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50901         Likewise.
50903         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
50904         (denorm): Likewise.
50905         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
50906         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
50908 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50910         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
50911         tail-call to the resolved function if pltexit isn't needed.
50913 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50915         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
50916         or Y being zero as being unlikely.
50917         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50918         Likewise.
50920 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
50922         * manual/nss.texi (System Databases and Name Service Switch):
50923         Remove frobnicate @pxref.
50925 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50927         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50928         __attribute__ ((unused)) to __attribute__ ((__unused__)).
50930 2013-02-20  Petr Machata  <pmachata@redhat.com>
50932         * elf/elf.h (R_ARM_TARGET1): New macro.
50933         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
50934         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
50935         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
50936         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
50937         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
50938         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
50939         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
50940         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
50941         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
50942         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
50943         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
50944         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
50945         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
50946         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
50947         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
50948         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
50949         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
50950         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
50951         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
50952         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
50953         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
50954         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
50955         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
50956         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
50957         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
50958         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
50959         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
50960         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
50961         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
50962         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
50963         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
50964         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
50965         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
50966         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
50967         (R_ARM_THM_GOT_BREL12): Likewise.
50968         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
50969         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
50970         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
50971         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
50972         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
50973         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
50974         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
50975         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
50976         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
50978 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50980         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50981         __attribute_used__ to __attribute__ ((unused)).
50983 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50985         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
50986         powerpc mpa.c.
50987         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
50988         comment formatting.
50989         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
50991 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
50993         [BZ #13550]
50994         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
50995         Remove macro.
50996         (ENTER): Remove both macro definitions.
50997         (LEAVE): Likewise.
50998         (CHECK_BOUNDS_LOW): Likewise.
50999         (CHECK_BOUNDS_HIGH): Likewise.
51000         (CHECK_BOUNDS_BOTH): Likewise.
51001         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
51002         (RETURN_BOUNDED_POINTER): Likewise.
51003         (RETURN_NULL_BOUNDED_POINTER): Likewise.
51004         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
51005         (POP_ERRNO_LOCATION_RETURN): Likewise.
51006         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
51007         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51008         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
51009         macros.
51010         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51011         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
51012         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
51013         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
51014         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
51015         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
51016         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
51017         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
51018         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
51019         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
51020         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
51021         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
51022         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51023         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
51024         removed macros.
51025         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51026         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
51027         macros.
51028         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51029         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
51030         * sysdeps/i386/i586/memset.S (memset): Likewise.
51031         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
51032         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51033         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
51034         macros.
51035         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51036         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
51037         Change uses of L(2) to L(out).
51038         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
51039         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
51040         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
51041         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51042         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
51043         removed macros.
51044         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51045         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
51046         macros.
51047         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51048         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
51049         (RETURN): Do not use macro LEAVE.
51050         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
51051         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
51052         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
51053         * sysdeps/i386/i686/memset.S (memset): Likewise.
51054         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
51055         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
51056         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51057         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
51058         Likewise.
51059         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51060         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
51061         L(1_2) and L(1_3) into L(1).
51062         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51063         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
51064         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51065         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
51066         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51067         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
51068         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
51069         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51070         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
51071         macros.
51072         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
51073         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51074         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
51075         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
51076         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
51077         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51078         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
51079         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
51080         * sysdeps/i386/strcspn.S (strcspn): Likewise.
51081         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
51082         * sysdeps/i386/strrchr.S (strrchr): Likewise.
51083         * sysdeps/i386/strspn.S (strspn): Likewise.
51084         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
51085         conditional code.
51086         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51087         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
51088         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51089         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
51090         L(1_3) into L(1_1).
51091         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
51092         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51093         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
51094         macros.
51095         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51097 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
51099         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
51100         macro.
51102 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51104         * math/atest-exp.c (exp_mpn): Remove ROUND.
51105         * math/atest-exp2.c (exp_mpn): Likewise.
51106         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
51108         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
51109         * stdlib/tst-tls-atexit-lib.c: Likewise.
51110         * stdlib/tst-tls-atexit.c: Likewise.
51112 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51114         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
51115         and __attribute_alloc_size__.
51117 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51119         * include/programs/xmalloc.h: Change __attribute_alloc_size to
51120         __attribute_alloc_size__.
51121         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
51122         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
51124 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
51126         * include/programs/xmalloc.h: New file.
51127         * catgets/gencat.c: Include it.
51128         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
51129         * elf/pldd.c: Likewise.
51130         * iconv/iconv_charmap.c: Likewise.
51131         * iconv/iconvconfig.c: Likewise.
51132         * iconv/strtab.c: Likewise.
51133         * locale/programs/locale.c: Likewise.
51134         * locale/programs/localedef.h: Likewise.
51135         * locale/programs/simple-hash.c: Likewise.
51136         * nscd/nscd.h: Likewise.
51137         * nss/makedb.c: Likewise.
51138         * sysdeps/generic/ldconfig.h: Likewise.
51140 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51142         * Versions.def: Add GLIBC_2.18.
51143         * include/link.h (struct link_map): New member l_tls_dtor_count.
51144         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
51145         (__call_tls_dtors): Likewise.
51146         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
51147         __cxa_thread_atexit_impl.
51148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51149         Likewise.
51150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51151         Likewise.
51152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51153         Likewise.
51154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51155         Likewise.
51156         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
51158         Likewise.
51159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
51160         Likewise.
51161         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51163         Likewise.
51164         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
51165         (tests): Add test case tst-tls-atexit.
51166         (modules-names): Add shared library for tst-tls-atexit.
51167         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
51168         (GLIBC_PRIVATE): Add __call_tls_dtors.
51169         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
51170         for libstdc++.
51171         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
51172         * stdlib/tst-tls-atexit.c: New test case.
51173         * stdlib/tst-tls-atexit-lib.c: New test case.
51175         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
51177         * elf/Versions (ld): Add _dl_find_dso_for_object.
51178         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
51179         * elf/dl-open.c (_dl_find_dso_for_object): New function.
51180         (dl_open_worker): Use _dl_find_dso_for_object.
51181         * elf/dl-sym.c (do_sym): Likewise.
51182         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
51184 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51186         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
51187         Syntactic changes only.
51188         (_dl_runtime_profile): Do a tail-call to the resolved function.
51190 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
51192         [BZ #13550]
51193         * sysdeps/x86_64/bp-asm.h: Remove file.
51194         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
51195         <bp-sym.h> and <bp-asm.h>.
51196         (__clone): Do not use BP_SYM.
51197         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
51198         <bp-sym.h> and <bp-asm.h>.
51199         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51200         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
51201         "bp-asm.h".
51202         (_setjmp): Do not use BP_SYM.
51203         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
51204         "bp-asm.h".
51205         (setjmp): Do not use BP_SYM.
51206         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
51207         libc_hidden_def.
51208         (mempcpy): Do not use BP_SYM in weak_alias.
51209         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
51210         "bp-asm.h".
51211         (strchr): Do not use BP_SYM.
51212         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
51213         "bp-asm.h".
51214         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
51215         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
51216         (_start): Do not use BP_SYM.
51217         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
51218         "bp-asm.h".
51219         (strcat): Do not use BP_SYM.
51220         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
51221         "bp-asm.h".
51222         (STRCMP): Do not use BP_SYM.
51223         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
51224         "bp-asm.h".
51225         (STRCPY): Do not use BP_SYM.
51226         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
51227         "bp-asm.h".
51228         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
51229         "bp-asm.h".
51230         (FUNCTION): Do not use BP_SYM.
51231         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
51232         weak_alias.
51233         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
51235 2013-02-17  Andreas Jaeger  <aj@suse.de>
51237         * time/Versions: Sort entries.
51238         * string/Versions: Likewise.
51239         * resolv/Versions: Likewise.
51240         * posix/Versions: Likewise.
51241         * iconv/Versions: Likewise.
51242         * elf/Versions: Likewise.
51243         * wcsmbs/Versions: Likewise.
51245 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51247         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
51248         loop termination condition.
51250         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
51251         variable to calculate EZ.
51252         (__sqr): Likewise.
51254         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
51255         the lower precision input.
51257 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
51259         [BZ #13550]
51260         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
51261         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
51262         (run-via-rtld-prefix): Do not handle %-bp tests.
51263         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
51264         (all-object-suffixes): Remove .ob.
51265         (bppfx): Remove variable.
51266         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
51267         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
51268         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
51269         [$(build-bounded) = yes] (libtype.ob): Likewise.
51270         * Makerules (elide-routines.ob): Remove variable.
51271         (do-tests-clean): Do not handle *-bp.out.
51272         (common-mostlyclean): Do not handle *-bp and *-bp.out.
51273         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
51274         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
51275         (tests): Do not include $(tests-bp.out).
51276         (xtests): Do not include $(xtests-bp.out).
51277         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
51278         [$(build-bounded) = yes] ($(addprefix
51279         $(objpfx),$(binaries-bounded))): Remove rule.
51280         ($(objpfx)%-bp.out): Remove rule.
51281         * config.make.in (build-bounded): Remove variable.
51282         * crypt/Makefile [$(build-bounded) = yes]
51283         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
51284         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
51285         append to variable.
51286         [$(build-bounded) = yes] (install-lib): Likewise.
51287         [$(build-bounded) = yes] (generated): Likewise.
51288         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
51289         Remove rule.
51290         * intl/Makefile [$(build-bounded) = yes]
51291         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
51292         * math/Makefile [$(build-bounded) = yes]
51293         ($(tests:%=$(objpfx)%-bp): Likewise.
51294         * misc/Makefile [$(build-bounded) = yes]
51295         ($(objpfx)tst-tsearch-bp): Likewise.
51296         * nptl/Makeconfig (bounded-thread-library): Remove variable.
51297         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
51298         Remove dependency.
51299         * string/Makefile (o-objects.ob): Remove variable.
51300         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
51301         (CFLAGS-.ob): Remove variable.
51302         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
51303         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
51304         both definitions of variable.
51305         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
51306         (ASFLAGS-.ob): Remove variable.
51308 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
51310         [BZ #13550]
51311         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
51312         Remove __BOUNDED_POINTERS__ from condition.
51313         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
51314         * string/bits/string2.h [!__NO_STRING_INLINES &&
51315         !__BOUNDED_POINTERS__]: Likewise.
51316         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
51317         Likewise.
51318         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
51319         Remove conditional code.
51320         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
51321         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
51322         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
51323         condition.
51325         [BZ #13550]
51326         * csu/libc-start.c: Do not include <bp-sym.h>.
51327         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
51328         * elf/dl-open.c: Do not include <bp-sym.h>.
51329         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
51330         * math/fegetenv.c: Do not include <bp-sym.h>.
51331         (fegetenv): Do not use BP_SYM in versioned symbols.
51332         * nptl/sysdeps/pthread/bits/libc-lockP.h
51333         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
51334         <bp-sym.h>.
51335         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51336         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
51337         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51338         (__pthread_mutex_destroy): Likewise.
51339         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51340         (__pthread_mutex_lock): Likewise.
51341         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51342         (__pthread_mutex_trylock): Likewise.
51343         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51344         (__pthread_mutex_unlock): Likewise.
51345         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51346         (__pthread_mutexattr_init): Likewise.
51347         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51348         (__pthread_mutexattr_destroy): Likewise.
51349         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51350         (__pthread_mutexattr_settype): Likewise.
51351         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51352         (__pthread_rwlock_init): Likewise.
51353         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51354         (__pthread_rwlock_destroy): Likewise.
51355         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51356         (__pthread_rwlock_rdlock): Likewise.
51357         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51358         (__pthread_rwlock_tryrdlock): Likewise.
51359         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51360         (__pthread_rwlock_wrlock): Likewise.
51361         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51362         (__pthread_rwlock_trywrlock): Likewise.
51363         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51364         (__pthread_rwlock_unlock): Likewise.
51365         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51366         (__pthread_key_create): Likewise.
51367         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51368         (__pthread_setspecific): Likewise.
51369         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51370         (__pthread_getspecific): Likewise.
51371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
51372         Likewise.
51373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51374         (_pthread_cleanup_push_defer): Likewise.
51375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51376         (_pthread_cleanup_pop_restore): Likewise.
51377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51378         (pthread_setcancelstate): Likewise.
51379         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
51380         <bp-sym.h>.
51381         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
51382         (memchr): Do not use BP_SYM in weak_alias.
51383         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
51384         (fegetenv): Do not use BP_SYM in versioned symbols.
51385         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
51386         (fesetenv): Do not use BP_SYM in versioned symbols.
51387         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51388         (feupdateenv): Do not use BP_SYM in versioned symbols.
51389         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51390         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51391         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
51392         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
51393         (open64): Do not use BP_SYM in weak_alias.
51394         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
51395         (fegetenv): Do not use BP_SYM in versioned symbols.
51396         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
51397         (fesetenv): Do not use BP_SYM in versioned symbols.
51398         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51399         (feupdateenv): Do not use BP_SYM in versioned symbols.
51400         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
51401         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
51402         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
51403         (feraiseexcept): Do not use BP_SYM in versioned symbols.
51404         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51405         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51406         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
51407         <bp-sym.h>.
51408         (__libc_start_main): Do not use BP_SYM.
51410 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51412         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
51413         redundant return line.
51414         (norm): Likewise.
51415         (denorm): Likewise.
51416         (dbl_mp): Likewise.
51417         (sub_magnitudes): Likewise.
51418         (__add): Likewise.
51419         (__sub): Likewise.
51420         (__mul): Likewise.
51421         (__inv): Likewise.
51422         (__dvd): Likewise.
51423         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
51424         (norm): Likewise.
51425         (denorm): Likewise.
51426         (dbl_mp): Likewise.
51427         (sub_magnitudes): Likewise.
51428         (__add): Likewise.
51429         (__sub): Likewise.
51430         (__mul): Likewise.
51431         (__inv): Likewise.
51432         (__dvd): Likewise.
51434         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
51435         instead of __mul.
51436         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51437         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
51438         (cc32): Likewise.
51440         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
51441         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
51442         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
51443         of __mul for squares.
51444         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
51445         function
51446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
51447         Likewise.
51448         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
51449         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51451 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
51453         [BZ #13550]
51454         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
51455         code.
51456         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
51457         prototype or function definition.  Rename ubp_* variables and
51458         parameters.  Remove argv definitions conditional on
51459         [__BOUNDED_POINTERS__].
51460         * debug/backtrace.c (__backtrace): Do not use __unbounded.
51461         * elf/dl-runtime.c (_dl_fixup): Likewise.
51462         * include/set-hooks.h (RUN_HOOK): Likewise.
51463         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
51464         definition.
51465         * string/strcpy.c (strcpy): Do not use __unbounded.
51466         * sysdeps/generic/frame.h (struct layout): Likewise.
51467         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
51468         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
51469         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
51470         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
51471         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
51472         (__backtrace): Likewise.
51473         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
51474         use __ptrvalue.
51475         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
51476         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51477         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
51478         Likewise.
51479         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
51480         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
51481         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51482         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51483         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
51484         Do not use __unbounded.
51485         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
51486         Rename __unboundedrlimits parameter to rlimits in prototype.
51487         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
51488         Do not use __unbounded.
51489         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
51490         not use __ptrvalue.
51491         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51492         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
51493         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51494         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
51495         __ptrvalue or __unbounded.
51496         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
51497         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
51498         use __unbounded.
51499         (__new_msgctl): Do not use __ptrvalue.
51500         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
51501         __unbounded.
51502         (__libc_msgrcv): Do not use __ptrvalue.
51503         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
51504         startup_info): Do not use __unbounded.
51505         (__libc_start_main): Likewise.  Rename ubp_* variables and
51506         parameters.  Remove argv definitions conditional on
51507         [__BOUNDED_POINTERS__].
51508         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
51509         __ptrvalue.
51510         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
51511         use __unbounded.
51512         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
51513         or __ptrvalue.
51514         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
51515         use __unbounded.
51516         (__new_shmctl): Do not use __ptrvalue.
51517         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
51518         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
51519         Likewise.
51520         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
51521         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
51522         (__libc_sigaction): Likewise.
51523         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
51524         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
51525         Likewise.
51526         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51528 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
51530         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
51532         * string/mempcpy.c: Implement by calling memcpy.
51534 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51536         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
51538         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
51539         evaluation.
51541         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
51542         values in the mantissa.
51544         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
51545         minimize writes to Z.
51546         (sub_magnitudes): Simplify code a bit.
51548 2013-02-12  Roland McGrath  <roland@hack.frob.com>
51550         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
51551         from the message.  The linker prefixes all warnings with that already.
51553 2013-02-12  Andreas Schwab  <schwab@suse.de>
51555         [BZ #15078]
51556         * posix/regexec.c (extend_buffers): Add parameter min_len.
51557         (check_matching): Pass minimum needed length.
51558         (clean_state_log_if_needed): Likewise.
51559         (get_subexp): Likewise.
51560         * posix/Makefile (tests): Add bug-regex34.
51561         (bug-regex34-ENV): Define.
51562         * posix/bug-regex34.c: New file.
51564         [BZ #11561]
51565         * posix/regcomp.c (parse_bracket_exp): When looking up collating
51566         elements compare against the byte sequence of it, not its name.
51567         * posix/Makefile (tests): Add bug-regex35.
51568         (bug-regex35-ENV): Define.
51569         * posix/bug-regex35.c: New file.
51571 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51573         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
51574         comment.
51575         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
51576         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
51577         (CHECK_EOL): Add undef.
51579 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
51581         * bits/stdlib-bsearch.h: New file.
51582         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
51583         * stdlib/stdlib.h: Likewise.
51585 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51587         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
51588         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
51589         declaration.
51590         * manual/search.texi (Array Search Function): Add missing const in
51591         lfind prototype.
51592         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
51593         declaration to use rlim_t.
51594         (Basic Scheduling Functions): Remove erroneous const from
51595         sched_getparam prototype.  Remove erroneous * from
51596         sched_get_priority_max and sched_get_priority_min prototypes.
51597         (Resource Usage): Fix summary @comment on vtimes to refer to
51598         sys/vtimes.h rather than vtimes.h.
51599         Add missing *s in vtimes prototype.
51600         (Limits on Resources): Fix ulimit prototype to return long int.
51601         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
51602         prototypes to use long int rather than double.
51603         (BSD Random): Fix initstate and setstate to use char *, not void *.
51604         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
51605         prototype to make second argument 'struct aiocb64 *const[]'.
51606         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
51607         (Status of AIO Operations): Remove erroneous const in aio_return and
51608         aio_return64 prototypes.
51609         (Synchronizing I/O): Fix sync prototype to return void.
51610         * manual/startup.texi (Suboptions): Remove an erroneous const in
51611         getsubopt prototype.
51612         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
51613         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
51614         use size_t rather than int.
51615         (Scanning All Users): Likewise for getpwent_r.
51616         (Setting Groups): Add missing const to setgroups prototype.
51617         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
51618         * manual/socket.texi (Host Names): Fix gethostbyaddr and
51619         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
51620         'const void *' rather than 'const char *'.
51621         (Host Address Functions): Likewise for inet_ntop.
51622         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
51623         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
51624         ssize_t for return value.
51625         (Sending Data): Likewise for send, sendto, sendmsg.
51626         (Socket Option Functions): Add a missing const in setsockopt prototype.
51627         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
51628         use wchar_t for the argument.
51629         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
51630         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
51631         take no arguments.
51632         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
51633         double/float/long double for second argument.
51634         Fix return types of significand, significandf, significandl.
51635         * manual/filesys.texi (Setting Permissions): Use mode_t for second
51636         argument in fchmod prototype.
51637         (File Owner): Use uid_t and gid_t in fchown prototype.
51638         (File Times): Add const to utimes, futimes, and lutimes prototypes.
51639         (Making Special Files): Use mode_t and dev_t in mknod prototype.
51640         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
51641         use 'const struct dirent **' as argument types to CMP function pointer
51642         argument.
51643         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
51644         (File Times): Fix summary magic @comment for struct utimbuf and utime
51645         to refer to utime.h, not time.h.
51646         * manual/string.texi (Argz Functions): Add missing const in
51647         argz_extract and argz_next prototypes.
51648         (Finding Tokens in a String): Likewise for basename.
51649         (String/Array Comparison): Fix typo in wcscasecmp prototype.
51650         (Copying and Concatenation): Fix typo in wmemmove prototype.
51651         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
51652         (Signal Stack): Remove erroneous const in sigstack prototype.
51653         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
51654         prototype.
51655         (Simple Calendar Time): Likewise for stime.
51656         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
51657         prototype.
51658         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
51659         say sys/sysctl.h instead.
51660         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
51661         and vsyslog prototypes.
51663 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51665         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
51666         Remove.
51668 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51670         * misc/sys/mman.h: Fix typo in mremap comment.
51672 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51674         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
51675         the '\0' terminator.
51677 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51679         [BZ #13550]
51680         * debug/segfault.c: Don't include <bp-checks.h>.
51681         * sysdeps/generic/bp-checks.h: Remove file.
51682         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
51683         (__GETDENTS): Don't use CHECK_N.
51684         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
51685         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
51686         (__getgroups): Don't use CHECK_N.
51687         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
51688         (setgroups): Don't use CHECK_N.
51689         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
51690         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
51691         (__libc_msgrcv): Don't use CHECK_N.
51692         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
51693         (__libc_msgsnd): Don't use CHECK_N.
51694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
51695         <bp-checks.h>.
51696         (__libc_pread): Don't use CHECK_N.
51697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
51698         include <bp-checks.h>.
51699         (__libc_pread64): Don't use CHECK_N.
51700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
51701         include <bp-checks.h>.
51702         (__libc_pwrite): Don't use CHECK_N.
51703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
51704         include <bp-checks.h>.
51705         (__libc_pwrite64): Don't use CHECK_N.
51706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
51707         <bp-checks.h>.
51708         (__libc_pread): Don't use CHECK_N.
51709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
51710         include <bp-checks.h>.
51711         (__libc_pread64): Don't use CHECK_N.
51712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
51713         include <bp-checks.h>.
51714         (__libc_pwrite): Don't use CHECK_N.
51715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
51716         include <bp-checks.h>.
51717         (__libc_pwrite64): Don't use CHECK_N.
51718         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
51719         (do_pread): Don't use CHECK_N.
51720         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
51721         (do_pread64): Don't use CHECK_N.
51722         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
51723         (do_pwrite): Don't use CHECK_N.
51724         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
51725         (do_pwrite64): Don't use CHECK_N.
51726         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
51727         (__libc_readv): Don't use CHECK_N.
51728         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
51729         (semop): Don't use CHECK_N.
51730         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
51731         <bp-checks.h>.
51732         (semtimedop): Don't use CHECK_N.
51733         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
51734         (__libc_pread): Don't use CHECK_N.
51735         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
51736         <bp-checks.h>.
51737         (__libc_pread64): Don't use CHECK_N.
51738         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
51739         <bp-checks.h>.
51740         (__libc_pwrite): Don't use CHECK_N.
51741         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
51742         <bp-checks.h>.
51743         (__libc_pwrite64): Don't use CHECK_N.
51744         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
51745         <bp-checks.h>.
51746         (__libc_msgrcv): Don't use CHECK_N.
51747         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
51748         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
51749         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
51750         (__libc_writev): Don't use CHECK_N.
51752 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51754         * string/strcpy.c: Removed unused variable.
51756         * Makeconfig (+sysdep-includes): Define with := rather than =.
51757         Use an existing include/ subdir of each sysdeps dir before it.
51759 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51761         * nscd/connection.c (register_traced_file): Comment function.
51762         [HAVE_INOTIFY] (union __inev): Define.
51763         [HAVE_INOTIFY] (inotify_check_files): New function.
51764         [HAVE_INOTIFY] (clear_db_cache): Likewise.
51765         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
51766         clear_db_cache.
51767         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
51769 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51771         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
51772         loaded if not already and that a failure is permanent.
51774 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51776         [BZ #15006]
51777         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
51778         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
51780 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51782         [BZ #13550]
51783         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
51784         (CHECK_1_NULL_OK): Likewise.
51785         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
51786         (__fxstat): Do not use CHECK_1.
51787         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
51788         <bp-checks.h>.
51789         (___fxstat64): Do not use CHECK_1.
51790         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
51791         <bp-checks.h>.
51792         (__fxstatat): Do not use CHECK_1.
51793         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
51794         <bp-checks.h>.
51795         (__fxstatat64): Do not use CHECK_1.
51796         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
51797         <bp-checks.h>.
51798         (__fxstat): Do not use CHECK_1.
51799         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
51800         <bp-checks.h>.
51801         (__fxstatat): Do not use CHECK_1.
51802         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
51803         <bp-checks.h>.
51804         (__getresgid): Do not use CHECK_1.
51805         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
51806         <bp-checks.h>.
51807         (__getresuid): Do not use CHECK_1.
51808         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
51809         <bp-checks.h>.
51810         (__lxstat): Do not use CHECK_1.
51811         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
51812         <bp-checks.h>.
51813         (__old_msgctl): Do not use CHECK_1.
51814         (__new_msgctl): Likewise.
51815         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
51816         <bp-checks.h>.
51817         (__new_setrlimit): Do not use CHECK_1.
51818         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
51819         <bp-checks.h>.
51820         (__old_shmctl): Do not use CHECK_1.
51821         (__new_shmctl): Likewise.
51822         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
51823         <bp-checks.h>.
51824         (__xstat): Do not use CHECK_1.
51825         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
51826         (__lxstat): Do not use CHECK_1.
51827         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
51828         <bp-checks.h>.
51829         (___lxstat64): Do not use CHECK_1.
51830         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
51831         (__old_msgctl): Do not use CHECK_1.
51832         (__new_msgctl): Likewise.
51833         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
51834         <bp-checks.h>.
51835         (__gettimeofday): Do not use CHECK_1.
51836         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
51837         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
51838         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
51839         <bp-checks.h>.
51840         (__gettimeofday): Do not use CHECK_1.
51841         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
51842         (__old_shmctl): Do not use CHECK_1_NULL_OK.
51843         (__new_shmctl): Do not use CHECK_1.
51844         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
51845         <bp-checks.h>.
51846         (do_sigtimedwait): Do not use CHECK_1.
51847         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
51848         <bp-checks.h>.
51849         (do_sigwaitinfo): Do not use CHECK_1.
51850         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
51851         <bp-checks.h>.
51852         (msgctl): Do not use CHECK_1.
51853         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
51854         <bp-checks.h>.
51855         (shmctl): Do not use CHECK_1.
51856         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
51857         (ustat): Do not use CHECK_1.
51858         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
51859         <bp-checks.h>.
51860         (__fxstat): Do not use CHECK_1.
51861         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
51862         <bp-checks.h>.
51863         (__fxstatat): Do not use CHECK_1.
51864         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
51865         <bp-checks.h>.
51866         (__lxstat): Do not use CHECK_1.
51867         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
51868         <bp-checks.h>.
51869         (__xstat): Do not use CHECK_1.
51870         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
51871         (__xstat): Do not use CHECK_1.
51872         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
51873         (___xstat64): Do not use CHECK_1.
51875         [BZ #13550]
51876         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
51877         definitions.
51878         (CHECK_BOUNDS_HIGH): Likewise.
51879         * string/strcpy.c: Do not include <bp-checks.h>.
51880         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
51882 2013-02-07  Roland McGrath  <roland@hack.frob.com>
51884         * nscd/nscd-client.h (__nscd_drop_map_ref):
51885         Add __attribute__ ((unused)).
51886         * nis/nss-nisplus.h (niserr2nss): Likewise.
51888         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
51889         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
51891         * csu/libc-tls.c (init_static_tls, init_slotinfo):
51892         Remove inline keyword.
51893         * include/rounding-mode.h (round_away): Likewise.
51894         * libio/wfileops.c (adjust_wide_data): Likewise.
51895         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
51896         (__m128i_strloadu_tolower): Likewise.
51897         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
51898         (__m128i_strloadu_tolower): Likewise.
51899         * time/mktime.c (ydhms_diff): Likewise.
51900         * locale/elem-hash.h (elem_hash): Likewise.
51901         * locale/setlocale.c (setdata): Likewise.
51902         * posix/regex_internal.h (re_string_char_size_at): Likewise.
51903         (re_string_wchar_at): Likewise.
51904         (bitset_not, bitset_merge, bitset_mask): Likewise.
51905         [!(__GNUC__ > 3)] (inline): Remove macro.
51906         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
51907         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
51908         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
51909         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
51910         * string/memcmp.c (memcmp_bytes): Likewise.
51911         * locale/programs/locarchive.c (compute_hashval): Likewise.
51912         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
51913         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
51914         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
51915         * nss/getent.c (print_rpc, print_protocols): Likewise.
51916         (print_passwd, print_group, print_aliases): Likewise.
51917         * nis/nss-nisplus.h (niserr2nss): Likewise.
51918         * nscd/connections.c (restart_p): Likewise.
51919         Change return type to bool.
51921 2013-02-05  Roland McGrath  <roland@hack.frob.com>
51923         * Makeconfig (all-Depend-files): Add existing
51924         $(sorted-subdirs:=/Depend) files.
51925         (all-subdirs): Remove nss.
51926         * sysdeps/unix/inet/Subdirs: Add it here instead.
51927         * hesiod/Depend: New file.
51929         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
51930         instead of calling alloca.
51932         * io/lseek.c (__lseek): Rename to __libc_lseek.
51933         Define __lseek as an alias.
51935         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
51937 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
51939         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
51940         else clause and remove check for non-standard endianness.
51942 2013-02-04  David S. Miller  <davem@davemloft.net>
51944         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51946 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
51948         [BZ #13550]
51949         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
51950         (__ubp_memchr): Remove prototype.
51951         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
51952         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51953         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
51954         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51955         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
51956         Remove alias.
51957         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
51958         (__ubp_memchr): Likewise.
51959         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
51960         (__ubp_memchr): Likewise.
51961         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
51962         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
51963         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
51964         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
51965         CHECK_STRING.
51966         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51967         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
51968         (__getcwd): Do not use CHECK_STRING.
51969         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
51970         <bp-checks.h>.
51971         (__real_chown): Do not use CHECK_STRING.
51972         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
51973         <bp-checks.h>.
51974         (fchownat): Do not use CHECK_STRING.
51975         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
51976         CHECK_STRING.
51977         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
51978         <bp-checks.h>.
51979         (__lchown): Do not use CHECK_STRING.
51980         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51981         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51982         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51983         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
51984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
51985         include <bp-checks.h>.
51986         (truncate64): Do not use CHECK_STRING.
51987         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
51988         <bp-checks.h>.
51989         (__real_chown): Do not use CHECK_STRING.
51990         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
51991         <bp-checks.h>.
51992         (__lchown): Do not use CHECK_STRING.
51993         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
51994         <bp-checks.h>.
51995         (__chown): Do not use CHECK_STRING.
51996         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
51997         <bp-checks.h>.
51998         (truncate64): Do not use CHECK_STRING.
51999         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
52000         Likewise.
52001         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
52002         (__xmknod): Do not use CHECK_STRING.
52003         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
52004         <bp-checks.h>.
52005         (__xmknodat): Do not use CHECK_STRING.
52006         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52007         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
52009 2013-02-04  Andreas Schwab  <schwab@suse.de>
52011         [BZ #14142]
52012         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
52013         * include/netdb.h: Likewise for h_errno.
52014         * elf/tst-stackguard1.c: Include <tls.h>.
52016 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
52018         * elf/link.h (struct link_map): Extend the l_addr comment.
52019         * include/link.h (struct link_map): Likewise.
52021 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
52023         [BZ #13550]
52024         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
52025         (BOUNDED_1): Remove macro.
52026         * debug/backtrace.c: Don't include <bp-checks.h>.
52027         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
52028         (__backtrace): Likewise.
52029         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
52030         <bp-checks.h>.
52031         (__backtrace): Don't use BOUNDED_1.
52032         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
52033         <bp-checks.h>.
52034         (__backtrace): Don't use BOUNDED_1.
52035         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
52036         (__backtrace): Don't use BOUNDED_1.
52037         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
52038         (shmat): Don't use BOUNDED_N.
52040 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
52042         [BZ #13550]
52043         * sysdeps/generic/bp-start.h: Remove file.
52044         * csu/libc-start.c: Don't include <bp-start.h>.
52045         (LIBC_START_MAIN): Set up __environ directly instead of using
52046         INIT_ARGV_and_ENVIRON.
52047         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
52048         <bp-start.h>.
52050         [BZ #13550]
52051         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
52052         definitions.
52053         (CHECK_FCNTL): Likewise.
52054         (CHECK_N_PAGES): Likewise.
52056         [BZ #13550]
52057         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
52058         definitions.
52059         (CHECK_SIGSET_NULL_OK): Likewise.
52060         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
52061         <bp-checks.h>.
52062         (sigpending): Don't use CHECK_SIGSET.
52063         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
52064         <bp-checks.h>.
52065         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52066         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
52067         <bp-checks.h>.
52068         (do_sigsuspend): Don't use CHECK_SIGSET.
52069         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
52070         use CHECK_SIGSET.
52071         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
52072         (do_sigwait): Don't use CHECK_SIGSET.
52073         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
52074         use CHECK_SIGSET.
52075         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
52076         include <bp-checks.h>.
52077         (sigpending): Don't use CHECK_SIGSET.
52078         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
52079         include <bp-checks.h>.
52080         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52081         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
52082         <bp-checks.h>.
52083         (sigpending): Don't use CHECK_SIGSET.
52084         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
52085         <bp-checks.h>.
52086         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52088         [BZ #13550]
52089         * sysdeps/generic/bp-semctl.h: Remove file.
52090         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
52091         <bp-checks.h> and <bp-semctl.h>.
52092         (__old_semctl): Don't use CHECK_SEMCTL.
52093         (__new_semctl): Likewise.
52094         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
52095         and <bp-semctl.h>.
52096         (__old_semctl): Don't use CHECK_SEMCTL.
52097         (__new_semctl): Likewise.
52098         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
52099         <bp-checks.h> and <bp-semctl.h>.
52100         (__old_semctl): Don't use CHECK_SEMCTL.
52101         (__new_semctl): Likewise.
52102         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
52103         <bp-checks.h> and <bp-semctl.h>.
52104         (semctl): Don't use CHECK_SEMCTL.
52106         [BZ #13550]
52107         * Makerules (elide-bp-thunks): Remove variable.
52108         (elide-routines.oS): Don't use $(elide-bp-thunks).
52109         (elide-routines.os): Likewise.
52110         (elide-routines.o): Likewise.
52111         (elide-routines.op): Likewise.
52112         (elide-routines.og): Likewise.
52113         (objects): Don't use $(bp-thunks).
52114         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
52115         include.
52116         (common-generated): Do not add s-proto-bp.d.
52117         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
52118         (int): Likewise.
52119         (typ): Likewise.
52120         Do not generate makefile rules for bounded-pointer thunks.
52121         * sysdeps/generic/bp-thunks.h: Remove file.
52122         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
52123         * sysdeps/unix/s-proto-bp.S: Likewise.
52125         [BZ #15062]
52126         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
52127         parts of result separately when argument is not close to line from
52128         -i to i and one part of argument is small.
52129         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52130         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52131         * math/libm-test.inc (cacos_test): Add more tests.
52132         (casin_test): Likewise.
52133         (casinh_test): Likewise.
52134         * sysdeps/i386/fpu/libm-test-ulps: Update.
52135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52137 2013-01-31  David S. Miller  <davem@davemloft.net>
52139         * po/de.po: Update from translation team.
52141 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
52143         * time/tzfile.c: Include stdint.h for SIZE_MAX.
52145 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
52147         * configure.in (_AC_PROG_CC_C89): New definition.
52148         * configure: Regenerate.
52150         * configure.in (AC_PROG_CPP): New definition.
52151         * configure: Regenerate.
52153 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52155         * debug/tst-backtrace.h: New file.
52156         * debug/tst-backtrace2.c: Include tst-backtrace.h.
52157         (ret): Remove variable.
52158         (x): Likewise.
52159         (FAIL): Remove macro.
52160         (NO_INLINE): Likewise.
52161         (fn1): Use match function instead of strstr.
52162         * debug/tst-backtrace3.c: Include tst-backtrace.h.
52163         (ret): Remove variable.
52164         (x): Likewise.
52165         (FAIL): Remove macro.
52166         (NO_INLINE): Likewise.
52167         (fn): Use match function instead of strstr.
52168         * debug/tst-backtrace4.c: Include tst-backtrace.h.
52169         (ret): Remove variable.
52170         (x): Likewise.
52171         (FAIL): Remove macro.
52172         (NO_INLINE): Likewise.
52173         (handle_signal): Use match function instead of strstr.
52174         * debug/tst-backtrace5.c: Include tst-backtrace.h.
52175         (ret): Remove variable.
52176         (x): Likewise.
52177         (FAIL): Remove macro.
52178         (NO_INLINE): Likewise.
52179         (handle_signal): Use match function instead of strstr.
52181 2013-01-23  Roland McGrath  <roland@hack.frob.com>
52183         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
52185 2013-01-23  David S. Miller  <davem@davemloft.net>
52187         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
52188         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
52189         argument of CAS if possible.
52190         * sysdeps/sparc/sparc64/bits/atomic.h
52191         (__arch_compare_and_exchange_val_32_acq): Likewise.
52192         (__arch_compare_and_exchange_val_64_acq): Likewise.
52194 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
52196         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
52197         * sysdeps/posix/ulimit.c: ... this.
52198         Include <limits.h>.
52199         * sysdeps/unix/bsd/ulimit.c: Remove file.
52201 2013-01-23  Adam Conrad  <adconrad@0c3.net>
52203         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
52204         (LDFLAGS-tst-array5): Likewise.
52206 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52208         [BZ #15036]
52209         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
52210         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
52211         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
52212         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
52214 2013-01-21  David S. Miller  <davem@davemloft.net>
52216         * sysdeps/sparc/backtrace.c: New file.
52217         * sysdeps/sparc/sparc32/backtrace.h: New file.
52218         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
52219         * sysdeps/sparc/sparc64/backtrace.h: New file.
52220         * sysdeps/sparc/sparc64/backtrace.c: Delete.
52221         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
52222         -funwind-tables.
52224 2013-01-21  Andreas Schwab  <schwab@suse.de>
52226         [BZ #15020]
52227         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
52228         closed its stdout.
52230 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
52232         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
52233         "mpa2.h".
52234         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52236 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
52237             Mark Mitchell  <mark@codesourcery.com>
52238             Tom de Vries  <tom@codesourcery.com>
52239             Paul Pluzhnikov  <ppluzhnikov@google.com>
52241         * debug/tst-backtrace2.c: New file.
52242         * debug/tst-backtrace3.c: Likewise.
52243         * debug/tst-backtrace4.c: Likewise.
52244         * debug/tst-backtrace5.c: Likewise.
52245         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
52246         (CFLAGS-tst-backtrace3.c): Likewise.
52247         (CFLAGS-tst-backtrace4.c): Likewise.
52248         (CFLAGS-tst-backtrace5.c): Likewise.
52249         (LDFLAGS-tst-backtrace2): Likewise.
52250         (LDFLAGS-tst-backtrace3): Likewise.
52251         (LDFLAGS-tst-backtrace4): Likewise.
52252         (LDFLAGS-tst-backtrace5): Likewise.
52253         (tests): Add new tests tst-backtrace2, tst-backtrace3,
52254         tst-backtrace4 and tst-backtrace5.
52256 2013-01-18  Anton Blanchard  <anton@samba.org>
52257             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52259         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
52260         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
52261         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
52262         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
52263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52264         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
52265         "+r" and remove output regs list as redundant.  Add explicit inline
52266         asm to specify register of return val to work around compiler codegen
52267         bug.  Remove (int) cast on return value.  Add return type parameter to
52268         use in macro so that this macro does not truncate return value for
52269         64-bit values.
52270         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
52271         pass to INTERNAL_VSYSCALL_NCS.
52272         (INLINE_VSYSCALL): Add 'long int' as return type to
52273         INTERNAL_VSYSCALL_NCS macro invocation.
52274         (INTERNAL_VSYSCALL): Add 'long int' as return type to
52275         INTERNAL_VSYSCALL_NCS macro invocation.
52276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52278 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52280         [BZ #14496]
52281         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
52282         Fix application of SIMD FP exception mask.
52284         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
52285         mp_no from a power of two.
52286         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
52287         __mpexp_twomm1.  Use __pow_mp.
52289         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
52290         multiplication.
52292 2013-01-17  David S. Miller  <davem@davemloft.net>
52294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52296 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52298         [BZ #15023]
52299         * include/complex.h: Condition contents on [!_COMPLEX_H].
52300         (__kernel_casinhf): New prototype.
52301         (__kernel_casinh): Likewise.
52302         (__kernel_casinhl): Likewise.
52303         * math/Makefile (libm_calls): Add k_casinh.
52304         * math/k_casinh.c: New file.
52305         * math/k_casinhf.c: Likewise.
52306         * math/k_casinhl.c: Likewise.
52307         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
52308         finite nonzero arguments.
52309         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
52310         finite nonzero arguments.
52311         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
52312         finite nonzero arguments.
52313         * math/s_casinh.c: Do not include <float.h>.
52314         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
52315         * math/s_casinhf.c: Do not include <float.h>.
52316         (__casinhf): Move code for finite nonzero arguments to
52317         k_casinhf.c.
52318         * math/s_casinhl.c: Do not include <float.h>.
52319         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
52320         redefine.
52321         (__casinhl): Move code for finite nonzero arguments to
52322         k_casinhl.c.
52323         * math/libm-test.inc (cacos_test): Add more tests.
52324         * sysdeps/i386/fpu/libm-test-ulps: Update.
52325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52327 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
52329         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
52330         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
52331         [!HAVE_MREMAP]: Remove [defined linux] case.
52332         * malloc/arena.c: Do not include <malloc-sysdep.h>.
52334 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52336         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
52338 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
52340         * elf/elf.h (R_386_SIZE32): New relocation.
52341         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
52342         R_386_SIZE32.
52343         (elf_machine_rela): Likewise.
52344         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52345         R_X86_64_SIZE64 and R_X86_64_SIZE32.
52347 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52349         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
52350         (FP_FAST_FMA): Do not define.
52351         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
52352         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
52353         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
52354         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
52355         !_SOFT_FLOAT]: Likewise.
52356         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
52357         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
52358         value.
52359         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
52360         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
52361         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
52362         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
52363         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
52364         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
52365         file.
52367 2013-01-16  Andreas Schwab  <schwab@suse.de>
52369         [BZ #14327]
52370         * include/stdlib.h (__mktemp): Add declaration.
52371         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
52372         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
52374 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52376         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
52377         definitions.
52378         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52379         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
52380         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
52381         definitions here.
52382         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
52383         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
52384         definitions.
52385         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
52386         and ONE.
52387         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
52388         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
52389         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
52390         definitions.
52391         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
52392         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
52393         definitions.
52394         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52396         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
52398 2013-01-15  David S. Miller  <davem@davemloft.net>
52400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52401         trunc{,f} to libm-sysdep_routes.
52402         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
52404         file.
52405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
52406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
52407         file.
52408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
52409         file.
52410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
52411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
52412         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
52413         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
52414         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
52415         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
52416         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
52417         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
52419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52420         nearbyint{,f} to libm-sysdep_routes.
52421         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
52423         New file.
52424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
52425         file.
52426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
52427         New file.
52428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
52429         file.
52430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
52431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
52432         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
52433         file.
52434         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
52435         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
52436         file.
52437         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
52438         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
52439         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
52441         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
52442         libc_feholdexcept and libc_fesetenv.
52444 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
52446         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
52448 2013-01-14  David S. Miller  <davem@davemloft.net>
52450         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
52451         (SPARC_ASM_VIS2_IFUNC): Likewise.
52452         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
52453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
52454         use of 'siam' instruction.
52455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
52456         Likewise.
52457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
52458         Likewise.
52459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
52460         Likewise.
52461         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
52462         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
52463         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
52464         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
52465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
52466         file.
52467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
52468         file.
52469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
52470         file.
52471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
52472         file.
52473         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
52474         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
52475         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
52476         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
52477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
52478         new VIS2 routines.
52479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52482         Likewise.
52483         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52484         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52485         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52486         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
52488         routines to libm-sysdep_routines.
52489         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52492         fdim/fdimf to libm-sysdep_routines.
52493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
52494         file.
52495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
52496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
52497         file.
52498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
52499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
52500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
52501         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
52502         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
52503         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
52504         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
52506 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52508         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
52509         to optimize copies.
52511         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
52512         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52513         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52515         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
52516         local variable MPTWO.
52517         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52518         Likewise.
52520 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52522         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
52523         GLOB_NOESCAPE.
52525 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52527         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
52529 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52531         * manual/pattern.texi (glob_t): Document gl_flags.
52532         (glob64_t): Likewise.
52534 2013-01-11  David S. Miller  <davem@davemloft.net>
52536         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
52537         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
52538         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
52539         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
52540         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
52541         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
52542         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
52543         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
52544         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
52545         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
52546         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
52547         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
52548         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
52550         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52551         sparc V9 rather than using V8 code.
52552         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52553         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52555         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52556         Move to...
52557         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
52558         Here.
52560 2013-01-11  Roland McGrath  <roland@hack.frob.com>
52562         [BZ #14941]
52563         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
52564         not in the main loop.
52565         * configure: Regenerated.
52567 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
52569         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
52570         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
52571         to just #else.
52572         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
52573         [!__GLIBC_HAVE_LONG_LONG] case.
52574         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
52575         condition to just #else.
52576         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
52577         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
52578         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
52579         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
52580         unconditional.
52581         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
52582         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52583         #elif condition to just #else.
52584         * sysdeps/unix/sysv/linux/sys/sysmacros.h
52585         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
52586         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52587         #elif condition to just #else.
52589 2013-01-11  Steve Ellcey  <sellcey@mips.com>
52591         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
52592         (EF_MIPS_ARCH_64): Fix value.
52593         (EF_MIPS_ARCH_32R2): New.
52594         (EF_MIPS_ARCH_64R2): New.
52596 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
52598         * Makeconfig (+link-pie-before-libc): New.
52599         (+link-pie-after-libc): Likewise.
52600         (+link-pie-tests): Likewise.
52601         (+link-pie): Rewritten.
52602         (link-before-libc): Remove $(config-LDFLAGS).
52603         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
52604         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
52605         (config-LDFLAGS): Renamed to ...
52606         (rtld-LDFLAGS): This.
52607         (rtld-tests-LDFLAGS): New macro.
52608         (link-libc-rpath-link): Likewise.
52609         (link-libc-tests-rpath-link): Likewise.
52610         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
52611         (link-libc): Prepand $(link-libc-rpath-link).
52612         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
52613         (test-program-prefix): New macro.
52614         (test-via-rtld-prefix): Likewise.
52615         (test-program-cmd): Likewise.
52616         (host-test-program-cmd): Likewise.
52617         * Makefile ($(common-objpfx)testrun.sh): Replace
52618         $(run-program-prefix) with $(test-program-prefix).
52619         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
52620         $(rtld-LDFLAGS).
52621         ($(common-objpfx)shlib.lds): Likewise.
52622         (build-module-helper): Likewise.
52623         ($(common-objpfx)format.lds): Likewise.
52624         * Rules (binaries-pie-tests): New.
52625         (binaries-pie-notests): Likewise.
52626         (binaries-pie): Rewritten.
52627         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
52628         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
52629         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
52630         (make-test-out): Replace $(host-built-program-cmd) with
52631         $(host-test-program-cmd).
52632         * config.make.in (build-hardcoded-path-in-tests): New variable.
52633         * configure.in (--enable-hardcoded-path-in-tests): New configure
52634         option.
52635         (hardcoded_path_in_tests): New AC_SUBST.
52636         * configure: Regenerated.
52637         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
52638         $(built-program-cmd) with $(test-program-cmd).
52639         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
52640         (test_program_cmd): This.
52641         * elf/Makefile ($(objpfx)order.out): Run test with
52642         $(test-program-prefix).
52643         ($(objpfx)order2.out): Likewise.
52644         ($(objpfx)tst-initorder.out): Likewise.
52645         ($(objpfx)tst-initorder2.out): Likewise.
52646         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
52647         $(test-program-cmd).
52648         ($(objpfx)tst-array1-static.out): Likewise.
52649         ($(objpfx)tst-array2.out): Likewise.
52650         ($(objpfx)tst-array3.out): Likewise.
52651         ($(objpfx)tst-array4.out): Likewise.
52652         ($(objpfx)tst-array5.out): Likewise.
52653         ($(objpfx)tst-array5-static.out): Likewise.
52654         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
52655         $(test-program-cmd).
52656         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
52657         $(run-program-prefix) with $(test-program-prefix).
52658         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
52659         (test_program_prefix): This.
52660         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
52661         $(run-program-prefix) with $(test-program-prefix).
52662         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
52663         (test_program_prefix): This.
52664         * iconvdata/tst-tables.sh: Likewise.
52665         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
52666         $(run-program-prefix) with $(test-program-prefix).
52667         ($(objpfx)tst-translit.out): Likewise.
52668         ($(objpfx)tst-gettext2.out): Likewise.
52669         ($(objpfx)tst-gettext4.out): Likewise.
52670         ($(objpfx)tst-gettext6.out): Likewise.
52671         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
52672         (test_program_prefix): This.
52673         * intl/tst-gettext2.sh: Likewise.
52674         * intl/tst-gettext4.sh  Likewise.
52675         * intl/tst-gettext6.sh: Likewise.
52676         * intl/tst-translit.sh: Likewise.
52677         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
52678         with $(test-program-cmd).
52679         * libio/Makefile ($(objpfx)test-freopen.out): Replace
52680         $(run-program-prefix) with $(test-program-prefix).
52681         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
52682         (test_program_prefix): This.
52683         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
52684         $(run-program-prefix) with $(test-program-prefix).
52685         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
52686         (test_program_prefix): This.
52687         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
52688         * posix/Makefile ($(objpfx)globtest.out): Replace
52689         $(run-via-rtld-prefix) and $(test-wrapper) with
52690         $(test-program-prefix) and $(test-via-rtld-prefix).
52691         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
52692         $(test-program-prefix).
52693         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
52694         $(host-test-program-cmd).
52695         (tst-spawn-ARGS): Likewise.
52696         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
52697         $(test-program-prefix).
52698         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
52699         (test_via_rtld_prefix): This.
52700         (test_wrapper): Renamed to ...
52701         (test_program_prefix): This.
52702         (run_program_prefix): Replaced by test_program_prefix.
52703         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
52704         (test_program_prefix): This.
52705         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
52706         with $(host-test-program-cmd).
52707         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
52708         $(run-program-prefix) with $(test-program-prefix).
52709         ($(objpfx)tst-printf.out): Likewise.
52710         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
52711         $(test-program-cmd).
52712         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
52713         (test_program_prefix): This.
52714         * stdio-common/tst-unbputc.sh: Likewise.
52715         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
52716         $(run-program-prefix) with $(test-program-prefix).
52717         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
52718         (test_program_prefix): This.
52719         * string/Makefile ($(objpfx)tst-svc.out):  Replace
52720         $(built-program-cmd) with $(test-program-cmd).
52722 2013-01-11  Andreas Jaeger  <aj@suse.de>
52724         [BZ #15003]
52725         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
52726         value. Sync with Linux 3.7.
52728 2013-01-10  David S. Miller  <davem@davemloft.net>
52730         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
52731         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52732         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52734 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52736         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
52737         never set.
52738         * configure: Regenerated.
52740 2013-01-10  David S. Miller  <davem@davemloft.net>
52742         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52743         sparc V9 rather than using V8 code.
52744         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52745         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52747 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52749         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
52750         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
52751         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
52752         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
52753         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
52754         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
52755         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
52756         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
52757         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
52758         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
52759         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
52760         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
52761         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
52762         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
52763         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
52764         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
52765         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
52766         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
52767         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
52768         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
52769         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
52770         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
52771         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
52772         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
52773         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
52774         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
52775         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
52777 2013-01-10  David S. Miller  <davem@davemloft.net>
52779         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52781 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52783         * posix/Makefile (tests-static): New variable.
52784         (tests): Add $(tests-static).
52785         (tst-exec-static-ARGS): New variable.
52786         (tst-spawn-static-ARGS): Likewise.
52787         * posix/tst-exec-static.c: New file.
52788         * posix/tst-spawn-static.c: Likewise.
52789         * posix/tst-exec.c: Support run directly.
52790         * posix/tst-spawn.c: Likewise.
52792 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
52794         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
52795         long.
52796         * math/bits/mathcalls.h (llrint): Likewise.
52797         (llround): Likewise.
52798         * stdlib/stdlib.h (struct drand48_data): Likewise.
52799         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
52800         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
52801         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
52802         Likewise.
52803         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
52804         Likewise.
52805         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
52806         (elf_greg_t): Likewise.
52807         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
52808         (__jmp_buf): Likewise.
52809         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
52810         definitions.
52811         (llrint): Likewise, for all definitions.
52812         (llrintl): Likewise.
52814         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
52815         Remove [__GNUC__] condition.
52816         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
52817         condition to just [__USE_ISOC99].
52818         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
52820 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52822         [BZ #14200]
52823         * sysdeps/unix/sysv/linux/x86/bits/environments.h
52824         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
52825         defined.
52826         (_POSIX_V6_ILP32_OFF32): Likewise.
52827         (_XBS5_ILP32_OFF32): Likewise.
52828         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
52829         (__ILP32_OFFBIG_LDFLAGS): Likewise.
52831 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52833         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
52835         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
52836         doubles __mpexp_twomm1.  Adjust usage.
52837         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
52838         Remove.
52840 2013-01-10  Andreas Schwab  <schwab@suse.de>
52842         [BZ #14964]
52843         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
52844         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
52846 2013-01-09  David S. Miller  <davem@davemloft.net>
52848         [BZ #15003]
52849         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
52850         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
52851         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
52852         (TCP_FASTOPEN): Define.
52853         (tcp_repair_opt): New structure.
52854         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
52855         enum values.
52856         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
52857         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
52858         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
52859         (tcp_cookie_transactions): New structure.
52861 2013-01-09  Anton Blanchard  <anton@samba.org>
52863         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
52864         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
52865         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
52866         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
52868 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
52870         * include/features.h (__USE_ANSI): Remove.
52872 2013-01-09  Roland McGrath  <roland@hack.frob.com>
52874         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
52876         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
52878 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
52880         * sysdeps/s390/fpu/libm-test-ulps: Update.
52882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52884         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
52885         (__acr): Likewise.
52886         (__cpy): Likewise.
52887         (norm): Likewise.
52888         (denorm): Likewise.
52889         (__mp_dbl): Likewise.
52890         (__dbl_mp): Likewise.
52891         (add_magnitudes): Likewise.
52892         (sub_magnitudes): Likewise.
52893         (__add): Likewise.
52894         (__sub): Likewise.
52895         (__mul): Likewise.
52896         (__inv): Likewise.
52897         (__dvd): Likewise.
52898         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
52899         (__acr): Likewise.
52900         (__cpy): Likewise.
52901         (norm): Likewise.
52902         (denorm): Likewise.
52903         (__mp_dbl): Likewise.
52904         (__dbl_mp): Likewise.
52905         (add_magnitudes): Likewise.
52906         (sub_magnitudes): Likewise.
52907         (__add): Likewise.
52908         (__sub): Likewise.
52909         (__mul): Likewise.
52910         (__inv): Likewise.
52911         (__dvd): Likewise.
52912         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
52913         (__acr): Likewise.
52914         (__cpy): Likewise.
52915         (norm): Likewise.
52916         (denorm): Likewise.
52917         (__mp_dbl): Likewise.
52918         (__dbl_mp): Likewise.
52919         (add_magnitudes): Likewise.
52920         (sub_magnitudes): Likewise.
52921         (__add): Likewise.
52922         (__sub): Likewise.
52923         (__mul): Likewise.
52924         (__inv): Likewise.
52925         (__dvd): Likewise.
52927 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
52929         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
52930         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
52931         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
52932         2 && __USE_EXTERN_INLINES]: Likewise.
52934 2013-01-08  Andreas Jaeger  <aj@suse.de>
52936         [BZ# 14985]
52937         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
52938         Remove.
52939         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52940         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52942 2013-01-07  Anton Blanchard  <anton@samba.org>
52944         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
52945         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52946         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
52947         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52948         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
52949         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52950         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
52951         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52952         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52953         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52954         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52955         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52956         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52957         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52958         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52959         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52960         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52961         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52962         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52963         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
52964         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52965         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
52966         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52967         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52968         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
52969         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52970         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52971         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52972         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
52973         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52974         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52975         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52976         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52977         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52978         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52979         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52980         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52981         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52982         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
52983         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52984         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
52985         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52986         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52988 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
52990         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
52991         (__MALLOC_PMT): Likewise.
52992         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
52993         [__GNUC__], only on [_LIBC].
52994         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52995         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
52996         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52997         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
52998         forward declaration.
52999         (realloc_hook_ini): Likewise.
53000         (memalign_hook_ini): Likewise.
53001         (__libc_memalign): Do not use __MALLOC_PMT in variable
53002         declaration.
53003         (__libc_valloc): Likewise.
53004         (__libc_pvalloc): Likewise.
53005         (__libc_calloc): Likewise.
53006         (__posix_memalign): Likewise.
53008         [BZ #14996]
53009         * math/s_casinh.c: Include <float.h>.
53010         (__casinh): Do not do computation with squaring and square root
53011         for large arguments.
53012         * math/s_casinhf.c: Include <float.h>.
53013         (__casinhf): Do not do computation with squaring and square root
53014         for large arguments.
53015         * math/s_casinhl.c: Include <float.h>.
53016         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
53017         (__casinhl): Do not do computation with squaring and square root
53018         for large arguments.
53019         * math/libm-test.inc (casin_test): Add more tests.
53020         (casinh_test): Likewise.
53021         * sysdeps/i386/fpu/libm-test-ulps: Update.
53022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53024 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
53026         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
53027         (__x86_64_raw_data_cache_size): Likewise.
53028         (__x86_64_data_cache_size_half): Likewise.
53029         (__x86_64_raw_data_cache_size_half): Likewise.
53030         (__x86_64_shared_cache_size): Likewise.
53031         (__x86_64_raw_shared_cache_size): Likewise.
53032         (__x86_64_shared_cache_size_half): Likewise.
53033         (__x86_64_raw_shared_cache_size_half): Likewise.
53034         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
53035         to ...
53036         (__x86_data_cache_size): This.
53037         (__x86_64_raw_data_cache_size): Renamed to ...
53038         (__x86_raw_data_cache_size): This.
53039         (__x86_64_data_cache_size_half): Renamed to ...
53040         (__x86_data_cache_size_half): This.
53041         (__x86_64_raw_data_cache_size_half): Renamed to ...
53042         (__x86_raw_data_cache_size_half): This.
53043         (__x86_64_shared_cache_size): Renamed to ...
53044         (__x86_shared_cache_size): This.
53045         (__x86_64_raw_shared_cache_size): Renamed to ...
53046         (__x86_raw_shared_cache_size): This.
53047         (__x86_64_shared_cache_size_half): Renamed to ...
53048         (__x86_shared_cache_size_half): This.
53049         (__x86_64_raw_shared_cache_size_half): Renamed to ...
53050         (__x86_raw_shared_cache_size_half): This.
53051         * sysdeps/x86_64/memcpy.S: Updated.
53052         * sysdeps/x86_64/memset.S: Likewise.
53053         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53054         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53055         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53057 2013-01-04  David S. Miller  <davem@davemloft.net>
53059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53061 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
53063         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
53064         1 to avoid redefinition warning.
53065         (__USE_GNU): Don't define.
53066         (init_signaling_nan): Protoize.
53068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53070 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53072         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
53073         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
53074         (__cpymn): Likewise.
53075         (norm): Remove commented code.
53076         (denorm): Likewise.
53077         (__mp_dbl): Likewise.
53078         (__inv): Likewise.
53079         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
53080         (__cpymn): Likewise.
53081         (norm): Remove commented code.
53082         (denorm): Likewise.
53083         (__mp_dbl): Likewise.
53084         (__inv): Likewise.
53086         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
53087         mp_no value for 1.0 and 2.0.
53088         (norm): Use RADIXI instead of radixi.d.
53089         (denorm): Likewise.
53090         (__mul): Use 0.0 instead of zero.d.
53091         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
53092         mp_no value for 1.0 and 2.0.
53093         (norm): Use RADIXI instead of radixi.d.
53094         (denorm): Likewise.
53095         (__mul): Use 0.0 instead of zero.d.
53097 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
53099         [BZ #14994]
53100         * math/s_casinh.c (__casinh): Reduce finite argument to first
53101         quadrant then set signs of results at the end.
53102         * math/s_casinhf.c (__casinhf): Likewise.
53103         * math/s_casinhl.c (__casinhl): Likewise.
53104         * math/libm-test.inc (casin_test): Add more tests.
53105         (casinh_test): Likewise.
53106         * sysdeps/i386/fpu/libm-test-ulps: Update.
53107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53109 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53111         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
53113         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
53115         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
53116         declarations.
53117         (denorm): Likewise.
53118         (__mp_dbl): Likewise.
53119         (__inv): Likewise.
53121         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
53122         and adjust the header comment.
53124         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
53125         variable name from declaration.
53127 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
53129         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53130         Initialize COMMON_CPUID_INDEX_7 element.
53131         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
53132         (CPUID_RTM): Likewise.
53133         (HAS_RTM): Likewise.
53134         (COMMON_CPUID_INDEX_7): New enum.
53136 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
53138         [BZ #14981]
53139         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
53140         size is zero, record memory as freed.
53142 2013-01-03  Andreas Jaeger  <aj@suse.de>
53144         * po/ia.po: Add new Interlingua translation.
53146 2012-01-03  Allan McRae  <allan@archlinux.org>
53148         * locale/programs/localedef.c: Fix description of '--posix' flag.
53150 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
53152         * NEWS: Update dates in second copyright notice.
53153         * README: Update copyright dates in example.
53154         * manual/libc.texinfo: Update copyright dates.
53155         * scripts/test-installation.pl: Update copyright date in --version
53156         output.
53158         * hurd/ctty-input.c: Fix copyright notice formatting.
53159         * hurd/ctty-output.c: Likewise.
53160         * hurd/dtable.c: Likewise.
53161         * hurd/hurd-raise.c: Likewise.
53162         * hurd/hurdprio.c: Likewise.
53163         * hurd/msgportdemux.c: Likewise.
53164         * misc/sys/file.h: Likewise.
53165         * misc/sys/ioctl.h: Likewise.
53166         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53167         * sysdeps/mach/hurd/chdir.c: Likewise.
53168         * sysdeps/mach/hurd/fchdir.c: Likewise.
53169         * sysdeps/mach/hurd/rename.c: Likewise.
53170         * sysdeps/mach/hurd/rmdir.c: Likewise.
53171         * sysdeps/mach/hurd/seekdir.c: Likewise.
53172         * sysdeps/mach/hurd/setsid.c: Likewise.
53173         * sysdeps/posix/wait3.c: Likewise.
53175         * All files with FSF copyright notices: Update copyright dates
53176         using scripts/update-copyrights.
53177         * intl/plural.c: Regenerated.
53178         * locale/programs/charmap-kw.h: Likewise.
53179         * locale/programs/locfile-kw.h: Likewise.
53181 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53183         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
53184         four values.
53186         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
53187         calculation loop and add branch prediction.
53189         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
53190         check access beyond bounds of m1np.
53192         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53193         MPTWO.
53194         (__inv): Remove local variable MPTWO to use the global
53195         constant.
53196         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
53197         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53198         variable MPTWO.
53199         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
53200         MP3HALFS static const.
53202 2013-01-01  David S. Miller  <davem@davemloft.net>
53204         * po/ca.po: Update from translation team.
53206 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
53208         * scripts/update-copyrights: New file.
53209         * Makeconfig: Reformat copyright notice.
53210         * ctype/ctype.h: Likewise.
53211         * debug/swprintf_chk.c: Likewise.
53212         * elf/dl-cache.c: Likewise.
53213         * elf/dl-debug.c: Likewise.
53214         * elf/dl-object.c: Likewise.
53215         * grp/initgroups.c: Likewise.
53216         * hurd/Makefile: Likewise.
53217         * hurd/hurd/signal.h: Likewise.
53218         * hurd/hurdfault.c: Likewise.
53219         * hurd/hurdioctl.c: Likewise.
53220         * hurd/hurdlookup.c: Likewise.
53221         * hurd/intr-msg.c: Likewise.
53222         * iconv/gconv_open.c: Likewise.
53223         * libio/swprintf.c: Likewise.
53224         * locale/lc-ctype.c: Likewise.
53225         * locale/nl_langinfo.c: Likewise.
53226         * mach/Machrules: Likewise.
53227         * mach/Makefile: Likewise.
53228         * malloc/obstack.h: Likewise.
53229         * manual/Makefile: Likewise.
53230         * manual/tsort.awk: Likewise.
53231         * misc/bits/stab.def: Likewise.
53232         * nis/nis_print_group_entry.c: Likewise.
53233         * nis/nis_table.c: Likewise.
53234         * nis/nss_compat/compat-pwd.c: Likewise.
53235         * nis/nss_compat/compat-spwd.c: Likewise.
53236         * po/Makefile: Likewise.
53237         * posix/fnmatch.c: Likewise.
53238         * posix/regex.h: Likewise.
53239         * resolv/Makefile: Likewise.
53240         * resolv/nss_dns/dns-network.c: Likewise.
53241         * resolv/res_hconf.c: Likewise.
53242         * scripts/gen-sorted.awk: Likewise.
53243         * soft-fp/soft-fp.h: Likewise.
53244         * stdio-common/printf.h: Likewise.
53245         * stdlib/monetary.h: Likewise.
53246         * stdlib/random.c: Likewise.
53247         * stdlib/random_r.c: Likewise.
53248         * sysdeps/generic/Makefile: Likewise.
53249         * sysdeps/gnu/Makefile: Likewise.
53250         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53251         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53252         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53253         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53254         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53255         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53256         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53257         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53258         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53259         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53260         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53261         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53262         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53263         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53264         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
53265         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53266         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53267         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53268         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53269         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53270         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53271         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53272         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53273         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53274         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
53275         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53276         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53277         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
53278         * sysdeps/mach/hurd/errnos.awk: Likewise.
53279         * sysdeps/mach/hurd/fork.c: Likewise.
53280         * sysdeps/mach/hurd/getcwd.c: Likewise.
53281         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
53282         * sysdeps/mach/hurd/mmap.c: Likewise.
53283         * sysdeps/mach/hurd/utimes.c: Likewise.
53284         * sysdeps/mach/hurd/xmknod.c: Likewise.
53285         * sysdeps/posix/profil.c: Likewise.
53286         * sysdeps/posix/readdir_r.c: Likewise.
53287         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53288         * sysdeps/powerpc/bits/setjmp.h: Likewise.
53289         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
53290         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53291         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53292         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53293         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53294         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53295         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53296         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53297         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53298         * sysdeps/pthread/lio_listio.c: Likewise.
53299         * sysdeps/sparc/dl-procinfo.h: Likewise.
53300         * sysdeps/unix/i386/sysdep.S: Likewise.
53301         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
53302         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
53303         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
53304         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
53305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53306         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
53307         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
53308         * sysdeps/unix/sysv/linux/speed.c: Likewise.
53309         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
53310         * sysdeps/wordsize-32/divdi3.c: Likewise.
53311         * time/sys/time.h: Likewise.
53312         * wcsmbs/Makefile: Likewise.
53314 2013-01-01  David S. Miller  <davem@davemloft.net>
53316         * po/fr.po: Update from translation team.
53318         * catgets/gencat.c: Update copyright year.
53319         * csu/version.c: Likewise.
53320         * debug/catchsegv.sh: Likewise.
53321         * debug/pcprofiledump.c: Likewise.
53322         * debug/xtrace.sh: Likewise.
53323         * elf/ldconfig.c: Likewise.
53324         * elf/ldd.bash.in: Likewise.
53325         * elf/pldd.c: Likewise.
53326         * elf/sotruss.ksh: Likewise.
53327         * elf/sprof.c: Likewise.
53328         * iconv/iconv_prog.c: Likewise.
53329         * iconv/iconvconfig.c: Likewise.
53330         * locale/programs/locale.c: Likewise.
53331         * locale/programs/localedef.c: Likewise.
53332         * login/programs/pt_chown.c: Likewise.
53333         * malloc/memusage.sh: Likewise.
53334         * malloc/memusagestat.c: Likewise.
53335         * malloc/mtrace.pl: Likewise.
53336         * nscd/nscd.c: Likewise.
53337         * nss/getent.c: Likewise.
53338         * nss/makedb.c: Likewise.
53339         * posix/getconf.c: Likewise.
53341 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53343         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
53344         numbers.
53346 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
53348         * math/bits/mathcalls.h (modf): Use __nonnull.
53350 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53352         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
53353         (split): Use macro CN instead of the bare value.
53354         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
53355         could be used.
53356         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
53357         instead of the bare value.
53358         (power1): Likewise.
53360 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53362         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
53363         __ATAN_TWOM.
53364         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53366         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
53367         their values.
53368         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53369         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53370         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
53371         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53373 2012-12-28  Andreas Jaeger  <aj@suse.de>
53375         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
53376         values are from Linux 3.7.
53378         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
53379         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
53381 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53383         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
53384         TRUE case.
53386         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
53387         (norm): Likewise.
53388         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
53389         variables with preprocessor constants.
53390         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53391         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53392         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53394 2012-12-27  Bruno Haible  <bruno@clisp.org>
53396         [BZ #14317]
53397         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
53398         only if needed.
53400 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53402         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
53403         and use variable directly.
53404         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
53406         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53407         MPONE.
53408         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
53409         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53410         variable MPONE.
53411         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53412         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53413         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
53414         include directive.  Remove local variable MPONE.
53415         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
53416         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
53417         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53419 2012-12-25  David S. Miller  <davem@davemloft.net>
53421         * version.h (RELEASE): Set to "development".
53422         (VERSION): Set to "2.17.90".
53423         * NEWS: Add 2.18 section.
53425 2012-12-21  David S. Miller  <davem@davemloft.net>
53427         * po/hr.po: Update from translation team.
53429 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53431         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
53433 2012-12-19  Steve Ellcey  <sellcey@mips.com>
53435         * NEWS:  Mention new memcpy for MIPS.
53437 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53439         * manual/contrib.texi (Contributors): Spelling correction.
53441 2012-12-15  David S. Miller  <davem@davemloft.net>
53443         * po/ru.po: Update from translation team.
53445 2012-12-13  David S. Miller  <davem@davemloft.net>
53447         * NEWS: Mention IFUNC testsuite enhancements.
53449         * po/pl.po: Update from translation team.
53450         * po/bg.po: Likewise.
53452         * manual/contrib.texi (Contributors): Update entries for Hongjiu
53453         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
53455 2012-12-11  David S. Miller  <davem@davemloft.net>
53457         * po/sv.po: Update from translation team.
53459         * po/vi.po: Update from translation team.
53461         * po/cs.po: Update from translation team.
53463         * po/de.po: Update from translation team.
53464         * po/eo.po: Likewise.
53465         * po/nl.po: Likewise.
53467 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53469         [BZ #14246]
53470         * manual/argp.texi (Argp Helper Functions): Move node to follow
53471         Argp Parsing State.
53473         [BZ #14872]
53474         * manual/conf.texi (Limits on File System Capacity): Mention if
53475         terminating null is included in the max size.
53477 2012-12-10  Andreas Jaeger  <aj@suse.de>
53479         * po/cs.po: Update from translation team.
53481 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53483         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
53484         void pointer and cast to uintptr_t.
53485         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
53486         path.
53487         * sysdeps/s390/s390-64/memcpy.S: Likewise.
53488         * sysdeps/s390/s390-64/memset.S: Likewise.
53490 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
53492         [BZ #14833]
53493         * menual/message.texi (Message Translation): Fix typos.
53494         (Helper programs for gettext): Likewise.
53496 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
53498         [BZ #14898]
53499         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
53500         Change to -1.
53502 2012-12-07  David S. Miller  <davem@davemloft.net>
53504         * po/libc.pot: Update.
53506 2012-12-07  Richard Henderson  <rth@redhat.com>
53508         [BZ #10114]
53509         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
53510         normal/normal case to before the switch.
53511         (_FP_DIV): Likewise.
53513 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
53514             Mike Frysinger  <vapier@gentoo.org>
53516         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
53517         check for __NR_fadvise64_64.
53519 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
53521         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
53522         0, not just to plain "0" as a statement.
53523         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
53524         with cw.
53526 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
53528         * NEWS: Use sourceware.org in Bugzilla URL.
53530 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
53533         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53535         * stdio-common/tst-put-error.c (do_test): Add newline to the
53536         padded test to ensure flush.
53538 2012-12-05  Jeff Law  <law@redhat.com>
53540         * sunrpc/etc.rpc (fedfs_admin): Add entry.
53542 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
53544         * README: Don't refer to ports add-on as distributed separately.
53545         Mention AArch64 in list of systems supported in the ports add-on.
53547         * LICENSES: Add more non-FSF copyright and license notices.
53549         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
53550         ((unused)).
53552         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
53554         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
53555         10000 as width of padded output.
53557 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53559         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
53561         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
53562         variable LX with __attribute__ ((unused)).
53563         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
53564         Likewise.
53565         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
53566         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53567         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
53568         with __attribute__ ((unused)).
53570 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
53572         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
53574 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53576         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
53577         (CFLAGS-nldbl-acos.c): New variable.
53578         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
53579         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
53580         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
53581         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
53582         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
53583         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
53584         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
53585         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
53586         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
53587         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
53588         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
53589         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
53590         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
53591         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
53592         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
53593         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
53594         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
53595         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
53596         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
53597         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
53598         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
53599         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
53600         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
53601         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
53602         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
53603         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
53604         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
53605         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
53606         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
53607         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
53608         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
53609         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
53610         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
53611         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
53612         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
53613         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
53614         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
53615         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
53616         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
53617         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
53618         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
53619         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
53620         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
53621         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
53622         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
53623         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
53624         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
53625         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
53626         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
53627         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
53628         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
53629         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
53630         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
53631         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
53632         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
53633         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
53634         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
53635         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
53636         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
53637         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
53638         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
53639         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
53640         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
53641         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
53642         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
53643         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
53644         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
53645         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
53646         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
53647         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
53648         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
53649         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
53650         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
53651         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
53652         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
53653         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
53654         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
53655         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
53656         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
53657         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
53658         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
53659         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
53660         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
53661         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
53662         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
53663         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
53664         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
53665         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
53666         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
53667         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
53668         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
53669         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
53670         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
53671         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
53672         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
53673         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
53674         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
53676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53677         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53679         [BZ #14914]
53680         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
53681         whole low double instead of just low 47 bits when splitting values
53682         into two parts.
53684 2012-12-03  Allan McRae  <allan@archlinux.org>
53686         * manual/stdio.texi (Predefined Printf Handlers): Remove
53687         @hsep and @vsep usage.
53689 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
53691         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
53692         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
53694 2012-12-03  Jeff Law  <law@redhat.com>
53696         * time/sys/time.h (settimeofday): Do not mark TV argument
53697         as __nonnull.
53699 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
53701         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
53702         when currently writing and seek to current position when not.
53703         * libio/Makefile (tests): Remove bug-fclose1.
53704         * libio/bug-fclose1.c: Delete.
53706 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
53708         * manual/arith.texi (feenableexcept): Fix typo.
53709         (fedisableexcept): Likewise.
53711 2012-11-30  Roland McGrath  <roland@hack.frob.com>
53713         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
53714         second, differently-typed declaration, rather than a cast.
53716 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53718         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
53719         * include/rpc/svc.h: ... here.
53721 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
53723         [BZ #13013]
53724         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
53725         depending n and resplen2 to catch cases where answer
53726         equals answerp2.
53728 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
53730         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
53731         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
53733 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
53735         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
53737 2012-11-29  Roland McGrath  <roland@hack.frob.com>
53739         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
53741 2012-11-28  Jeff Law  <law@redhat.com>
53743         [BZ #13761]
53744         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
53745         dataset_temporary.  Track alloca usage into alloca_used.
53746         If dataset is large allocate and release it via malloc/free.
53748 2012-06-04  Florian Weimer  <fweimer@redhat.com>
53750         [BZ #14197]
53751         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
53753 2012-11-28  David S. Miller  <davem@davemloft.net>
53755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53757 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53759         [BZ #14803]
53760         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
53761         of pi/2 rounded to nearest to 64 bits.
53762         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
53763         nearest to 64 bits.
53764         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
53765         bits.
53767 2012-11-28  Jeff Law <law@redhat.com>
53768             Martin Osvald <mosvald@redhat.com>
53770         [BZ #14889]
53771         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
53772         * sunrpc/svc.c: Include time.h.
53773         (__svc_accept_failed): New function.
53774         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
53775         any reason other than EINTR, call __svc_accept_failed.
53776         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
53777         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
53779 2012-11-28  Andreas Schwab  <schwab@suse.de>
53781         * scripts/abilist.awk: Also handle indirect functions in .opd
53782         section.
53784 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53786         [BZ #13881]
53787         * sysdeps/x86/fpu/powl_helper.c: New file.
53788         * sysdeps/x86/fpu/Makefile: Likewise.
53789         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
53790         (p3): New object.
53791         (__ieee754_powl): Use __powl_helper for finite arguments except
53792         integer exponents below 8.
53793         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
53794         (p3): New object.
53795         (__ieee754_powl): Use __powl_helper for finite arguments except
53796         integer exponents below 8.
53797         * math/libm-test.inc (pow_test): Add more tests and enable some
53798         previously disabled tests.
53799         * sysdeps/i386/fpu/libm-test-ulps: Update.
53800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53802 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53803             Carlos O'Donell  <carlos_odonell@mentor.com>
53805         * nss/makedb.c (is_prime): Assert that input is odd and greater
53806         than 4.  Note that fact in a comment too.
53807         (next_prime): Add 4 to input.
53809 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53811         [BZ #11741]
53812         * libio/Makefile (tests): Add test case tst-fwrite-error.
53813         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
53814         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
53815         * libio/tst-fwrite-error.c: New test case.
53817 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
53819         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
53820         before casting to void *.
53821         * include/libc-internal.h (__pointer_type): New macro.
53822         (__integer_if_pointer_type_sub): Likewise.
53823         (__integer_if_pointer_type): Likewise.
53824         (cast_to_integer): Likewise.
53825         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
53826         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
53827         before casting to atomic64_t.
53828         (atomic_exchange_acq): Likewise.
53829         (__arch_exchange_and_add_body): Likewise.
53830         (__arch_add_body): Likewise.
53831         (atomic_add_negative): Likewise.
53832         (atomic_add_zero): Likewise.
53834 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
53836         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
53837         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
53838         (add_fdes): Likewise.
53839         (linear_search_fdes): Likewise.
53840         (binary_search_unencoded_fdes): Likewise.
53842 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
53844         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
53846 2012-11-24  Adam Conrad  <adconrad@0c3.net>
53848         * configure.in: Autodetect C++ header directories.
53849         * configure: Regenerated.
53851 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
53853         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
53855 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
53857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53859 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
53861         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
53862         LDBL_MANT_DIG == 106]: Disable some tests.
53863         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53864         Likewise.
53865         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53866         Likewise.
53868         [BZ #14871]
53869         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
53870         input for small inputs.  Return +/- pi/2 for large inputs.
53871         * math/libm-test.inc (atan_test): Add more tests.
53873         * sysdeps/generic/unwind-dw2-fde-glibc.c
53874         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
53875         __attribute__ ((unused)).
53877         [BZ #14645]
53878         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
53879         x * y if x and y are nonzero and z is zero.
53881         [BZ #14811]
53882         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
53883         nonzero exponents with absolute value below 0x1p-117 to +/-
53884         0x1p-117.
53886         [BZ #14869]
53887         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
53888         up arguments below 2**-450, not just those below 2**-500.
53889         * math/libm-test.inc (hypot_test): Add another test.
53891         [BZ #14868]
53892         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
53893         Return a+b for ratio over 2**120, not 2**60.
53894         * math/libm-test.inc (hypot_test): Add another test.
53896         * math/libm-test.inc (clog_test): Use
53897         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
53898         (clog10_test): Likewise.
53900         [BZ #6778]
53901         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
53903 2012-11-22  Andreas Schwab  <schwab@suse.de>
53905         * sysdeps/i386/fpu/libm-test-ulps: Update.
53907 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
53909         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
53910         printf output with newline.
53912 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
53914         [BZ #14865]
53915         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
53916         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
53917         -z nodlopen, -z initfirst and -z execstack support.
53918         * configure: Regenerated.
53920         * elf/elf.h (DF_1_NODIRECT): New macro.
53921         (DF_1_IGNMULDEF): Likewise.
53922         (DF_1_NOKSYMS): Likewise.
53923         (DF_1_NOHDR): Likewise.
53924         (DF_1_EDITED): Likewise.
53925         (DF_1_NORELOC): Likewise.
53926         (DF_1_SYMINTPOSE): Likewise.
53927         (DF_1_GLOBAUDIT): Likewise.
53928         (DF_1_SINGLETON): Likewise.
53929         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
53930         DT_1_SUPPORTED_MASK bits.
53931         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
53933 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
53935         * sysdeps/unix/make-syscalls.sh: Document prefixes.
53937 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
53939         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
53940         macro.
53942         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
53943         (sendmmsg): Move declarations...
53944         * socket/sys/socket.h: ... here.
53945         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
53946         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
53947         include it from...
53948         * socket/recvmmsg.c: ... this new file.
53949         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
53950         (sendmmsg): Rename to __sendmmsg, create weak alias and make
53951         definition of __sendmmsg hidden.
53952         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
53953         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
53954         Move ENOSYS stub into and include it from...
53955         * socket/sendmmsg.c: ... this new file.
53956         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
53957         (sysdep_routines): Move recvmmsg and sendmmsg...
53958         * socket/Makefile (routines): ... here.
53959         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
53960         (GLIBC_PRIVATE): Add __sendmmsg.
53961         * include/sys/socket.h (__sendmmsg): Add declarations.
53962         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
53963         sendmmsg.
53965 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
53967         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
53968         variable I1 with __attribute__ ((unused)).
53969         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53971 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53973         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
53974         DUMMY variables with __attribute__ ((unused)).
53976         * bits/byteswap.h: Include <bits/types.h>.
53977         (__bswap_64): Use __uint64_t instead of unsigned long long int.
53979 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53981         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
53982         string_t.  Do not manually set errno.
53983         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
53984         length with __strnlen.  Make sure to both set errno and return it on
53985         failure.
53987 2012-11-19  David S. Miller  <davem@davemloft.net>
53989         With help from Joseph Myers.
53990         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
53991         very large arguments properly.
53992         * math/libm-test.inc (atan_test): New tests.
53993         (atan2_test): New tests.
53994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53995         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53997 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53999         [BZ #14856]
54000         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
54001         Define to 3.
54003         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
54004         [POSIX] (EADDRNOTAVAIL): Likewise.
54005         [POSIX] (EAFNOSUPPORT): Likewise.
54006         [POSIX] (EALREADY): Likewise.
54007         [POSIX] (ECONNABORTED): Likewise.
54008         [POSIX] (ECONNREFUSED): Likewise.
54009         [POSIX] (ECONNRESET): Likewise.
54010         [POSIX] (EDESTADDRREQ): Likewise.
54011         [POSIX] (EDQUOT): Likewise.
54012         [POSIX] (EHOSTUNREACH): Likewise.
54013         [POSIX] (EIDRM): Likewise.
54014         [POSIX] (EISCONN): Likewise.
54015         [POSIX] (ELOOP): Likewise.
54016         [POSIX] (EMULTIHOP): Likewise.
54017         [POSIX] (ENETDOWN): Likewise.
54018         [POSIX] (ENETUNREACH): Likewise.
54019         [POSIX] (ENOBUFS): Likewise.
54020         [POSIX] (ENODATA): Likewise.
54021         [POSIX] (ENOLINK): Likewise.
54022         [POSIX] (ENOMSG): Likewise.
54023         [POSIX] (ENOPROTOOPT): Likewise.
54024         [POSIX] (ENOSR): Likewise.
54025         [POSIX] (ENOSTR): Likewise.
54026         [POSIX] (ENOTCONN): Likewise.
54027         [POSIX] (ENOTSOCK): Likewise.
54028         [POSIX] (EOPNOTSUPP): Likewise.
54029         [POSIX] (EOVERFLOW): Likewise.
54030         [POSIX] (EPROTO): Likewise.
54031         [POSIX] (EPROTONOSUPPORT): Likewise.
54032         [POSIX] (EPROTOTYPE): Likewise.
54033         [POSIX] (ESTALE): Likewise.
54034         [POSIX] (ETIME): Likewise.
54035         [POSIX] (ETXTBSY): Likewise.
54036         [POSIX] (EWOULDBLOCK): Likewise.
54037         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
54038         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
54039         [POSIX] (SEEK_CUR): Likewise.
54040         [POSIX] (SEEK_END): Likewise.
54041         [POSIX || UNIX98] (mode_t): Do not require.
54042         [POSIX] (off_t): Likewise.
54043         [POSIX] (pid_t): Likewise.
54044         [POSIX] (sys/stat.h): Do not allow header.
54045         [POSIX] (unistd.h): Likewise.
54046         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
54047         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
54048         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
54049         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
54050         require.
54051         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
54052         sigevent): Specify elements.
54053         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
54054         entry.
54055         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
54056         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
54058         * conform/data/cpio.h-data [POSIX]: Disable whole file.
54059         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
54060         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
54061         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
54062         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
54063         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
54064         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
54065         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
54066         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
54067         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
54068         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
54069         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
54070         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
54071         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
54072         Likewise.
54073         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
54074         Likewise.
54075         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
54076         Likewise.
54077         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
54078         Likewise.
54079         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
54080         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
54081         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
54082         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
54083         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
54084         Specify lower bound on value.
54085         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
54086         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
54087         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
54088         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
54089         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
54090         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
54091         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
54092         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
54093         value.
54094         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
54095         as optional.
54096         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
54097         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
54098         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
54099         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
54100         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
54101         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
54102         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
54103         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
54104         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
54105         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
54106         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
54107         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
54108         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
54109         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
54110         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
54111         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
54112         entry.
54113         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
54114         optional.
54115         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
54116         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
54117         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
54118         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
54119         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
54120         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
54121         Likewise.
54122         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
54123         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
54124         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
54125         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
54126         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
54127         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
54128         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
54129         as optional.
54130         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
54131         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
54132         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
54133         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
54134         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
54135         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
54136         specify as optional.
54137         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
54138         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
54139         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
54140         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
54141         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
54142         [XPG3] (NL_LANGMAX): Likewise.
54143         [POSIX || XPG3] (NL_MSGMAX): Likewise.
54144         [POSIX || XPG3] (NL_NMAX): Likewise.
54145         [POSIX || XPG3] (NL_SETMAX): Likewise.
54146         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
54147         [XPG3] (NZERO): Likewise.
54148         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
54149         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
54150         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
54151         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
54152         (REG_ERANGE): Expect.
54153         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
54154         optional-constant.
54155         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
54156         Use (void) in prototype.
54157         [POSIX] (*_t): Allow.
54158         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
54159         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
54160         (WRDE_BADVAL): Expect.
54162         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
54163         expect.
54164         [XPG3 || XPG4] (O_RSYNC): Likewise.
54165         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
54166         Likewise.
54167         [XPG3 || XPG4] (pthread_sigmask): Likewise.
54168         [XPG3 || XPG4] (sigqueue): Likewise.
54169         [XPG3 || XPG4] (sigtimedwait): Likewise.
54170         [XPG3 || XPG4] (sigwaitinfo): Likewise.
54171         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
54172         [XPG3 || XPG4] (vsnprintf): Likewise.
54173         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
54174         Likewise.
54175         [XPG3 || XPG4] (blksize_t): Likewise.
54176         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
54177         Likewise.
54178         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
54179         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
54180         [XPG3 || XPG4] (struct itimerspec): Likewise.
54181         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
54182         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
54183         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
54184         [XPG3 || XPG4] (clockid_t): Likewise.
54185         [XPG3 || XPG4] (timer_t): Likewise.
54186         [XPG3 || XPG4] (clock_getres): Likewise.
54187         [XPG3 || XPG4] (clock_gettime): Likewise.
54188         [XPG3 || XPG4] (clock_settime): Likewise.
54189         [XPG3 || XPG4] (nanosleep): Likewise.
54190         [XPG3 || XPG4] (timer_create): Likewise.
54191         [XPG3 || XPG4] (timer_delete): Likewise.
54192         [XPG3 || XPG4] (timer_gettime): Likewise.
54193         [XPG3 || XPG4] (timer_getoverrun): Likewise.
54194         [XPG3 || XPG4] (timer_settime): Likewise.
54195         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
54196         [XPG3 || XPG4] (getlogin_r): Likewise.
54197         [XPG3 || XPG4] (pread): Likewise.
54198         [XPG3 || XPG4] (pthread_atfork): Likewise.
54199         [XPG3 || XPG4] (pwrite): Likewise.
54201         [BZ #14835]
54202         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
54203         <bits/siginfo.h>.
54205 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54207         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
54208         finalizing MALLSTREAM.
54210         * sysdeps/mach/hurd/syncfs.c: New file.
54212 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54214         [BZ #14719]
54215         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
54216         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
54217         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
54218         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
54219         (_nss_dns_gethostbyname4_r): Likewise.
54220         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
54221         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
54223 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
54225         [BZ #13763]
54226         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
54228 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
54230         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
54231         * elf/cache.c (print_entry): Print ",AArch64" for
54232         FLAG_AARCH64_LIB64
54234         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
54235         * elf/cache.c (print_entry): Print ",hard-float" for
54236         FLAG_ARM_LIBHF.
54238 2012-11-18  David S. Miller  <davem@davemloft.net>
54240         With help from Joseph Myers.
54241         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
54242         cutoff to 2**-13.
54243         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
54244         cutoff to 2**-25.
54245         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
54246         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
54247         small.
54248         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
54249         * math/libm-test.inc (y0_test): New tests.
54250         (y1_test): New tests.
54251         * sysdeps/i386/fpu/libm-test-ulps: Update.
54252         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54255 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
54257         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
54258         64-bit targets.
54259         * configure: Regenerated.
54261 2012-11-17  David S. Miller  <davem@davemloft.net>
54263         [BZ #14811]
54264         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
54265         nonzero exponents with absolute value below 0x1p-128 to +/-
54266         0x1p-128.
54268 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
54270         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
54272         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
54274         * posix/getconf-speclist.c: New file.
54275         * posix/posix-envs.def: Likewise.
54276         * posix/confstr.c (START_ENV_GROUP): New macro.
54277         (END_ENV_GROUP): Likewise.
54278         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54279         (KNOWN_PRESENT_ENV_STRING): Likewise.
54280         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54281         (UNKNOWN_ENVIRONMENT): Likewise.
54282         (confstr): Include posix-envs.def instead of handling
54283         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
54284         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
54285         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
54286         (END_ENV_GROUP): Likewise.
54287         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54288         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54289         (UNKNOWN_ENVIRONMENT): Likewise.
54290         (__sysconf): Include posix-envs.def instead of handling associated
54291         cases directly here.
54292         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
54293         preprocessing getconf-speclist.c rather than running getconf or
54294         generating empty file.
54296 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
54298         * scripts/check-local-headers.sh: Ignore 'mach' headers.
54300 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
54302         [BZ #14672]
54303         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
54305 2012-11-16  David S. Miller  <davem@davemloft.net>
54307         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
54308         smaller than LDBL_EPSILON/2.0L, just return xm1.
54310 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
54312         * elf/tst-array1.c (init): Set constructor priority to 1000.
54313         (fini): Set destructor priority to 1000.
54314         * elf/tst-array2dep.c: Likewise.
54316 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54318         [BZ #11741]
54319         * libio/fileops.c (_IO_new_file_write): Correctly return error.
54320         (_IO_new_file_xsputn): Also return EOF if none of the input
54321         data was written when overflow failed.
54322         * libio/iopadn.c (_IO_padn): Likewise.
54323         * libio/iowpadn.c (_IO_wpadn): Likewise.
54324         * stdio-common/tst-put-error.c: Add copyright notice.
54325         (do_test): Add case for printing padded string.
54326         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
54327         _IO_padn returned error.
54328         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
54329         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
54330         return EOF.
54332 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54334         * libio/libioP.h: Add comment note that the references to C++
54335         bits are now obsolete.
54337 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54339         * math/libm-test.inc (check_complex): Use asprintf.
54341 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
54343         * debug/pcprofiledump.c (print_version): Update copyright year.
54344         * malloc/memusagestat.c (print_version): Likewise.
54346 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
54348         [BZ #14831]
54349         * elf/Makefile (tests): Add tst-audit8.
54350         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
54351         ($(objpfx)tst-audit8.out): New target.
54352         (tst-audit8-ENV): New variable.
54353         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
54354         audit if l_reloc_result is NULL.
54355         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
54356         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
54357         * elf/tst-audit8.c: New file.
54359 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54361         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
54362         * misc/Makefile (CFLAGS-select.c): Define.
54363         * posix/Makefile (CFLAGS-pause.c): Define.
54365 2012-11-13  David S. Miller  <davem@davemloft.net>
54367         * crypt/Makefile: Move test targets after toplevel Rules
54368         inclusion.  Grab any necessary sysdep routines when linking.
54369         * crypt/md5.c (md5_process_block): Remove define, we will always
54370         name it __md5_process_block.
54371         (md5_finish_ctx): Update md5_process_block call.
54372         (md5_stream): Likewise.
54373         (md5_process_bytes): Likewise.
54374         (md5_process_block): Rename to __md5_process_block and move to ...
54375         * crypt/md5-block.c: ... here.
54376         * crypt/sha256.c (sha256_process_block): Move to ...
54377         * crypt/sha256-block.c: ... here.
54378         * crypt/sha512.c (sha512_process_block): Move to ...
54379         * crypt/sha512-block.c: ... here.
54380         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
54381         path.
54382         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
54383         * sysdeps/sparc/sparc64/multiarch/Makefile
54384         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
54385         crypt subdir.
54386         (localedef-aux): Add md5 crypto assembler when in locale subdir.
54387         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
54388         multiarch changes.
54389         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
54390         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
54391         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
54392         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
54393         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
54394         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
54395         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
54396         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
54397         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
54398         file.
54399         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
54400         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
54401         file.
54402         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
54404 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
54406         * timezone/tzselect.ksh: Update from tzcode git revision
54407         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
54408         * timezone/zdump.c: Likewise.
54409         * timezone/zic.c: Likewise.
54410         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
54411         in TZVERSION setting, not $(PKGVERSION).
54412         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
54413         REPORT_BUGS_TO settings.
54415         [BZ #14838]
54416         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
54417         macro.
54419 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54421         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
54422         detection to immediately after _FP_ROUND().
54423         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
54424         bits are 0.
54426 2012-11-11  David S. Miller  <davem@davemloft.net>
54428         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
54429         inttypes.h
54430         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
54431         __close rather than their public counterparts.
54433 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
54435         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
54436         file.
54437         [UNIX98] (sem_timedwait): Do not expect.
54438         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
54439         [XPG4 || UNIX98] (sockatmark): Do not expect.
54440         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
54441         (clock_getcpuclockid): Do not expect.
54442         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
54443         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
54444         Do not expect.
54445         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
54446         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
54447         [UNIX98] (vwscanf): Likewise.
54448         [UNIX98] (vswscanf): Likewise.
54450 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
54452         * timezone/version.h: Remove file.
54453         * timezone/README: Do not refer to version.h.
54454         * timezone/Makefile ($(objpfx)zic.o): New dependency on
54455         $(objpfx)version.h.
54456         ($(objpfx)zdump.o): Likewise.
54457         ($(objpfx)version.h): New target.
54459         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
54460         2012i.
54461         * timezone/README: Don't mention modification to tzselect.ksh.
54462         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
54463         work on unmodified tzselect.ksh.  Substitute version numbers in
54464         tzselect.ksh.
54466         * Makefile (format-me): Remove.
54467         (INSTALL): Adjust indentation.  Use commands directly instead of
54468         using $(format-me).
54470         * aclocal.m4 (ACX_PKGVERSION): New macro.
54471         (ACX_BUGURL): Likewise.
54472         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
54473         (PKGVERSION): New AC_DEFINE_UNQUOTED.
54474         (REPORT_BUGS_TO): Likewise.
54475         * configure: Regenerated.
54476         * config.h.in (PKGVERSION): New macro.
54477         (REPORT_BUGS_TO): Likewise.
54478         * config.make.in (PKGVERSION): New variable.
54479         (PKGVERSION_TEXI): Likewise.
54480         (REPORT_BUGS_TO): Likewise.
54481         (REPORT_BUGS_TEXI): Likewise.
54482         * Makefile (format-me): Use -I$(common-objpfx)manual.
54483         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
54484         ($(common-objpfx)manual/%): New target.
54485         (manual/%): Remove target.
54486         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
54487         (print_version): Use PKGVERSION.
54488         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
54489         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
54490         and REPORT_BUGS_TO.
54491         ($(objpfx)xtrace): Likewise.
54492         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
54493         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
54494         (print_version): Use PKGVERSION.
54495         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
54496         (do_version): Use PKGVERSION.
54497         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
54498         REPORT_BUGS_TO.
54499         (common-ldd-rewrite): Likewise.
54500         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
54501         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
54502         (print_version): Use PKGVERSION.
54503         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
54504         * elf/pldd.c (argp_program_bug_address): Remove variable.
54505         (more_help): New function.
54506         (argp): Use more_help.
54507         (print_version): Use PKGVERSION.
54508         * elf/sln.c (main): Use PKGVERSION.
54509         (usage): Use REPORT_BUGS_TO.
54510         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
54511         (top level): Use PKGVERSION.
54512         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
54513         (print_version): Use PKGVERSION.
54514         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
54515         (print_version): Use PKGVERSION.
54516         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
54517         (print_version): Use PKGVERSION.
54518         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
54519         (print_version): Use PKGVERSION.
54520         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
54521         (print_version): Use PKGVERSION.
54522         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
54523         (print_version): Use PKGVERSION.
54524         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
54525         and BUGURL.
54526         ($(objpfx)memusage): Likewise.
54527         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
54528         (do_version): Use PKGVERSION.
54529         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
54530         (print_version): Use PKGVERSION.
54531         * malloc/mtrace.pl ($PACKAGE): Remove variable.
54532         ($PKGVERSION): New variable.
54533         ($REPORT_BUGS_TO): Likewise.
54534         (usage): Use $REPORT_BUGS_TO.
54535         (top level): Use $PKGVERSION.
54536         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
54537         ($(objpfx)pkgvers.texi): New rule.
54538         ($(objpfx)stamp-pkgvers): Likewise.
54539         * manual/install.texi: Include pkgvers.texi.
54540         (--with-pkgversion): Document new configure option.
54541         (--with-bugurl): Likewise.
54542         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
54543         than necessarily for this particular distribution.  Use
54544         REPORT_BUGS_TO for where to report bugs.
54545         * INSTALL: Regenerated.
54546         * manual/libc.texinfo: Include pkgvers.texi.
54547         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
54548         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
54549         (print_version): Use PKGVERSION.
54550         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
54551         (print_version): Use PKGVERSION.
54552         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
54553         (print_version): Use PKGVERSION.
54554         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
54555         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
54556         macro.
54557         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
54558         (print_version): Use PKGVERSION.
54559         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
54560         (print_version): Use PKGVERSION.
54561         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
54562         and PKGVERSION.
54564         * timezone/checktab.awk: Update from tzcode 2012i.
54565         * timezone/ialloc.c: Likewise.
54566         * timezone/private.h: Likewise.
54567         * timezone/scheck.c: Likewise.
54568         * timezone/tzfile.h: Likewise.
54569         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
54570         (TZVERSION): Hardcode tzcode version number.
54571         * timezone/zdump.c: Update from tzcode 2012i.
54572         * timezone/zic.c: Likewise.
54573         * timezone/version.h: New file.
54574         * timezone/README: Describe version.h.  Update upstream location.
54576         [BZ #14824]
54577         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
54578         (mktemp): Enable declaration.
54579         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
54580         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
54581         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
54582         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
54583         Likewise.
54584         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
54585         Likewise.
54586         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
54587         Likewise.
54588         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
54589         Likewise.
54590         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
54591         Likewise.
54592         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
54593         Likewise.
54595         [BZ #14821]
54596         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
54597         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
54598         for copies of such integer values.
54599         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54600         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54602 2012-11-09  Andreas Jaeger  <aj@suse.de>
54604         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
54605         definitions and declarations that are provided by
54606         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54608 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54610         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
54611         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
54612         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
54613         definition.
54615 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54617         * elf/elf.h: Update comment before AArch64 relocations.
54619 2012-11-07  David S. Miller  <davem@davemloft.net>
54621         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
54622         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54623         (__start_context): Declare.
54624         (__makecontext_ret): Delete.
54625         (__makecontext): Hook up __start_context instead of
54626         __makecontext_ret.
54627         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
54628         (sysdep_routines): Add __start_context when in stdlib.
54630 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54632         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
54633         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
54634         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
54635         hardcoded "nm".
54636         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
54637         (READELF): New variable.  Use it instead of hardcoded "readelf".
54639 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54641         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
54642         * sysdeps/x86/Makefile: Here.
54643         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
54644         * sysdeps/x86/tst-xmmymm.sh: This.
54646 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54648         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
54649         expectations.
54650         [UNIX98] (pthread_barrier_t): Do not expect.
54651         [UNIX98] (pthread_barrierattr_t): Likewise.
54652         [UNIX98] (pthread_spinlock_t): Likewise.
54653         [UNIX98] (pthread_barrier_destroy): Likewise.
54654         [UNIX98] (pthread_barrier_init): Likewise.
54655         [UNIX98] (pthread_barrier_wait): Likewise.
54656         [UNIX98] (pthread_barrierattr_destroy): Likewise.
54657         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
54658         [UNIX98] (pthread_barrierattr_init): Likewise.
54659         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
54660         [UNIX98] (pthread_getcpuclockid): Likewise.
54661         [UNIX98] (pthread_mutex_timedlock): Likewise.
54662         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
54663         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
54664         [UNIX98] (pthread_sigmask): Likewise.
54665         [UNIX98] (pthread_spin_destroy): Likewise.
54666         [UNIX98] (pthread_spin_init): Likewise.
54667         [UNIX98] (pthread_spin_lock): Likewise.
54668         [UNIX98] (pthread_spin_trylock): Likewise.
54669         [UNIX98] (pthread_spin_unlock): Likewise.
54670         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
54671         Do not expect.
54672         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
54673         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
54674         [XPG3 || XPG4] (pthread_cond_t): Likewise.
54675         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
54676         [XPG3 || XPG4] (pthread_key_t): Likewise.
54677         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
54678         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
54679         [XPG3 || XPG4] (pthread_once_t): Likewise.
54680         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
54681         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
54682         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
54683         [XPG3 || XPG4] (pthread_t): Likewise.
54685         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
54686         not expect.
54687         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
54689         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
54690         Change function return type to int.
54692         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
54693         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
54694         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
54695         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
54696         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
54697         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
54698         [!POSIX] (posix_madvise): Likewise.
54699         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
54700         && !UNIX98].
54701         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
54702         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
54703         (mode_t): Likewise.
54704         (posix_mem_offset): Likewise.
54705         (posix_typed_mem_get_info): Likewise.
54706         (posix_typed_mem_open): Likewise.
54708         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
54709         Change condition to [XOPEN2K8].
54711         * conform/conformtest.pl: Preprocess allow-header data with -x c
54712         instead of from stdin.
54713         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
54714         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
54715         [C99-based standards] (cerfc): Likewise.
54716         [C99-based standards] (cexp2): Likewise.
54717         [C99-based standards] (cexpm1): Likewise.
54718         [C99-based standards] (clog10): Likewise.
54719         [C99-based standards] (clog1p): Likewise.
54720         [C99-based standards] (clog2): Likewise.
54721         [C99-based standards] (clgamma): Likewise.
54722         [C99-based standards] (ctgamma): Likewise.
54723         [C99-based standards] (cerff): Likewise.
54724         [C99-based standards] (cerfcf): Likewise.
54725         [C99-based standards] (cexp2f): Likewise.
54726         [C99-based standards] (cexpm1f): Likewise.
54727         [C99-based standards] (clog10f): Likewise.
54728         [C99-based standards] (clog1pf): Likewise.
54729         [C99-based standards] (clog2f): Likewise.
54730         [C99-based standards] (clgammaf): Likewise.
54731         [C99-based standards] (ctgammaf): Likewise.
54732         [C99-based standards] (cerfl): Likewise.
54733         [C99-based standards] (cerfcl): Likewise.
54734         [C99-based standards] (cexp2l): Likewise.
54735         [C99-based standards] (cexpm1l): Likewise.
54736         [C99-based standards] (clog10l): Likewise.
54737         [C99-based standards] (clog1pl): Likewise.
54738         [C99-based standards] (clog2l): Likewise.
54739         [C99-based standards] (clgammal): Likewise.
54740         [C99-based standards] (ctgammal): Likewise.
54741         * conform/data/inttypes.h-data [C99-based standards]: Include
54742         stdint.h-data.  Remove all expectations for stdint.h contents.
54743         [C99-based standards] (PRI*): Do not allow.
54744         [C99-based standards] (SCN*): Likewise.
54745         [C99-based standards] (*_t): Likewise.
54746         [C99-based-standards] (PRId8): Expect macro.
54747         [C99-based-standards] (PRIi8): Likewise.
54748         [C99-based-standards] (PRIo8): Likewise.
54749         [C99-based-standards] (PRIu8): Likewise.
54750         [C99-based-standards] (PRIx8): Likewise.
54751         [C99-based-standards] (PRIX8): Likewise.
54752         [C99-based-standards] (SCNd8): Likewise.
54753         [C99-based-standards] (SCNi8): Likewise.
54754         [C99-based-standards] (SCNo8): Likewise.
54755         [C99-based-standards] (SCNu8): Likewise.
54756         [C99-based-standards] (SCNx8): Likewise.
54757         [C99-based-standards] (PRIdLEAST8): Likewise.
54758         [C99-based-standards] (PRIiLEAST8): Likewise.
54759         [C99-based-standards] (PRIoLEAST8): Likewise.
54760         [C99-based-standards] (PRIuLEAST8): Likewise.
54761         [C99-based-standards] (PRIxLEAST8): Likewise.
54762         [C99-based-standards] (PRIXLEAST8): Likewise.
54763         [C99-based-standards] (SCNdLEAST8): Likewise.
54764         [C99-based-standards] (SCNiLEAST8): Likewise.
54765         [C99-based-standards] (SCNoLEAST8): Likewise.
54766         [C99-based-standards] (SCNuLEAST8): Likewise.
54767         [C99-based-standards] (SCNxLEAST8): Likewise.
54768         [C99-based-standards] (PRIdFAST8): Likewise.
54769         [C99-based-standards] (PRIiFAST8): Likewise.
54770         [C99-based-standards] (PRIoFAST8): Likewise.
54771         [C99-based-standards] (PRIuFAST8): Likewise.
54772         [C99-based-standards] (PRIxFAST8): Likewise.
54773         [C99-based-standards] (PRIXFAST8): Likewise.
54774         [C99-based-standards] (SCNdFAST8): Likewise.
54775         [C99-based-standards] (SCNiFAST8): Likewise.
54776         [C99-based-standards] (SCNoFAST8): Likewise.
54777         [C99-based-standards] (SCNuFAST8): Likewise.
54778         [C99-based-standards] (SCNxFAST8): Likewise.
54779         [C99-based-standards] (PRId16): Likewise.
54780         [C99-based-standards] (PRIi16): Likewise.
54781         [C99-based-standards] (PRIo16): Likewise.
54782         [C99-based-standards] (PRIu16): Likewise.
54783         [C99-based-standards] (PRIx16): Likewise.
54784         [C99-based-standards] (PRIX16): Likewise.
54785         [C99-based-standards] (SCNd16): Likewise.
54786         [C99-based-standards] (SCNi16): Likewise.
54787         [C99-based-standards] (SCNo16): Likewise.
54788         [C99-based-standards] (SCNu16): Likewise.
54789         [C99-based-standards] (SCNx16): Likewise.
54790         [C99-based-standards] (PRIdLEAST16): Likewise.
54791         [C99-based-standards] (PRIiLEAST16): Likewise.
54792         [C99-based-standards] (PRIoLEAST16): Likewise.
54793         [C99-based-standards] (PRIuLEAST16): Likewise.
54794         [C99-based-standards] (PRIxLEAST16): Likewise.
54795         [C99-based-standards] (PRIXLEAST16): Likewise.
54796         [C99-based-standards] (SCNdLEAST16): Likewise.
54797         [C99-based-standards] (SCNiLEAST16): Likewise.
54798         [C99-based-standards] (SCNoLEAST16): Likewise.
54799         [C99-based-standards] (SCNuLEAST16): Likewise.
54800         [C99-based-standards] (SCNxLEAST16): Likewise.
54801         [C99-based-standards] (PRIdFAST16): Likewise.
54802         [C99-based-standards] (PRIiFAST16): Likewise.
54803         [C99-based-standards] (PRIoFAST16): Likewise.
54804         [C99-based-standards] (PRIuFAST16): Likewise.
54805         [C99-based-standards] (PRIxFAST16): Likewise.
54806         [C99-based-standards] (PRIXFAST16): Likewise.
54807         [C99-based-standards] (SCNdFAST16): Likewise.
54808         [C99-based-standards] (SCNiFAST16): Likewise.
54809         [C99-based-standards] (SCNoFAST16): Likewise.
54810         [C99-based-standards] (SCNuFAST16): Likewise.
54811         [C99-based-standards] (SCNxFAST16): Likewise.
54812         [C99-based-standards] (PRId32): Likewise.
54813         [C99-based-standards] (PRIi32): Likewise.
54814         [C99-based-standards] (PRIo32): Likewise.
54815         [C99-based-standards] (PRIu32): Likewise.
54816         [C99-based-standards] (PRIx32): Likewise.
54817         [C99-based-standards] (PRIX32): Likewise.
54818         [C99-based-standards] (SCNd32): Likewise.
54819         [C99-based-standards] (SCNi32): Likewise.
54820         [C99-based-standards] (SCNo32): Likewise.
54821         [C99-based-standards] (SCNu32): Likewise.
54822         [C99-based-standards] (SCNx32): Likewise.
54823         [C99-based-standards] (PRIdLEAST32): Likewise.
54824         [C99-based-standards] (PRIiLEAST32): Likewise.
54825         [C99-based-standards] (PRIoLEAST32): Likewise.
54826         [C99-based-standards] (PRIuLEAST32): Likewise.
54827         [C99-based-standards] (PRIxLEAST32): Likewise.
54828         [C99-based-standards] (PRIXLEAST32): Likewise.
54829         [C99-based-standards] (SCNdLEAST32): Likewise.
54830         [C99-based-standards] (SCNiLEAST32): Likewise.
54831         [C99-based-standards] (SCNoLEAST32): Likewise.
54832         [C99-based-standards] (SCNuLEAST32): Likewise.
54833         [C99-based-standards] (SCNxLEAST32): Likewise.
54834         [C99-based-standards] (PRIdFAST32): Likewise.
54835         [C99-based-standards] (PRIiFAST32): Likewise.
54836         [C99-based-standards] (PRIoFAST32): Likewise.
54837         [C99-based-standards] (PRIuFAST32): Likewise.
54838         [C99-based-standards] (PRIxFAST32): Likewise.
54839         [C99-based-standards] (PRIXFAST32): Likewise.
54840         [C99-based-standards] (SCNdFAST32): Likewise.
54841         [C99-based-standards] (SCNiFAST32): Likewise.
54842         [C99-based-standards] (SCNoFAST32): Likewise.
54843         [C99-based-standards] (SCNuFAST32): Likewise.
54844         [C99-based-standards] (SCNxFAST32): Likewise.
54845         [C99-based-standards] (PRId64): Likewise.
54846         [C99-based-standards] (PRIi64): Likewise.
54847         [C99-based-standards] (PRIo64): Likewise.
54848         [C99-based-standards] (PRIu64): Likewise.
54849         [C99-based-standards] (PRIx64): Likewise.
54850         [C99-based-standards] (PRIX64): Likewise.
54851         [C99-based-standards] (SCNd64): Likewise.
54852         [C99-based-standards] (SCNi64): Likewise.
54853         [C99-based-standards] (SCNo64): Likewise.
54854         [C99-based-standards] (SCNu64): Likewise.
54855         [C99-based-standards] (SCNx64): Likewise.
54856         [C99-based-standards] (PRIdLEAST64): Likewise.
54857         [C99-based-standards] (PRIiLEAST64): Likewise.
54858         [C99-based-standards] (PRIoLEAST64): Likewise.
54859         [C99-based-standards] (PRIuLEAST64): Likewise.
54860         [C99-based-standards] (PRIxLEAST64): Likewise.
54861         [C99-based-standards] (PRIXLEAST64): Likewise.
54862         [C99-based-standards] (SCNdLEAST64): Likewise.
54863         [C99-based-standards] (SCNiLEAST64): Likewise.
54864         [C99-based-standards] (SCNoLEAST64): Likewise.
54865         [C99-based-standards] (SCNuLEAST64): Likewise.
54866         [C99-based-standards] (SCNxLEAST64): Likewise.
54867         [C99-based-standards] (PRIdFAST64): Likewise.
54868         [C99-based-standards] (PRIiFAST64): Likewise.
54869         [C99-based-standards] (PRIoFAST64): Likewise.
54870         [C99-based-standards] (PRIuFAST64): Likewise.
54871         [C99-based-standards] (PRIxFAST64): Likewise.
54872         [C99-based-standards] (PRIXFAST64): Likewise.
54873         [C99-based-standards] (SCNdFAST64): Likewise.
54874         [C99-based-standards] (SCNiFAST64): Likewise.
54875         [C99-based-standards] (SCNoFAST64): Likewise.
54876         [C99-based-standards] (SCNuFAST64): Likewise.
54877         [C99-based-standards] (SCNxFAST64): Likewise.
54878         [C99-based-standards] (PRIdMAX): Likewise.
54879         [C99-based-standards] (PRIiMAX): Likewise.
54880         [C99-based-standards] (PRIoMAX): Likewise.
54881         [C99-based-standards] (PRIuMAX): Likewise.
54882         [C99-based-standards] (PRIxMAX): Likewise.
54883         [C99-based-standards] (PRIXMAX): Likewise.
54884         [C99-based-standards] (SCNdMAX): Likewise.
54885         [C99-based-standards] (SCNiMAX): Likewise.
54886         [C99-based-standards] (SCNoMAX): Likewise.
54887         [C99-based-standards] (SCNuMAX): Likewise.
54888         [C99-based-standards] (SCNxMAX): Likewise.
54889         [C99-based-standards] (PRIdPTR): Likewise.
54890         [C99-based-standards] (PRIiPTR): Likewise.
54891         [C99-based-standards] (PRIoPTR): Likewise.
54892         [C99-based-standards] (PRIuPTR): Likewise.
54893         [C99-based-standards] (PRIxPTR): Likewise.
54894         [C99-based-standards] (PRIXPTR): Likewise.
54895         [C99-based-standards] (SCNdPTR): Likewise.
54896         [C99-based-standards] (SCNiPTR): Likewise.
54897         [C99-based-standards] (SCNoPTR): Likewise.
54898         [C99-based-standards] (SCNuPTR): Likewise.
54899         [C99-based-standards] (SCNxPTR): Likewise.
54900         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
54901         allow.
54902         * conform/data/stdint.h-data: Update comments to clarify
54903         requirements.
54904         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
54905         type.
54906         [C99-based standards] (INT8_MAX): Likewise.
54907         [C99-based standards] (INT16_MIN): Likewise.
54908         [C99-based standards] (INT16_MAX): Likewise.
54909         [C99-based standards] (INT32_MIN): Likewise.
54910         [C99-based standards] (INT32_MAX): Likewise.
54911         [C99-based standards] (INT64_MIN): Likewise.
54912         [C99-based standards] (INT64_MAX): Likewise.
54913         [C99-based standards] (UINT8_MAX): Likewise.
54914         [C99-based standards] (UINT16_MAX): Likewise.
54915         [C99-based standards] (UINT32_MAX): Likewise.
54916         [C99-based standards] (UINT64_MAX): Likewise.
54917         [C99-based standards] (INT_LEAST8_MIN): Likewise.
54918         [C99-based standards] (INT_LEAST8_MAX): Likewise.
54919         [C99-based standards] (INT_LEAST16_MIN): Likewise.
54920         [C99-based standards] (INT_LEAST16_MAX): Likewise.
54921         [C99-based standards] (INT_LEAST32_MIN): Likewise.
54922         [C99-based standards] (INT_LEAST32_MAX): Likewise.
54923         [C99-based standards] (INT_LEAST64_MIN): Likewise.
54924         [C99-based standards] (INT_LEAST64_MAX): Likewise.
54925         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
54926         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
54927         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
54928         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
54929         [C99-based standards] (INT_FAST8_MIN): Likewise.
54930         [C99-based standards] (INT_FAST8_MAX): Likewise.
54931         [C99-based standards] (INT_FAST16_MIN): Likewise.
54932         [C99-based standards] (INT_FAST16_MAX): Likewise.
54933         [C99-based standards] (INT_FAST32_MIN): Likewise.
54934         [C99-based standards] (INT_FAST32_MAX): Likewise.
54935         [C99-based standards] (INT_FAST64_MIN): Likewise.
54936         [C99-based standards] (INT_FAST64_MAX): Likewise.
54937         [C99-based standards] (UINT_FAST8_MAX): Likewise.
54938         [C99-based standards] (UINT_FAST16_MAX): Likewise.
54939         [C99-based standards] (UINT_FAST32_MAX): Likewise.
54940         [C99-based standards] (UINT_FAST64_MAX): Likewise.
54941         [C99-based standards] (INTPTR_MIN): Likewise.
54942         [C99-based standards] (INTPTR_MAX): Likewise.
54943         [C99-based standards] (UINTPTR_MAX): Likewise.
54944         [C99-based standards] (INTMAX_MIN): Likewise.
54945         [C99-based standards] (INTMAX_MAX): Likewise.
54946         [C99-based standards] (UINTMAX_MAX): Likewise.
54947         [C99-based standards] (PTRDIFF_MIN): Likewise.
54948         [C99-based standards] (PTRDIFF_MAX): Likewise.
54949         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
54950         [C99-based standards] (SIZE_MAX): Likewise.
54951         [C99-based standards] (WCHAR_MAX): Likewise.
54952         [C99-based standards] (WINT_MAX): Likewise.
54953         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
54954         constraint on value.
54955         [C99-based standards] (WCHAR_MIN): Likewise.
54956         [C99-based standards] (WINT_MIN): Likewise.
54957         [C99-based standards] (*_t): Allow.
54958         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
54959         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
54960         Include math.h-data and complex.h-data.  Remove all expectations
54961         of math.h and complex.h contents.
54962         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
54963         at end of line.
54964         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
54965         (struct tm): Expect tag.
54966         [C99-based-standards] (wcstof): Expect function.
54967         [C99-based-standards] (wcstold): Likewise.
54968         [C99-based-standards] (wcstoll): Likewise.
54969         [C99-based-standards] (wcstoull): Likewise.
54970         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
54971         macro-int-constant.  Specify type.
54972         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
54973         constraint on value.
54974         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54975         Specify type.
54976         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
54977         Specify value.
54978         [ISO C standards]: Do not allow headers.
54979         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
54980         wcs[abcdefghijklmnopqrstuvwxyz]*.
54981         [ISO C standards] (*_t): Do not allow.
54982         * conform/data/wctype.h-data [C99-based standards] (iswblank):
54983         Expect function.
54984         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
54985         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54986         Specify type.
54987         [ISO C standards]: Do not allow headers.
54988         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
54989         is[abcdefghijklmnopqrstuvwxyz]*.
54990         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
54991         to[abcdefghijklmnopqrstuvwxyz]*.
54992         [ISO C standards] (*_t): Do not allow.
54993         * conform/data/stdalign.h-data: New file.
54994         * conform/data/stdbool.h-data: Likewise.
54995         * conform/data/stdnoreturn.h-data: Likewise.
54997 2012-11-07  Roland McGrath  <roland@hack.frob.com>
54999         [BZ #14815]
55000         * manual/filesys.texi (Directory Entries): Typo fix.
55001         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
55003 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55005         * elf/elf.h (EM_AARCH64): New macro.
55006         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
55007         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
55008         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
55009         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
55010         (R_AARCH64_TLSDESC): Likewise.
55011         (NT_ARM_TLS): Likewise.
55012         (NT_ARM_HW_BREAK): Likewise.
55013         (NT_ARM_HW_WATCH): Likewise.
55015 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55017         [BZ #14811]
55018         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
55019         (__ieee754_powl): Saturate nonzero exponents with absolute value
55020         below 0x1p-79 to +/- 0x1p-79.
55021         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
55022         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
55023         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
55024         nonzero exponents with absolute value below 0x1p-32 to +/-
55025         0x1p-32.
55026         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
55027         (__ieee754_powl): Saturate nonzero exponents with absolute value
55028         below 0x1p-79 to +/- 0x1p-79.
55029         * math/libm-test.inc (pow_test): Add more tests.
55031 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55033         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
55034         _dl_s390_cap_flags with kernel. Increase string length.
55035         (_dl_s390_platforms): Add z196 and zEC12.
55037 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55039         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
55040         Change XOPEN21K to XOPEN2K.
55042 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
55044         * string/memmove.c: Use memcpy when possible.
55046 2012-11-06  Andreas Jaeger  <aj@suse.de>
55048         * po/eo.po: Update from translation team.
55050 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
55052         [BZ #14793]
55053         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
55054         exponent and small x and y exponents, scale x or y up.  Increase
55055         by 2 the exponent used in scaling up.
55056         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55057         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55058         * math/libm-test.inc (fma_test): Add more tests.
55059         (fma_test_towardzero): Likewise.
55060         (fma_test_downward): Likewise.
55061         (fma_test_upward): Likewise.
55063 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
55065         [BZ #14805]
55066         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
55067         fenv_t *.
55069         [BZ #14801]
55070         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
55071         namespace for names of struct fields.
55072         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
55073         fenv_t fields.
55074         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
55075         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
55077 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55079         [BZ #3665]
55080         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
55082 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55084         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
55085         PTR_DEMANGLE.
55087         [BZ #5246]
55088         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
55089         PTR_DEMANGLE.
55091 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
55093         [BZ #14797]
55094         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
55095         definitely overflow as x * y not x * y + z.
55096         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55097         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55098         * math/libm-test.inc (fma_test): Add more tests.
55099         (fma_test_towardzero): Likewise.
55100         (fma_test_downward): Likewise.
55101         (fma_test_upward): Likewise.
55103 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
55105         [BZ #157]
55107         * include/stub-tag.h: Remove file.
55108         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
55109         '#include' of it.
55110         * manual/maint.texi (Porting): Don't reference it.
55111         * Makerules ($(objpfx)stubs): Likewise.
55112         * dirent/closedir.c: Don't include <stub-tag.h>.
55113         * dirent/dirfd.c: Likewise.
55114         * dirent/fdopendir.c: Likewise.
55115         * dirent/getdents.c: Likewise.
55116         * dirent/getdents64.c: Likewise.
55117         * dirent/opendir.c: Likewise.
55118         * dirent/readdir.c: Likewise.
55119         * dirent/readdir64.c: Likewise.
55120         * dirent/readdir64_r.c: Likewise.
55121         * dirent/readdir_r.c: Likewise.
55122         * dirent/rewinddir.c: Likewise.
55123         * dirent/seekdir.c: Likewise.
55124         * dirent/telldir.c: Likewise.
55125         * gmon/profil.c: Likewise.
55126         * grp/setgroups.c: Likewise.
55127         * inet/if_index.c: Likewise.
55128         * io/access.c: Likewise.
55129         * io/chdir.c: Likewise.
55130         * io/chmod.c: Likewise.
55131         * io/chown.c: Likewise.
55132         * io/close.c: Likewise.
55133         * io/dup.c: Likewise.
55134         * io/dup2.c: Likewise.
55135         * io/dup3.c: Likewise.
55136         * io/euidaccess.c: Likewise.
55137         * io/faccessat.c: Likewise.
55138         * io/fchdir.c: Likewise.
55139         * io/fchmod.c: Likewise.
55140         * io/fchmodat.c: Likewise.
55141         * io/fchown.c: Likewise.
55142         * io/fchownat.c: Likewise.
55143         * io/fcntl.c: Likewise.
55144         * io/flock.c: Likewise.
55145         * io/fstatfs.c: Likewise.
55146         * io/fstatfs64.c: Likewise.
55147         * io/fstatvfs.c: Likewise.
55148         * io/fstatvfs64.c: Likewise.
55149         * io/futimens.c: Likewise.
55150         * io/fxstat.c: Likewise.
55151         * io/fxstat64.c: Likewise.
55152         * io/fxstatat.c: Likewise.
55153         * io/fxstatat64.c: Likewise.
55154         * io/getcwd.c: Likewise.
55155         * io/isatty.c: Likewise.
55156         * io/lchmod.c: Likewise.
55157         * io/lchown.c: Likewise.
55158         * io/link.c: Likewise.
55159         * io/linkat.c: Likewise.
55160         * io/lseek.c: Likewise.
55161         * io/lseek64.c: Likewise.
55162         * io/lxstat64.c: Likewise.
55163         * io/mkdir.c: Likewise.
55164         * io/mkdirat.c: Likewise.
55165         * io/mkfifo.c: Likewise.
55166         * io/mkfifoat.c: Likewise.
55167         * io/open.c: Likewise.
55168         * io/open64.c: Likewise.
55169         * io/openat.c: Likewise.
55170         * io/openat64.c: Likewise.
55171         * io/pipe.c: Likewise.
55172         * io/pipe2.c: Likewise.
55173         * io/poll.c: Likewise.
55174         * io/posix_fadvise.c: Likewise.
55175         * io/posix_fadvise64.c: Likewise.
55176         * io/posix_fallocate.c: Likewise.
55177         * io/posix_fallocate64.c: Likewise.
55178         * io/read.c: Likewise.
55179         * io/readlink.c: Likewise.
55180         * io/readlinkat.c: Likewise.
55181         * io/rmdir.c: Likewise.
55182         * io/sendfile.c: Likewise.
55183         * io/sendfile64.c: Likewise.
55184         * io/statfs.c: Likewise.
55185         * io/statfs64.c: Likewise.
55186         * io/statvfs.c: Likewise.
55187         * io/statvfs64.c: Likewise.
55188         * io/symlink.c: Likewise.
55189         * io/symlinkat.c: Likewise.
55190         * io/ttyname.c: Likewise.
55191         * io/ttyname_r.c: Likewise.
55192         * io/umask.c: Likewise.
55193         * io/unlink.c: Likewise.
55194         * io/unlinkat.c: Likewise.
55195         * io/utime.c: Likewise.
55196         * io/utimensat.c: Likewise.
55197         * io/write.c: Likewise.
55198         * io/xmknod.c: Likewise.
55199         * io/xmknodat.c: Likewise.
55200         * io/xstat.c: Likewise.
55201         * io/xstat64.c: Likewise.
55202         * login/getpt.c: Likewise.
55203         * login/grantpt.c: Likewise.
55204         * login/unlockpt.c: Likewise.
55205         * math/e_acoshl.c: Likewise.
55206         * math/e_acosl.c: Likewise.
55207         * math/e_asinl.c: Likewise.
55208         * math/e_atan2l.c: Likewise.
55209         * math/e_atanhl.c: Likewise.
55210         * math/e_coshl.c: Likewise.
55211         * math/e_expl.c: Likewise.
55212         * math/e_fmodl.c: Likewise.
55213         * math/e_gammal_r.c: Likewise.
55214         * math/e_hypotl.c: Likewise.
55215         * math/e_j0l.c: Likewise.
55216         * math/e_j1l.c: Likewise.
55217         * math/e_jnl.c: Likewise.
55218         * math/e_lgammal_r.c: Likewise.
55219         * math/e_log10l.c: Likewise.
55220         * math/e_log2l.c: Likewise.
55221         * math/e_logl.c: Likewise.
55222         * math/e_powl.c: Likewise.
55223         * math/e_rem_pio2l.c: Likewise.
55224         * math/e_sinhl.c: Likewise.
55225         * math/e_sqrtl.c: Likewise.
55226         * math/fclrexcpt.c: Likewise.
55227         * math/fedisblxcpt.c: Likewise.
55228         * math/feenablxcpt.c: Likewise.
55229         * math/fegetenv.c: Likewise.
55230         * math/fegetexcept.c: Likewise.
55231         * math/fegetround.c: Likewise.
55232         * math/feholdexcpt.c: Likewise.
55233         * math/fesetenv.c: Likewise.
55234         * math/fesetround.c: Likewise.
55235         * math/feupdateenv.c: Likewise.
55236         * math/fgetexcptflg.c: Likewise.
55237         * math/fraiseexcpt.c: Likewise.
55238         * math/fsetexcptflg.c: Likewise.
55239         * math/ftestexcept.c: Likewise.
55240         * math/k_cosl.c: Likewise.
55241         * math/k_rem_pio2l.c: Likewise.
55242         * math/k_sinl.c: Likewise.
55243         * math/k_tanl.c: Likewise.
55244         * math/s_asinhl.c: Likewise.
55245         * math/s_atanl.c: Likewise.
55246         * math/s_cbrtl.c: Likewise.
55247         * math/s_erfl.c: Likewise.
55248         * math/s_expm1l.c: Likewise.
55249         * math/s_log1pl.c: Likewise.
55250         * math/s_tanhl.c: Likewise.
55251         * misc/acct.c: Likewise.
55252         * misc/brk.c: Likewise.
55253         * misc/chflags.c: Likewise.
55254         * misc/chroot.c: Likewise.
55255         * misc/fchflags.c: Likewise.
55256         * misc/fgetxattr.c: Likewise.
55257         * misc/flistxattr.c: Likewise.
55258         * misc/fremovexattr.c: Likewise.
55259         * misc/fsetxattr.c: Likewise.
55260         * misc/fsync.c: Likewise.
55261         * misc/ftruncate.c: Likewise.
55262         * misc/futimes.c: Likewise.
55263         * misc/futimesat.c: Likewise.
55264         * misc/getdomain.c: Likewise.
55265         * misc/getdtsz.c: Likewise.
55266         * misc/gethostid.c: Likewise.
55267         * misc/gethostname.c: Likewise.
55268         * misc/getloadavg.c: Likewise.
55269         * misc/getpagesize.c: Likewise.
55270         * misc/getsysstats.c: Likewise.
55271         * misc/getxattr.c: Likewise.
55272         * misc/gtty.c: Likewise.
55273         * misc/ioctl.c: Likewise.
55274         * misc/lgetxattr.c: Likewise.
55275         * misc/listxattr.c: Likewise.
55276         * misc/llistxattr.c: Likewise.
55277         * misc/lremovexattr.c: Likewise.
55278         * misc/lsetxattr.c: Likewise.
55279         * misc/lutimes.c: Likewise.
55280         * misc/madvise.c: Likewise.
55281         * misc/mincore.c: Likewise.
55282         * misc/mlock.c: Likewise.
55283         * misc/mlockall.c: Likewise.
55284         * misc/mmap.c: Likewise.
55285         * misc/mprotect.c: Likewise.
55286         * misc/msync.c: Likewise.
55287         * misc/munlock.c: Likewise.
55288         * misc/munlockall.c: Likewise.
55289         * misc/munmap.c: Likewise.
55290         * misc/preadv.c: Likewise.
55291         * misc/preadv64.c: Likewise.
55292         * misc/ptrace.c: Likewise.
55293         * misc/pwritev.c: Likewise.
55294         * misc/pwritev64.c: Likewise.
55295         * misc/readv.c: Likewise.
55296         * misc/reboot.c: Likewise.
55297         * misc/remap_file_pages.c: Likewise.
55298         * misc/removexattr.c: Likewise.
55299         * misc/revoke.c: Likewise.
55300         * misc/select.c: Likewise.
55301         * misc/setdomain.c: Likewise.
55302         * misc/setegid.c: Likewise.
55303         * misc/seteuid.c: Likewise.
55304         * misc/sethostid.c: Likewise.
55305         * misc/sethostname.c: Likewise.
55306         * misc/setregid.c: Likewise.
55307         * misc/setreuid.c: Likewise.
55308         * misc/setxattr.c: Likewise.
55309         * misc/sstk.c: Likewise.
55310         * misc/stty.c: Likewise.
55311         * misc/swapoff.c: Likewise.
55312         * misc/swapon.c: Likewise.
55313         * misc/sync.c: Likewise.
55314         * misc/syncfs.c: Likewise.
55315         * misc/syscall.c: Likewise.
55316         * misc/truncate.c: Likewise.
55317         * misc/ualarm.c: Likewise.
55318         * misc/usleep.c: Likewise.
55319         * misc/ustat.c: Likewise.
55320         * misc/utimes.c: Likewise.
55321         * misc/vhangup.c: Likewise.
55322         * misc/writev.c: Likewise.
55323         * posix/_exit.c: Likewise.
55324         * posix/alarm.c: Likewise.
55325         * posix/execve.c: Likewise.
55326         * posix/fexecve.c: Likewise.
55327         * posix/fork.c: Likewise.
55328         * posix/fpathconf.c: Likewise.
55329         * posix/getaddrinfo.c: Likewise.
55330         * posix/getegid.c: Likewise.
55331         * posix/geteuid.c: Likewise.
55332         * posix/getgid.c: Likewise.
55333         * posix/getgroups.c: Likewise.
55334         * posix/getlogin.c: Likewise.
55335         * posix/getlogin_r.c: Likewise.
55336         * posix/getpgid.c: Likewise.
55337         * posix/getpid.c: Likewise.
55338         * posix/getppid.c: Likewise.
55339         * posix/getresgid.c: Likewise.
55340         * posix/getresuid.c: Likewise.
55341         * posix/getsid.c: Likewise.
55342         * posix/getuid.c: Likewise.
55343         * posix/glob64.c: Likewise.
55344         * posix/nanosleep.c: Likewise.
55345         * posix/pathconf.c: Likewise.
55346         * posix/pause.c: Likewise.
55347         * posix/posix_madvise.c: Likewise.
55348         * posix/pread.c: Likewise.
55349         * posix/pread64.c: Likewise.
55350         * posix/pwrite.c: Likewise.
55351         * posix/pwrite64.c: Likewise.
55352         * posix/sched_getaffinity.c: Likewise.
55353         * posix/sched_getp.c: Likewise.
55354         * posix/sched_gets.c: Likewise.
55355         * posix/sched_primax.c: Likewise.
55356         * posix/sched_primin.c: Likewise.
55357         * posix/sched_rr_gi.c: Likewise.
55358         * posix/sched_setaffinity.c: Likewise.
55359         * posix/sched_setp.c: Likewise.
55360         * posix/sched_sets.c: Likewise.
55361         * posix/sched_yield.c: Likewise.
55362         * posix/setgid.c: Likewise.
55363         * posix/setlogin.c: Likewise.
55364         * posix/setpgid.c: Likewise.
55365         * posix/setresgid.c: Likewise.
55366         * posix/setresuid.c: Likewise.
55367         * posix/setsid.c: Likewise.
55368         * posix/setuid.c: Likewise.
55369         * posix/sleep.c: Likewise.
55370         * posix/spawni.c: Likewise.
55371         * posix/sysconf.c: Likewise.
55372         * posix/times.c: Likewise.
55373         * posix/wait.c: Likewise.
55374         * posix/wait3.c: Likewise.
55375         * posix/wait4.c: Likewise.
55376         * posix/waitpid.c: Likewise.
55377         * resolv/gai_sigqueue.c: Likewise.
55378         * resource/getpriority.c: Likewise.
55379         * resource/getrlimit.c: Likewise.
55380         * resource/getrusage.c: Likewise.
55381         * resource/nice.c: Likewise.
55382         * resource/setpriority.c: Likewise.
55383         * resource/setrlimit.c: Likewise.
55384         * resource/ulimit.c: Likewise.
55385         * rt/aio_cancel.c: Likewise.
55386         * rt/aio_fsync.c: Likewise.
55387         * rt/aio_read.c: Likewise.
55388         * rt/aio_sigqueue.c: Likewise.
55389         * rt/aio_suspend.c: Likewise.
55390         * rt/aio_write.c: Likewise.
55391         * rt/clock_getres.c: Likewise.
55392         * rt/clock_gettime.c: Likewise.
55393         * rt/clock_nanosleep.c: Likewise.
55394         * rt/clock_settime.c: Likewise.
55395         * rt/lio_listio.c: Likewise.
55396         * rt/mq_close.c: Likewise.
55397         * rt/mq_getattr.c: Likewise.
55398         * rt/mq_notify.c: Likewise.
55399         * rt/mq_open.c: Likewise.
55400         * rt/mq_receive.c: Likewise.
55401         * rt/mq_send.c: Likewise.
55402         * rt/mq_setattr.c: Likewise.
55403         * rt/mq_timedreceive.c: Likewise.
55404         * rt/mq_timedsend.c: Likewise.
55405         * rt/mq_unlink.c: Likewise.
55406         * rt/shm_open.c: Likewise.
55407         * rt/shm_unlink.c: Likewise.
55408         * rt/timer_create.c: Likewise.
55409         * rt/timer_delete.c: Likewise.
55410         * rt/timer_getoverr.c: Likewise.
55411         * rt/timer_gettime.c: Likewise.
55412         * rt/timer_settime.c: Likewise.
55413         * setjmp/__longjmp.c: Likewise.
55414         * setjmp/setjmp.c: Likewise.
55415         * signal/kill.c: Likewise.
55416         * signal/killpg.c: Likewise.
55417         * signal/raise.c: Likewise.
55418         * signal/sigaction.c: Likewise.
55419         * signal/sigaltstack.c: Likewise.
55420         * signal/sigblock.c: Likewise.
55421         * signal/sigignore.c: Likewise.
55422         * signal/sigintr.c: Likewise.
55423         * signal/signal.c: Likewise.
55424         * signal/sigpause.c: Likewise.
55425         * signal/sigpending.c: Likewise.
55426         * signal/sigqueue.c: Likewise.
55427         * signal/sigreturn.c: Likewise.
55428         * signal/sigset.c: Likewise.
55429         * signal/sigsetmask.c: Likewise.
55430         * signal/sigstack.c: Likewise.
55431         * signal/sigsuspend.c: Likewise.
55432         * signal/sigtimedwait.c: Likewise.
55433         * signal/sigvec.c: Likewise.
55434         * signal/sigwait.c: Likewise.
55435         * signal/sigwaitinfo.c: Likewise.
55436         * signal/sysv_signal.c: Likewise.
55437         * socket/accept.c: Likewise.
55438         * socket/accept4.c: Likewise.
55439         * socket/bind.c: Likewise.
55440         * socket/connect.c: Likewise.
55441         * socket/getpeername.c: Likewise.
55442         * socket/getsockname.c: Likewise.
55443         * socket/getsockopt.c: Likewise.
55444         * socket/isfdtype.c: Likewise.
55445         * socket/listen.c: Likewise.
55446         * socket/recv.c: Likewise.
55447         * socket/recvfrom.c: Likewise.
55448         * socket/recvmsg.c: Likewise.
55449         * socket/send.c: Likewise.
55450         * socket/sendmsg.c: Likewise.
55451         * socket/sendto.c: Likewise.
55452         * socket/setsockopt.c: Likewise.
55453         * socket/shutdown.c: Likewise.
55454         * socket/sockatmark.c: Likewise.
55455         * socket/socket.c: Likewise.
55456         * socket/socketpair.c: Likewise.
55457         * stdio-common/ctermid.c: Likewise.
55458         * stdio-common/cuserid.c: Likewise.
55459         * stdio-common/remove.c: Likewise.
55460         * stdio-common/rename.c: Likewise.
55461         * stdio-common/renameat.c: Likewise.
55462         * stdio-common/tempname.c: Likewise.
55463         * stdlib/getcontext.c: Likewise.
55464         * stdlib/makecontext.c: Likewise.
55465         * stdlib/setcontext.c: Likewise.
55466         * stdlib/swapcontext.c: Likewise.
55467         * stdlib/system.c: Likewise.
55468         * streams/fattach.c: Likewise.
55469         * streams/fdetach.c: Likewise.
55470         * streams/getmsg.c: Likewise.
55471         * streams/getpmsg.c: Likewise.
55472         * streams/putmsg.c: Likewise.
55473         * streams/putpmsg.c: Likewise.
55474         * sysdeps/unix/bsd/getpt.c: Likewise.
55475         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
55476         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
55477         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55479         Likewise.
55480         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
55481         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55482         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
55483         * sysvipc/msgctl.c: Likewise.
55484         * sysvipc/msgget.c: Likewise.
55485         * sysvipc/msgrcv.c: Likewise.
55486         * sysvipc/msgsnd.c: Likewise.
55487         * sysvipc/semctl.c: Likewise.
55488         * sysvipc/semget.c: Likewise.
55489         * sysvipc/semop.c: Likewise.
55490         * sysvipc/semtimedop.c: Likewise.
55491         * sysvipc/shmat.c: Likewise.
55492         * sysvipc/shmctl.c: Likewise.
55493         * sysvipc/shmdt.c: Likewise.
55494         * sysvipc/shmget.c: Likewise.
55495         * termios/tcdrain.c: Likewise.
55496         * termios/tcflow.c: Likewise.
55497         * termios/tcflush.c: Likewise.
55498         * termios/tcgetattr.c: Likewise.
55499         * termios/tcgetpgrp.c: Likewise.
55500         * termios/tcsendbrk.c: Likewise.
55501         * termios/tcsetattr.c: Likewise.
55502         * termios/tcsetpgrp.c: Likewise.
55503         * time/adjtime.c: Likewise.
55504         * time/clock.c: Likewise.
55505         * time/getitimer.c: Likewise.
55506         * time/gettimeofday.c: Likewise.
55507         * time/setitimer.c: Likewise.
55508         * time/settimeofday.c: Likewise.
55509         * time/stime.c: Likewise.
55510         * time/time.c: Likewise.
55512 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
55514         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
55515         /usr/old/bin.
55517         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
55518         instead of spaces.
55519         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
55521 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
55523         [BZ #14796]
55524         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
55525         FE_TONEAREST before applying Dekker multiplication and Knuth
55526         addition.  Clear inexact exceptions and check for exact zero
55527         results afterwards.
55528         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55529         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55530         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55531         * math/libm-test.inc (fma_test): Add more tests.
55532         (fma_test_towardzero): Likewise.
55533         (fma_test_downward): Likewise.
55534         (fma_test_upward): Likewise.
55535         * sysdeps/generic/math_private.h (default_libc_fesetround): New
55536         function.
55537         (libc_fesetround): New macro.
55538         (libc_fesetroundf): Likewise.
55539         (libc_fesetroundl): Likewise.
55540         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
55541         function.
55542         (libc_fesetround_387): Likewise.
55543         (libc_fesetroundf): New macro.
55544         (libc_fesetround): Likewise.
55545         (libc_fesetroundl): Likewise.
55546         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
55547         function.
55548         (libc_fesetroundf): New macro.
55549         (libc_fesetround): Likewise.
55550         (libc_fesetroundl): Likewise.
55551         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
55552         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
55553         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
55554         libm_hidden_ver.
55555         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
55556         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
55557         libm_hidden_def.
55558         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
55559         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
55560         libm_hidden_ver.
55561         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
55562         libm_hidden_def.
55564         [BZ #3439]
55565         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
55566         integer constant usable in #if and use that to give value to enum
55567         constant.
55568         (FE_DIVBYZERO): Likewise.
55569         (FE_UNDERFLOW): Likewise.
55570         (FE_OVERFLOW): Likewise.
55571         (FE_INVALID): Likewise.
55572         (FE_INVALID_SNAN): Likewise.
55573         (FE_INVALID_ISI): Likewise.
55574         (FE_INVALID_IDI): Likewise.
55575         (FE_INVALID_ZDZ): Likewise.
55576         (FE_INVALID_IMZ): Likewise.
55577         (FE_INVALID_COMPARE): Likewise.
55578         (FE_INVALID_SOFTWARE): Likewise.
55579         (FE_INVALID_SQRT): Likewise.
55580         (FE_INVALID_INTEGER_CONVERSION): Likewise.
55581         (FE_TONEAREST): Likewise.
55582         (FE_TOWARDZERO): Likewise.
55583         (FE_UPWARD): Likewise.
55584         (FE_DOWNWARD): Likewise.
55585         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
55586         (FE_DIVBYZERO): Likewise.
55587         (FE_OVERFLOW): Likewise.
55588         (FE_UNDERFLOW): Likewise.
55589         (FE_INEXACT): Likewise.
55590         (FE_TONEAREST): Likewise.
55591         (FE_DOWNWARD): Likewise.
55592         (FE_UPWARD): Likewise.
55593         (FE_TOWARDZERO): Likewise.
55594         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
55595         (FE_UNDERFLOW): Likewise.
55596         (FE_OVERFLOW): Likewise.
55597         (FE_DIVBYZERO): Likewise.
55598         (FE_INVALID): Likewise.
55599         (FE_TONEAREST): Likewise.
55600         (FE_TOWARDZERO): Likewise.
55601         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
55602         (FE_OVERFLOW): Likewise.
55603         (FE_UNDERFLOW): Likewise.
55604         (FE_DIVBYZERO): Likewise.
55605         (FE_INEXACT): Likewise.
55606         (FE_TONEAREST): Likewise.
55607         (FE_TOWARDZERO): Likewise.
55608         (FE_UPWARD): Likewise.
55609         (FE_DOWNWARD): Likewise.
55610         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
55611         (FE_DIVBYZERO): Likewise.
55612         (FE_OVERFLOW): Likewise.
55613         (FE_UNDERFLOW): Likewise.
55614         (FE_INEXACT): Likewise.
55615         (FE_TONEAREST): Likewise.
55616         (FE_DOWNWARD): Likewise.
55617         (FE_UPWARD): Likewise.
55618         (FE_TOWARDZERO): Likewise.
55620 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
55622         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
55624 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
55626         * scripts/cross-test-ssh.sh (command): Use newlines to separate
55627         commands.  Quote $PWD.
55628         (blacklist_exports): Don't use remove_newlines.  Replace "declare
55629         -x" by "export".
55630         (remove_newlines): Remove.
55632 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
55634         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
55635         * stdlib/stdlib.h (atof): Moved to ...
55636         * include/bits/stdlib-float.h: Here.  New file.
55637         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
55638         * stdlib/bits/stdlib-float.h: New file.
55639         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
55640         -mno-sse -mno-mmx.
55641         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
55642         <xmmintrin.h>.
55644 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55646         * conform/conformtest.pl (@headers): Add fenv.h.
55647         * conform/data/fenv.h-data: New file.
55648         * include/fenv.h [_ISOMAC]: Disable all contents of file except
55649         include of <math/fenv.h>.
55651         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
55652         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
55653         && !UNIX98].  Enables tests for XOPEN2K8.
55654         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
55655         POSIX2008]: Likewise.
55657         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
55658         (struct rusage): Do not expect type or its members.
55660         [BZ #3439]
55661         * math/math.h (FP_NAN): Define macro to integer constant usable in
55662         #if and use that to give value to enum constant.
55663         (FP_INFINITE): Likewise.
55664         (FP_ZERO): Likewise.
55665         (FP_SUBNORMAL): Likewise.
55666         (FP_NORMAL): Likewise.
55668 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
55670         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
55671         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
55672         arguments.
55674 2012-11-02  Roland McGrath  <roland@hack.frob.com>
55676         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
55677         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
55678         autoconf-time if not.
55679         * configure.in: Remove AC_PREREQ.
55681 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55683         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
55684         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
55685         of the internal implementation.
55687 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55689         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
55690         except include of <misc/sys/syslog.h>.
55692 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
55695         function returns with a NULL context exit with zero.
55697 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55699         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
55701 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
55703         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
55704         (run_program_cmd): This.
55705         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
55706         (tst_langinfo): New variable.  Use it.
55708 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
55710         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
55711         floating point opcodes.
55713 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55715         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
55716         variable.
55718         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
55720         * sysdeps/mach/hurd/powerpc: Remove directory.
55721         * sysdeps/mach/powerpc: Likewise.
55723 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55725         * scripts/check-local-headers.sh: Ignore c++ headers.
55727 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55729         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
55730         __libc_cleanup_region_start argument.
55732 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
55734         [BZ #14784]
55735         [BZ #14785]
55736         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
55737         x * y using scaling, not as x * y + z.
55738         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55739         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55740         * math/libm-test.inc (fma_test): Add more tests.
55741         (fma_test_towardzero): Likewise.
55742         (fma_test_downward): Likewise.
55743         (fma_test_upward): Likewise.
55745 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55747         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
55749 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55751         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
55752         New variable.
55754 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
55756         * rt/tst-shm.c (worker): Correct checking for mmap failure.
55758 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55761         Fix sort order.
55762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55763         Likewise.
55765 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55768         Fix the order of the list for glibc 2.17.
55769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55770         Likewise.
55772 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55776 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55778         [BZ #14610]
55779         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
55780         for low part of x being zero before using __atanl (y).
55781         * math/libm-test.inc (atan2_test): Add another test.
55783         * manual/install.texi (Configuring and compiling): Document
55784         general use of test-wrapper and test-wrapper-env.
55785         * INSTALL: Regenerated.
55787         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
55788         (__fma): Do not extract and scale down low bits on after-rounding
55789         systems when result rounded to normal precision would have normal
55790         exponent.
55791         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
55792         (__fmal): Do not extract and scale down low bits on after-rounding
55793         systems when result rounded to normal precision would have normal
55794         exponent.
55795         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
55796         (__fmal): Do not extract and scale down low bits on after-rounding
55797         systems when result rounded to normal precision would have normal
55798         exponent.
55799         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
55800         macro.
55801         (fma_test): Add more tests.
55802         (fma_test_towardzero): Likewise.
55803         (fma_test_downward): Likewise.
55804         (fma_test_upward): Likewise.
55806 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
55808         * sysdeps/i386/tininess.h: Renamed to ...
55809         * sysdeps/x86/tininess.h: This.
55810         * sysdeps/x86_64/tininess.h: Removed.
55812 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55814         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
55815         input.  Use $(build-program-cmd).
55816         ($(objpfx)tst-array1-static.out): Likewise.
55817         ($(objpfx)tst-array2.out): Likewise.
55818         ($(objpfx)tst-array3.out): Likewise.
55819         ($(objpfx)tst-array4.out): Likewise.
55820         ($(objpfx)tst-array5.out): Likewise.
55821         ($(objpfx)tst-array5-static.out): Likewise.
55823 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
55825         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
55826         if defined.
55828         * nss/nsswitch.h (nss_interface_function): Provide new
55829         macro for use with NSS functions.
55830         * grp/initgroups.c: Use new macro.
55831         * nss/getXXbyYY.c: Likewise.
55832         * nss/getXXbyYY_r.c: Likewise.
55833         * nss/getXXent.c: Likewise.
55834         * nss/getXXent_r.c: Likewise.
55835         * sysdeps/posix/getaddrinfo.c: Likewise.
55837 2012-10-30  Andreas Jaeger  <aj@suse.de>
55839         * po/ru.po: Update Russion translation from translation project.
55841 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55843         [BZ #14152]
55844         [BZ #14783]
55845         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
55846         result and shift together with sticky bit instead of replicating
55847         round-to-nearest rounding.
55848         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55849         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55850         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
55851         missing underflow exceptions.
55852         (fma_test_towardzero): Add more tests.
55853         (fma_test_downward): Likewise.
55854         (fma_test_upward): Likewise.
55856         [BZ #14047]
55857         * sysdeps/generic/tininess.h: New file.
55858         * sysdeps/i386/tininess.h: Likewise.
55859         * sysdeps/sh/tininess.h: Likewise.
55860         * sysdeps/x86_64/tininess.h: Likewise.
55861         * stdlib/tst-strtod-underflow.c: Likewise.
55862         * stdlib/tst-tininess.c: Likewise.
55863         * stdlib/strtod_l.c: Include <tininess.h>.
55864         (round_and_return): Do not set errno for exact underflow cases.
55865         Force an underflow exception when setting errno for underflow.
55866         Determine underflow based on rounding to normal precision if
55867         TININESS_AFTER_ROUNDING.
55868         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
55869         ERANGE for exact underflow cases.
55870         * stdlib/Makefile (tests): Add tst-tininess and
55871         tst-strtod-underflow.
55872         ($(objpfx)tst-tininess): Use $(link-libm).
55873         ($(objpfx)tst-strtod-underflow): Likewise.
55875 2012-10-30  Andreas Jaeger  <aj@suse.de>
55877         [BZ#14767]
55878         * elf/Makefile (tests): Remove conditional for have-initfini-array
55879         since this is now always required and the variable does not exist
55880         anymore.
55881         (tests-static): Likewise.
55882         (modules-names): Likewise.
55884         * po/eo.po: Add Esperanto translation from translation project.
55886         * elf/tst-array1.c (fini_array): Make writeable so that it can be
55887         merged with constructor/destructor.
55888         (init_array): Likewise.
55889         * elf/tst-array2dep.c (fini_array): Likewise.
55890         (init_array): Likewise.
55892 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
55894         * manual/message.texi: Delete @cartouche tags.
55896 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
55898         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
55899         EOPNOTSUPP.
55900         * sysdeps/mach/hurd/fsync.c: Likewise.
55902         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
55903         [_POSIX_REALTIME_SIGNALS]: Change condition to
55904         [_POSIX_REALTIME_SIGNALS > 0].
55906 2012-10-27  Andreas Jaeger  <aj@suse.de>
55908         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
55909         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
55910         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
55911         [__WORDSIZE != 64]: Likewise.
55913 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
55915         *  iconvdata/tst-table.sh: Remove ${SHELL}.
55916         *  iconvdata/tst-tables.sh: Likewise.
55918 2012-10-25  David S. Miller  <davem@davemloft.net>
55920         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55921         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
55922         of strtoull.
55924         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
55925         ifunc-impl-list.c
55926         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55927         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
55928         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
55929         file.
55931 2012-10-25  Roland McGrath  <roland@hack.frob.com>
55933         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55934         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
55935         __getdirentries.
55937 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55938             Jim Blandy  <jimb@codesourcery.com>
55940         * scripts/cross-test-ssh.sh: New file.
55941         * manual/install.texi (Configuring and compiling): Document use of
55942         cross-test-ssh.sh.
55943         * INSTALL: Regenerated.
55945 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
55947         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
55948         EOPNOTSUPP.
55950 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55952         * Makeconfig (run-program-prefix): Fix comment.
55954 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55955             Jim Blandy  <jimb@codesourcery.com>
55957         * Makeconfig (test-wrapper): New variable,
55958         (test-wrapper-env): Likewise.
55959         [$(cross-compiling) = yes && $(test-wrapper) != ""]
55960         (run-built-tests): Define to yes.
55961         (run-program-prefix): Use $(test-wrapper).
55962         (built-program-cmd): Likewise.
55963         * Rules (make-test-out): Use $(test-wrapper-env) and
55964         $(host-built-program-cmd).
55965         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
55966         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
55967         tst-pathopt.sh.
55968         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
55969         $(test-wrapper-env) to tst-rtld-load-self.sh.
55970         ($(objpfx)order2.out): Use $(test-wrapper).
55971         ($(objpfx)tst-initorder.out): Likewise.
55972         ($(objpfx)tst-initorder2.out): Likewise.
55973         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
55974         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
55975         (test_wrapper_env): New variable.  Use it to run ld.so.
55976         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
55977         Use it to run ld.so.
55978         (test_wrapper_env): Likewise.
55979         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
55980         $(test-wrapper) to run-iconv-test.sh.
55981         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
55982         (ICONV): Use $test_wrapper.
55983         * posix/Makefile ($(objpfx)globtest.out): Pass
55984         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
55985         globtest.sh, not $(run-program-prefix).
55986         * posix/globtest.sh (run_via_rtld_prefix): New variable.
55987         (test_wrapper): Likewise.
55988         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
55989         set together with run_via_rtld_prefix.
55990         (run_program_prefix): Define in terms of test_wrapper and
55991         run_via_rtld_prefix.
55993 2012-10-24  Roland McGrath  <roland@hack.frob.com>
55995         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
55996         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
55997         Targets removed.
55999         [BZ #14743]
56000         * include/time.h: Remove librt_hidden_proto (clock_gettime).
56001         Declare __clock_getres, __clock_gettime, __clock_settime,
56002         __clock_nanosleep, and __clock_getcpuclockid.
56003         * rt/clock_gettime.c: Define __clock_gettime as an alias.
56004         Remove librt_hidden_def (clock_gettime).
56005         * sysdeps/unix/clock_gettime.c: Likewise.
56006         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
56007         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
56008         * rt/clock_getres.c: Define __clock_getres as an alias.
56009         * sysdeps/posix/clock_getres.c: Likewise.
56010         * rt/clock_settime.c: Define __clock_settime as an alias.
56011         * sysdeps/unix/clock_settime.c: Likewise.
56012         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
56013         * sysdeps/unix/clock_nanosleep.c: Likewise.
56014         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
56015         * rt/clock-compat.c: New file.
56016         * rt/Makefile (librt-routines): Add clock-compat and move
56017         $(clock-routines) to ...
56018         (routines): ... here, new variable.
56019         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
56020         Don't add get_clockfreq here.
56021         * rt/Versions (libc: GLIBC_2.17): New version set.
56022         Add clock_* symbols here.
56023         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
56024         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
56025         (GLIBC_2.17): Add clock_* symbols.
56026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56028         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56030         Likewise.
56031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56032         Likewise.
56033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56037         * NEWS: Mention the move.
56039         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56040         Use __open, __read, __close rather than their public counterparts.
56041         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56042         (__get_clockfreq_via_cpuinfo): Likewise.
56043         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
56044         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
56046         * config.h.in (HAVE_IFUNC): New #undef.
56047         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
56048         was successful.
56049         * configure: Regenerated.
56051 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56053         * configure.in: Move READELF check to start of file.
56054         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
56055         libc_cv_asm_gnu_indirect_function in the process.
56056         * configure: Regenerated.
56058 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
56060         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
56061         send the output to /dev/null.
56062         (libc_cv_cc_with_libunwind): Likewise.
56063         (libc_cv_as_noexecstack): Likewise.
56064         * configure: Regenerate.
56066 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
56068         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
56070         * posix/globtest.sh (TMPDIR): Do not set.
56071         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
56072         (testout): Likewise.
56074 2012-10-24  Andreas Jaeger  <aj@suse.de>
56076         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
56077         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
56078         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
56079         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
56080         posix_fadvise64, posix_fallocate64.
56082         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
56083         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
56084         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
56085         Likewise.
56086         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
56087         Likewise.
56088         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
56090         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
56091         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
56092         <bits/fcntl-linux.h>.
56093         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
56095         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
56096         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
56097         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
56098         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
56099         [__WORDSIZE != 64]: Likewise.
56101 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56103         * Makeconfig (run-built-tests): New variable.
56104         * Rules [$(cross-compiling) = yes]: Change condition to
56105         [$(run-built-tests) = no].
56106         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
56107         to [$(run-built-tests) = yes].
56108         * elf/Makefile [$(cross-compiling) = no]: Likewise.
56109         * grp/Makefile [$(cross-compiling) = no]: Likewise.
56110         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
56111         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
56112         * intl/Makefile [$(cross-compiling) = no]: Likewise.
56113         * io/Makefile [$(cross-compiling) = no]: Likewise.
56114         * libio/Makefile [$(cross-compiling) = no]: Likewise.
56115         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
56116         * misc/Makefile [$(cross-compiling) = no]: Likewise.
56117         * posix/Makefile [$(cross-compiling) = no]: Likewise.
56118         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
56119         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
56120         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
56121         * string/Makefile [$(cross-compiling) = no]: Likewise.
56123         * posix/Makefile ($(objpfx)globtest.out): Pass
56124         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
56125         $(rtld-installed-name).
56126         * posix/globtest.sh (elf_objpfx): Remove variable.
56127         (rtld_installed_name): Likewise.
56128         (library_path): Likewise.
56129         (run_program_prefix): New variable.  Use for running globtest
56130         binary.
56132 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
56133             Joseph Myers  <joseph@codesourcery.com>
56135         * Makeconfig (host-built-program-cmd): New variable.
56136         * elf/Makefile (tst-stackguard1-ARGS): Use
56137         $(host-built-program-cmd).
56138         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
56139         (tst-spawn-ARGS): Likewise.
56140         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
56142 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
56143             Jim Blandy  <jimb@codesourcery.com>
56145         * Makeconfig (run-via-rtld-prefix): New variable.
56146         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
56147         (built-program-cmd): Likewise.
56149 2012-10-22  Andreas Jaeger  <aj@suse.de>
56151         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
56152         __O_RSYNC if it exists, otherwise to O_SYNC.
56154 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
56155             Joseph Myers  <joseph@codesourcery.com>
56157         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
56158         /dev/null.
56159         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
56160         from /dev/null
56161         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
56162         /dev/null.
56164 2012-10-22  Andreas Jaeger  <aj@suse.de>
56166         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
56167         Define always.
56168         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
56170         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56171         bits/fcntl-linux.h.
56173         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
56174         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
56176         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
56177         to __O_LARGEFILE.
56178         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
56179         to __O_LARGEFILE.
56181 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
56182             Joseph Myers  <joseph@codesourcery.com>
56184         * config.make.in (NM): New variable.
56186 2012-10-21  Andreas Jaeger  <aj@suse.de>
56188         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
56189         definitions and declarations that are provided by
56190         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56192 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56194         [BZ #14683]
56195         * elf/Makefile (tests-static): Add tst-leaks1-static.
56196         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
56197         ($(objpfx)tst-leaks1-static): New rule.
56198         ($(objpfx)tst-leaks1-static-mem): Likewise.
56199         (tst-leaks1-static-ENV): New macro.
56200         * elf/dl-open.c (dl_open_worker): Check the main application
56201         only if SHARED is defined.
56202         * elf/tst-leaks1-static.c: New file.
56204 2012-10-20  Andreas Jaeger  <aj@suse.de>
56206         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
56207         generic values for Linux.
56208         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
56209         and declarations that are provided by <bits/fcntl-linux.h> and
56210         include <bits/fcntl-linux.h>.
56211         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56212         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56214 2012-10-20  Roland McGrath  <roland@hack.frob.com>
56216         * io/fcntl.h: Move include of <bits/types.h> to the top and
56217         include it unconditionally.
56219 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56221         * wcsmbs/Makefile (tests-ifunc): New variable.
56222         (tests): Add $(tests-ifunc).
56223         * wcsmbs/test-wcschr-ifunc.c: New file.
56224         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
56225         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
56226         * wcsmbs/test-wcslen-ifunc.c: Likewise.
56227         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
56228         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
56230         * string/Makefile (tests-ifunc): New variable.
56231         (tests): Add $(tests-ifunc).
56232         * string/test-memccpy.c (TEST_NAME): New macro.
56233         * string/test-memchr.c (TEST_NAME): Likewise.
56234         * string/test-memcmp.c (TEST_NAME): Likewise.
56235         * string/test-memcpy.c (TEST_NAME): Likewise.
56236         * string/test-memmem.c (TEST_NAME): Likewise.
56237         * string/test-memmove.c (TEST_NAME): Likewise.
56238         * string/test-memset.c (TEST_NAME): Likewise.
56239         * string/test-rawmemchr.c (TEST_NAME): Likewise.
56240         * string/test-stpcpy.c (TEST_NAME): Likewise.
56241         * string/test-stpncpy.c (TEST_NAME): Likewise.
56242         * string/test-strcasecmp.c (TEST_NAME): Likewise.
56243         * string/test-strcasestr.c (TEST_NAME): Likewise.
56244         * string/test-strcat.c (TEST_NAME): Likewise.
56245         * string/test-strchr.c (TEST_NAME): Likewise.
56246         * string/test-strcmp.c(TEST_NAME): Likewise.
56247         * string/test-strcpy.c (TEST_NAME): Likewise.
56248         * string/test-strcspn.c (TEST_NAME): Likewise.
56249         * string/test-strlen.c (TEST_NAME): Likewise.
56250         * string/test-strncasecmp.c (TEST_NAME): Likewise.
56251         * string/test-strncmp.c (TEST_NAME): Likewise.
56252         * string/test-strncpy.c (TEST_NAME): Likewise.
56253         * string/test-strnlen.c (TEST_NAME): Likewise.
56254         * string/test-strpbrk.c (TEST_NAME): Likewise.
56255         * string/test-strrchr.c (TEST_NAME): Likewise.
56256         * string/test-strspn.c (TEST_NAME): Likewise.
56257         * string/test-strstr.c (TEST_NAME): Likewise.
56258         * string/test-bcopy-ifunc.c: New file.
56259         * string/test-bzero-ifunc.c: Likewise.
56260         * string/test-memccpy-ifunc.c: Likewise.
56261         * string/test-memchr-ifunc.c: Likewise.
56262         * string/test-memcmp-ifunc.c: Likewise.
56263         * string/test-memcpy-ifunc.c: Likewise.
56264         * string/test-memmem-ifunc.c: Likewise.
56265         * string/test-memmove-ifunc.c: Likewise.
56266         * string/test-mempcpy-ifunc.c: Likewise.
56267         * string/test-memset-ifunc.c: Likewise.
56268         * string/test-rawmemchr-ifunc.c: Likewise.
56269         * string/test-stpcpy-ifunc.c: Likewise.
56270         * string/test-stpncpy-ifunc.c: Likewise.
56271         * string/test-strcasecmp-ifunc.c: Likewise.
56272         * string/test-strcasestr-ifunc.c: Likewise.
56273         * string/test-strcat-ifunc.c: Likewise.
56274         * string/test-strchr-ifunc.c: Likewise.
56275         * string/test-strchrnul-ifunc.c: Likewise.
56276         * string/test-strcmp-ifunc.c: Likewise.
56277         * string/test-strcpy-ifunc.c: Likewise.
56278         * string/test-strcspn-ifunc.c: Likewise.
56279         * string/test-strlen-ifunc.c: Likewise.
56280         * string/test-strncasecmp-ifunc.c: Likewise.
56281         * string/test-strncat-ifunc.c: Likewise.
56282         * string/test-strncmp-ifunc.c: Likewise.
56283         * string/test-strncpy-ifunc.c: Likewise.
56284         * string/test-strnlen-ifunc.c: Likewise.
56285         * string/test-strpbrk-ifunc.c: Likewise.
56286         * string/test-strrchr-ifunc.c: Likewise.
56287         * string/test-strspn-ifunc.c: Likewise.
56288         * string/test-strstr-ifunc.c: Likewise.
56290         * debug/Makefile (tests-ifunc): New variable.
56291         (tests): Add $(tests-ifunc).
56292         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
56293         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
56294         * debug/test-stpcpy_chk-ifunc.c: New file.
56295         * debug/test-strcpy_chk-ifunc.c: Likewise.
56297 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56299         [BZ #13601]
56300         * elf/dl-load.c (open_verify): Retry read if the entire ELF
56301         header is not read in.
56303 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
56305         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
56306         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
56307         directly.  Pass built executable to script as
56308         $(built-program-cmd).
56309         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
56310         $testprogram without using LD_LIBRARY_PATH and $ldso.
56312         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
56313         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
56314         $(rtld-installed-name).
56315         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
56316         (rtld_installed_name): Likewise.
56317         (library_path): Likewise.
56318         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
56319         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
56320         $(run-program-prefix) to tst-tables.sh.
56321         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
56322         it to run tst-table-from and tst-table-to.
56323         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
56324         Pass it to tst-table.sh.
56325         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
56326         $(run-program-prefix) to tst-gettext.sh.
56327         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
56328         tst-translit.sh.
56329         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
56330         tst-gettext2.sh.
56331         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
56332         to run tst-gettext.
56333         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
56334         to run tst-gettext2.
56335         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
56336         to run tst-translit.
56337         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
56338         $(run-program-prefix) to tst-mtrace.sh.
56339         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
56340         to run tst-mtrace.
56341         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
56342         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
56343         $(rtld-installed-name).
56344         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
56345         (rtld_installed_name): Likewise.
56346         (run_program_prefix): New variable.  Use it to run wordexp-test.
56348         * Makeconfig (ARCH): Remove all definitions.
56349         (machine): Likewise.
56350         [ARCH]: Remove conditional code.
56351         [!objdir]: Give error.
56352         [!objdir] (objpfx): Remove.
56353         [!objdir] (common-objpfx): Likewise.
56354         [!objdir] (common-objdir): Likewise.
56355         * configure.in (config_makefile): Remove.  Hardcode Makefile in
56356         AC_CONFIG_FILES call.
56357         * configure: Regenerated.
56359         [BZ #13888]
56360         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
56361         or TMPDIR.
56362         (testout): Likewise.
56364         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
56365         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
56366         $(rtld-installed-name).
56367         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
56368         (rtld_installed_name): Likwise.
56369         (runit): Remove function.
56370         (run_getconf): New variable,  Use it for running getconf binary.
56372 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
56374         [BZ #14716]
56375         * string/test-memmem.c (check_result): New function.
56376         (do_one_test): Use it.
56377         (check1): New function.
56378         (test_main): Use it.
56380 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
56382         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
56384 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
56386         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
56387         (_G_LSEEK64): Likewise.
56388         (_G_MMAP64): Likewise.
56389         (_G_FSTAT64): Likewise.
56390         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
56391         (_G_LSEEK64): Likewise.
56392         (_G_MMAP64): Likewise.
56393         (_G_FSTAT64): Likewise.
56394         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
56395         unconditional.  Call __mmap64 directly.
56396         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
56397         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
56398         __lseek64 directly.
56399         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
56400         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
56401         __mmap64 directly.
56402         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
56403         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56404         __lseek64 directly.
56405         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
56406         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56407         __lseek64 directly.
56408         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
56409         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
56410         __lseek64 directly.
56411         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
56412         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
56413         __fxstat64 directly.
56414         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
56415         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
56416         unconditional.
56417         (freopen64) [!_G_OPEN64]: Remove conditional code.
56418         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
56419         unconditional.
56420         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
56421         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
56422         unconditional.
56423         (ftello64) [!_G_LSEEK64]: Remove conditional code.
56424         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
56425         unconditional.
56426         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56427         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
56428         unconditional.
56429         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
56430         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
56431         unconditional.
56432         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56433         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
56434         unconditional.
56435         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56436         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
56437         unconditional.
56438         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56440 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56442         [BZ #12140]
56443         * manual/memory.texi (Malloc Tunable Parameters): Add note
56444         about free list pointers overwriting some perturb bytes.
56445         Wording suggested by Roland McGrath.
56447 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
56449         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
56450         (lgamma_test): Likewise.
56451         (tgamma_test): Likewise.
56453 2012-10-16  Florian Weimer  <fweimer@redhat.com>
56455         [BZ #14700]
56456         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
56457         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
56459 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
56461         * NEWS: Mention BZ #14716.
56462         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
56463         when removing AVAILABLE1_USES_J macro.
56465 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
56467         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
56468         (__bswap_64): __uint64_t for unsigned 64-bit int.
56470 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
56472         * include/string.h (memmem): Declare libc hidden alias.
56473         * string/memmem.c (memmem): Define libc hidden alias.
56474         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
56475         __read, __close instead of open, read, close.
56477 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
56479         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
56480         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
56481         global and hidden.
56482         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
56483         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
56484         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
56485         Likewise.
56486         (__rawmemchr_sse2): Likewise.
56487         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
56488         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
56489         (__strchr_sse2): Likewise.
56490         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
56491         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
56492         (__strcasecmp_sse2): Likewise.
56493         (__strncasecmp_sse2): Likewise.
56494         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
56495         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
56496         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
56497         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
56498         (__strrchr_sse2): Likewise.
56499         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
56500         ifunc-impl-list.c.
56501         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
56502         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
56503         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
56504         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56505         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
56506         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
56507         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56508         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56509         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
56510         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
56511         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
56512         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
56513         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
56514         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
56515         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
56516         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
56517         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
56518         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
56519         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
56520         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
56521         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
56522         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
56523         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
56524         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56525         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
56526         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56527         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
56528         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56529         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
56530         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
56532         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
56533         global and hidden.
56534         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
56535         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
56536         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
56537         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
56538         Likewise.
56539         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
56540         Likewise.
56541         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
56542         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
56543         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
56544         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
56545         ifunc-impl-list.c.
56546         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56547         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56548         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56549         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56550         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56551         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56552         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56553         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56554         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56555         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56556         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56557         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56558         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56559         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
56560         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
56561         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56562         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
56563         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
56564         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56565         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56566         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56567         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56568         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56569         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56570         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56571         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
56572         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
56573         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
56574         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
56575         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56576         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
56577         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56578         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56579         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
56580         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56581         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56582         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56583         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56584         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56585         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56586         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
56588         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
56589         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
56590         * include/ifunc-impl-list.h: New file.
56591         * misc/ifunc-impl-list.c: Likewise.
56592         * misc/Makefile (routines): Add ifunc-impl-list.
56593         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
56594         * string/test-string.h: Include <ifunc-impl-list.h>.
56595         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
56596         TEST_NAME]: New variables.
56597         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
56598         are defined.
56599         (test_init): Call __libc_ifunc_impl_list to initialize
56600         func_list if TEST_IFUNC and TEST_NAME are defined.
56602         * string/Makefile (strop-tests): Add bcopy and bzero.
56603         * string/test-bcopy.c: New file.
56604         * string/test-bzero.c: Likewise.
56605         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
56606         defined.
56607         * string/test-memset.c: Support bzero test if TEST_BZERO is
56608         defined.
56609         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
56610         __libc_memmove.
56611         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
56612         __libc_memset.
56613         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
56614         of memset.
56616 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
56618         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
56619         * configure: Regenerated.
56621         * Makeconfig (+link-static-before-libc): Don't include
56622         $(link-static-libc).
56624         * libio/libio.h (_IO_pos_t): Remove.
56626 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56628         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
56629         McGrath.
56631 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56633         * crypt/crypt-entry.c: Include fips-private.h.
56634         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
56635         * crypt/md5c-test.c (main): Tolerate disabled MD5.
56636         * sysdeps/unix/sysv/linux/fips-private.h: New file.
56637         * sysdeps/generic/fips-private.h: New file, dummy fallback.
56639 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56641         * crypt/crypt-private.h: Include stdbool.h.
56642         (_ufc_setup_salt_r): Return bool.
56643         * crypt/crypt-entry.c: Include errno.h.
56644         (__crypt_r): Return NULL with EINVAL for bad salt.
56645         * crypt/crypt_util.c (bad_for_salt): New.
56646         (_ufc_setup_salt_r): Check that salt is long enough and within
56647         the specified alphabet.
56648         * crypt/badsalttest.c: New file.
56649         * crypt/Makefile (tests): Add it.
56650         ($(objpfx)badsalttest): New.
56652 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
56654         * NEWS: Add entry for BZ #14602.
56656 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56658         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
56659         type-generic.
56660         * math/libm-test.inc: Update comment listing what functions and
56661         macros are tested.
56662         (isgreater_test): New function.
56663         (isgreaterequal_test): Likewise.
56664         (isless_test): Likewise.
56665         (islessequal_test): Likewise.
56666         (islessgreater_test): Likewise.
56667         (isunordered_test): Likewise.
56668         (main): Call the new functions.
56670 2012-10-09  Roland McGrath  <roland@hack.frob.com>
56672         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
56673         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
56674         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
56675         * sysdeps/i386/configure: Regenerated.
56676         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
56677         * sysdeps/mach/configure: Regenerated.
56678         * sysdeps/mach/hurd/configure: Regenerated.
56679         * sysdeps/powerpc/configure: Regenerated.
56680         * sysdeps/powerpc/powerpc32/configure: Regenerated.
56681         * sysdeps/powerpc/powerpc64/configure: Regenerated.
56682         * sysdeps/s390/s390-32/configure: Regenerated.
56683         * sysdeps/s390/s390-64/configure: Regenerated.
56684         * sysdeps/sh/configure: Regenerated.
56685         * sysdeps/sparc/configure: Regenerated.
56686         * sysdeps/unix/sysv/linux/configure: Regenerated.
56687         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
56688         * sysdeps/x86_64/configure: Regenerated.
56690         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
56691         defined.  Don't check if MAP is NULL.
56693 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56695         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
56696         (_G_stat64): Likewise.
56697         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
56698         (_G_stat64): Likewise.
56699         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
56700         instead of struct _G_stat64.
56701         * libio/fileops.c (mmap_remap_check): Likewise.
56702         (decide_maybe_mmap): Likewise.
56703         (_IO_new_file_seekoff): Likewise.
56704         (_IO_file_stat): Likewise.
56705         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
56706         _G_off64_t.
56707         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
56708         instead of struct _G_stat64.
56709         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56711 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
56713         [BZ #14602]
56714         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56715         Replace with ...
56716         (CHECK_EOL): New macro.
56717         (two_way_short_needle): Check beginning of haystack for EOL.  Use
56718         CHECK_EOL.
56719         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56720         Replace with CHECK_EOL.
56721         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56722         Replace with CHECK_EOL.
56724 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
56726         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
56727         type-generic.
56728         * math/libm-test.inc: Update comment listing what functions and
56729         macros are tested.
56730         (finite_test): New function.
56731         (isinf_test): Likewise.
56732         (isnan_test): Likewise.
56733         (fpclassify_test): Test subnormal input.
56734         (isfinite_test): Likewise.
56735         (isnormal_test): Likewise.
56736         (main): Call the new functions.
56738 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
56740         [BZ #14660]
56741         * Makerules (%.dynsym): Force C locale when running
56742         $(OBJDUMP) --dynamic-syms.
56744 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
56746         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
56747         <stdint.h>.
56749 2012-10-06  David S. Miller  <davem@davemloft.net>
56751         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
56752         upper 32-bits of the length value in %o2 since we use branch-on-register
56753         tests which consider the entire 64-bit register.
56755 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
56757         * string/test-strstr.c (check2): Add a test for page boundary.
56759 2012-10-05  David S. Miller  <davem@davemloft.net>
56761         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
56762         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
56763         file.
56764         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56765         sysdep_routines.
56766         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56767         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
56768         and bzero when HWCAP_SPARC_CRYPTO is present.
56770 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
56772         [BZ #14602]
56773         * string/test-strstr.c (check2): New function.
56774         (test_main): Call check2.
56776         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
56777         and bug-strchr1.
56778         * string/bug-strcasestr1.c (do_test): Moved to ...
56779         * string/test-strcasestr.c (check1): Here.  New function.
56780         (do_one_test): Break out result checking code into ...
56781         (check_result): This.  New function.
56782         (do_one_test): Call check_result.
56783         (test_main): Call check1.
56784         * string/bug-strchr1.c (do_test): Moved to ...
56785         * string/test-strchr.c (check1): Here.  New function.
56786         (do_one_test): Break out result checking code into ...
56787         (check_result): This.  New function.
56788         (do_one_test): Call check_result.
56789         (test_main): Call check1.
56790         * string/bug-strstr1.c (main): Moved to ...
56791         * string/test-strstr.c (check1): Here.  New function.
56792         (do_one_test): Break out result checking code into ...
56793         (check_result): This.  New function.
56794         (do_one_test): Call check_result.
56795         (test_main): Call check1.
56796         * string/bug-strcasestr1.c: Removed.
56797         * string/bug-strchr1.c: Likewise.
56798         * string/bug-strstr1.c: Likewise.
56800         * elf/Makefile (dl-routines): Add hwcaps.
56801         * elf/dl-support.c (_dl_important_hwcaps): Removed.
56802         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
56803         (_dl_important_hwcaps): Moved to ...
56804         * elf/dl-hwcaps.c: Here.  New file.
56805         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
56807         [BZ #14557]
56808         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
56809         if IS_IN_rtld isn't defined.
56811         * elf/dl-support.c (_dl_sysinfo_map): New.
56812         Include "get-dynamic-info.h" and "setup-vdso.h".
56813         (_dl_non_dynamic_init): Call setup_vdso.
56814         * elf/dynamic-link.h: Don't include <assert.h>.
56815         (elf_get_dynamic_info): Moved to ...
56816         * elf/get-dynamic-info.h: Here.  New file.
56817         * elf/dynamic-link.h: Include "get-dynamic-info.h".
56818         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
56819         * elf/setup-vdso.h: Here.  New file.
56820         * elf/rtld.c: Include "setup-vdso.h".
56821         (dl_main): Call setup_vdso.
56823 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
56825         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
56826         creal in comment listing functions tested.  List finite, isinf,
56827         isnan, isless, islessequal, isgreater, isgreaterequal,
56828         islessgreater, isunordered, lgamma_r and pow10 as functions and
56829         macros not tested.  Mention which functions not tested are aliases
56830         for other functions.  Fix typo.  Note that signs of NaNs are not
56831         tested.
56833         * scripts/config.guess: Update from config.git.
56834         * scripts/config.sub: Likewise.
56836 2012-10-04  Roland McGrath  <roland@hack.frob.com>
56838         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
56839         * misc/madvise.c (madvise): Renamed to __madvise.
56840         Make madvise a weak alias.
56841         * include/sys/mman.h: Declare __madvise.
56842         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
56843         * sysdeps/unix/syscalls.list
56844         (madvise): Make __madvise the strong name, and madvise a weak alias.
56845         * sysdeps/unix/sysv/linux/syscalls.list
56846         (madvise, mmap): Remove redundant entries.
56847         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
56848         * malloc/malloc.c (mtrim): Likewise.
56849         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
56851 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56853         * sysdeps/mach/hurd/dl-cache.c: File removed.
56854         * config.h.in (USE_LDCONFIG): New #undef.
56855         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
56856         * configure: Regenerated.
56857         * elf/Makefile (dl-routines): Add dl-cache only under
56858         [$(use-ldconfig) = yes].
56859         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
56860         cache on [USE_LDCONFIG].
56861         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
56862         [USE_LDCONFIG].
56863         * elf/rtld.c (dl_main): Likewise.
56865 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
56867         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
56868         _SC_LEVEL4_CACHE_LINESIZE.
56870 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56872         * sysdeps/unix/bsd/confstr.h: File removed.
56874 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
56876         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
56877         sys/sdt-config.h.
56879 2012-10-02  Roland McGrath  <roland@hack.frob.com>
56881         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
56882         Make 'mapoff' field ElfW(Off) rather than off_t.
56884 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
56886         * nscd/Makefile: Remove nscd-cflags and all its users.
56887         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
56888         (CFLAGS-nonlib): Add compiler flags for nscd modules.
56890         [BZ #10631]
56891         * malloc.c (malloc_printerr): Clarify error message.
56893 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
56895         [BZ #14648]
56896         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56897         Set bit_FMA_Usable if FMA is supported.
56898         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
56899         macro.
56900         (bit_FMA4_Usable): Updated.
56901         (index_FMA_Usable): New macro.
56902         (CPUID_FMA): Likewise.
56903         (HAS_FMA): Defined with bit_FMA_Usable.
56905 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56907         * bits/types.h (__swblk_t): Type removed.
56908         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
56909         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
56910         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56911         (__SWBLK_T_TYPE): Likewise.
56912         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56913         (__SWBLK_T_TYPE): Likewise.
56914         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56915         (__SWBLK_T_TYPE): Likewise.
56916         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56917         (__SWBLK_T_TYPE): Likewise.
56919 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
56920             Honza Horak <hhorak@redhat.com>
56922         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
56923         (xdr_mapname): Use YPMAXMAP as maxsize.
56924         (xdr_peername): Use YPMAXPEER as maxsize.
56925         (xdr_keydat): Use YPAXRECORD as maxsize.
56926         (xdr_valdat): Use YPMAXRECORD as maxsize.
56928 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56930         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
56932         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
56933         * csu/init-first.c: ... here.
56934         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
56935         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
56936         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
56937         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
56938         * sysdeps/i386/init-first.c: File removed.
56939         * sysdeps/sh/init-first.c: File removed.
56941 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
56943         [BZ #14645]
56944         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
56945         if x * y might underflow to zero and z is zero.
56946         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56947         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56948         * math/libm-test.inc (min_subnorm_value): New variable.
56949         (fma_test): Add more tests.
56950         (fma_test_towardzero): Likewise.
56951         (fma_test_downward): Likewise.
56952         (fma_test_upward): Likewise.
56953         (initialize): Set min_subnorm_value.
56955 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
56957         [BZ #14638]
56958         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
56959         0 + 0.
56960         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
56961         mode for addition resulting in exact zero.
56962         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
56963         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
56964         exact 0 + 0.
56965         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56966         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56967         * math/libm-test.inc (fma_test): Add more tests.
56968         (fma_test_towardzero): New function.
56969         (fma_test_downward): Likewise.
56970         (fma_test_upward): Likewise.
56971         (main): Call the new functions.
56973 2012-09-28  David S. Miller  <davem@davemloft.net>
56975         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
56977 2012-09-28  Roland McGrath  <roland@hack.frob.com>
56979         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
56980         instead of SIGALRM.
56982         * sysdeps/gnu/_G_config.h: Moved to ...
56983         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
56984         * sysdeps/mach/hurd/_G_config.h: Moved to ...
56985         * sysdeps/generic/_G_config.h: ... here.
56987         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
56989         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
56991         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
56992         Conditionalize target on [libnss_test1.so-version].
56994         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
56996         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
56997         (elfobjdir): Move out of conditionals.
56999         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
57000         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
57001         (__nss_lookup_function): Conditionalize label remove_from_tree on
57002         [!DO_STATIC_NSS || SHARED], matching its only use.
57004 2012-09-28  David S. Miller  <davem@davemloft.net>
57006         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
57007         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
57008         file.
57009         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57010         sysdep_routines.
57011         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57012         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
57013         when HWCAP_SPARC_CRYPTO is present.
57015 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57017         * io/tst-mknodat.c: Create a FIFO instead of a socket.
57019 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
57021         [BZ #6530]
57022         * stdio-common/vfprintf.c (process_string_arg): Revert
57023         2000-07-22 change.
57025 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
57027         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
57028         for testcase.
57029         * stdio-common/tst-sprintf.c: Include <locale.h>
57030         (main): Test sprintf's handling of incomplete multibyte
57031         characters.
57033 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
57035         * elf/dl-runtime.c (VERSYMIDX): Removed.
57036         * elf/dl-version.c (VERSYMIDX): Likewise.
57037         * elf/do-rel.h (VERSYMIDX): Likewise.
57038         (VALIDX): Likewise.
57039         * elf/dynamic-link.h (VERSYMIDX): Likewise.
57040         * elf/rtld.c (VALIDX): Likewise.
57041         (ADDRIDX): Likewise.
57042         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
57043         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
57044         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
57045         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
57046         (VALIDX): Likewise.
57047         (ADDRIDX): Likewise.
57049 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57051         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
57053 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
57055         [BZ #11438]
57056         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
57057         to global scope.
57058         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
57059         addresses are in the same scope as 192.0.2/24.
57060         * posix/gai.conf: Document new scope table defaults.
57062 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57064         [BZ #5298]
57065         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
57066         for ftell.  Compute offsets from write pointers instead.
57067         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57069 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57071         [BZ #14543]
57072         * libio/Makefile (tests): New test case tst-fseek.
57073         * libio/tst-fseek.c: New test case to verify that fseek/ftell
57074         combination works in wide mode.
57075         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
57076         state when the external buffer state changes.
57078 2012-09-27  David S. Miller  <davem@davemloft.net>
57080         [BZ #14376]
57081         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
57082         pass reloc->r_addend in as the 'high' argument to
57083         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
57085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57087 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
57089         * rt/tst-aio2.c: Include <pthread.h>.
57090         * rt/tst-aio3.c: Likewise.
57092 2012-09-27  Steve Ellcey  <sellcey@mips.com>
57094         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
57096 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
57098         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
57099         contents on [SHARED].
57101 2012-09-26  Marek Polacek  <polacek@redhat.com>
57103         [BZ #14530]
57104         [BZ #13741]
57105         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
57106         for C++ and GCC <4.3 as well as for non GCC compilers.
57108 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57110         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57112 2012-09-25  Roland McGrath  <roland@hack.frob.com>
57114         * Makefile.in (all, install): Declare with .PHONY.
57115         Reported by Michael Hope <michael.hope@linaro.org>.
57117 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57119         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
57120         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
57121         system header.
57122         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
57123         Likewise.
57124         (sydep_routines): Add the new and the internal functions.
57125         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
57126         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
57127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
57128         (GLIBC_2.17): Add the new function.
57129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57130         (GLIBC_2.17): Likewise.
57131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
57132         (GLIBC_2.17): Likewise.
57133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
57134         (GLIBC_2.17): Likewise.
57135         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
57137 2012-09-25  Alan Modra  <amodra@gmail.com>
57139         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
57140         Add release barrier before setting once_control to say
57141         initialisation is done.  Add hints on lwarx.  Use macro in
57142         place of isync.
57143         (clear_once_control): Add release barrier.
57145 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57147         [BZ #13629]
57148         * math/s_clog.c (__clog): Handle more values close to |z| = 1
57149         specially.
57150         * math/s_clog10.c (__clog10): Likewise.
57151         * math/s_clog10f.c (__clog10f): Likewise.
57152         * math/s_clog10l.c (__clog10l): Likewise.
57153         * math/s_clogf.c (__clogf): Likewise.
57154         * math/s_clogl.c (__clogl): Likewise.
57155         * math/Makefile (libm-calls): Add x2y2m1.
57156         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
57157         (__x2y2m1): Likewise.
57158         (__x2y2m1l): Likewise.
57159         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
57160         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
57161         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
57162         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57163         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
57164         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
57165         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
57166         * sysdeps/i386/fpu/libm-test-ulps: Update.
57167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57169         [BZ #14621]
57170         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
57171         int as type of variable DEPTH.
57172         (glob): Use size_t instead of int as type of variables NEWCOUNT
57173         and OLD_PATHC.
57175 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57177         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57178         Add s_sincosf-sse2.
57179         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
57180         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
57181         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
57182         macros for using routine as __sincosf_ia32.
57183         Use macro for function declaration and weak_alias.
57184         * sysdeps/i386/fpu/libm-test-ulps: Update.
57186         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
57187         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57189         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
57190         subnormal argument.
57191         * math/s_cexpf.c (__cexpf): Likewise.
57192         * math/s_csinf.c (__csinf): Likewise.
57193         * math/s_csinhf.c (__csinhf): Likewise.
57194         * math/s_ctanf.c (__ctanf): Likewise.
57195         * math/s_ctanhf.c (__ctanhf): Likewise.
57196         * math/s_ccosh.c (__ccoshf): Likewise.
57197         * math/s_cexp.c (__cexpl): Likewise.
57198         * math/s_csin.c (__csin): Likewise.
57199         * math/s_csinh.c (__csinh): Likewise.
57200         * math/s_ctan.c (__ctan): Likewise.
57201         * math/s_ctanh.c (ctanh): Likewise.
57202         * math/s_ccoshl.c (__ccoshl): Likewise.
57203         * math/s_cexpl.c (__cexpl): Likewise.
57204         * math/s_csinl.c (__csinl): Likewise.
57205         * math/s_csinhl.c (__csinhl): Likewise.
57206         * math/s_ctanl.c (__ctanl): Likewise.
57207         * math/s_ctanhl.c (__ctanhl): Likewise.
57209 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57211         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
57212         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
57213         (_IO_off_t): Define to __off_t, not _G_off_t.
57214         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
57215         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
57216         (_IO_wint_t): Define to wint_t, not _G_wint_t.
57217         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
57218         type of __dummy and __dummy2 fields.
57219         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
57220         (_G_ssize_t): Likewise.
57221         (_G_off_t): Likewise.
57222         (_G_pid_t): Likewise.
57223         (_G_uid_t): Likewise.
57224         (_G_wchar_t): Likewise.
57225         (_G_wint_t): Likewise.
57226         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
57227         (_G_ssize_t): Likewise.
57228         (_G_off_t): Likewise.
57229         (_G_pid_t): Likewise.
57230         (_G_uid_t): Likewise.
57231         (_G_wchar_t): Likewise.
57232         (_G_wint_t): Likewise.
57233         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
57234         (_G_ssize_t): Likewise.
57235         (_G_off_t): Likewise.
57236         (_G_pid_t): Likewise.
57237         (_G_uid_t): Likewise.
57238         (_G_wchar_t): Likewise.
57239         (_G_wint_t): Likewise.
57241 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57243         * malloc/arena.c: Include malloc-sysdep.h.
57244         (shrink_heap): Use check_may_shrink_heap to decide if madvise
57245         is sufficient to shrink the heap or an unmap is needed.
57246         * sysdeps/generic/malloc-sysdep.h: New file.  Define
57247         new function check_may_shrink_heap.
57248         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
57249         new function check_may_shrink_heap.
57251 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57253         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
57254         comments.
57256 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
57258         * catgets/test-gencat.sh: Add "set -e".
57259         * elf/tst-pathopt.sh: Likewise.
57260         * grp/tst_fgetgrent.sh: Likewise.
57261         * iconvdata/run-iconv-test.sh: Likewise.
57262         * intl/tst-gettext.sh: Likewise.
57263         * intl/tst-gettext2.sh: Likewise.
57264         * intl/tst-gettext4.sh: Likewise.
57265         * intl/tst-gettext6.sh: Likewise.
57266         * intl/tst-translit.sh: Likewise.
57267         * io/ftwtest-sh: Likewise.
57268         * libio/test-freopen.sh: Likewise.
57269         * malloc/tst-mtrace.sh: Likewise.
57270         * posix/globtest.sh: Likewise.
57271         * posix/tst-getconf.sh: Likewise.
57272         * posix/wordexp-tst.sh: Likewise.
57273         * stdio-common/tst-printf.sh: Likewise.
57274         * stdio-common/tst-unbputc.sh: Likewise.
57275         * stdlib/tst-fmtmsg.sh: Likewise.
57276         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57277         * catgets/Makefile: Do not specify -e option when running
57278         testsuite shell scripts.
57279         * elf/Makefile: Likewise.
57280         * grp/Makefile: Likewise.
57281         * iconvdata/Makefile: Likewise.
57282         * intl/Makefile: Likewise.
57283         * io/Makefile: Likewise.
57284         * libio/Makefile: Likewise.
57285         * malloc/Makefile: Likewise.
57286         * posix/Makefile: Likewise.
57287         * stdio-common/Makefile: Likewise.
57288         * stdlib/Makefile: Likewise.
57289         * sysdeps/x86_64/Makefile: Likewise.
57291         * io/ftwtest-sh: Add copyright header.
57292         * posix/globtest.sh: Likewise.
57293         * posix/tst-getconf.sh: Likewise.
57294         * posix/wordexp-tst.sh: Likewise.
57295         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57297 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
57299         [BZ #13679]
57300         * Makeconfig (+link): Defined as $(+link-static) if
57301         $(build-shared) isn't yes.
57302         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
57303         isn't yes.
57304         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
57306         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
57308         [BZ #14562]
57309         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
57310         new chunk size with MALLOC_ALIGN_MASK.
57312 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
57314         [BZ #5044]
57315         * stdio-common/printf_fphex.c: Include <stdbool.h> and
57316         <rounding-mode.h>.
57317         (__printf_fphex): Determine rounding using get_rounding_mode and
57318         round_away.
57319         * stdio-common/tst-printf-round.c (struct hex_test): New
57320         structure.
57321         (hex_tests): New variable.
57322         (test_hex_in_one_mode): New function.
57323         (do_test): Also run tests for hex float output.
57325 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
57327         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57328         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57329         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
57330         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57331         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57332         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
57333         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57334         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57336 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
57338         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
57339         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
57340         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
57341         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
57343 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
57345         [BZ #14579]
57346         * elf/rtld.c (dl_main): Limit the check for self loading to normal
57347         mode only.
57348         * elf/tst-rtld-load-self.sh: New test.
57349         * elf/Makefile: Run it.
57351 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
57353         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
57354         (tst-writev-ENV): Remove.
57355         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
57357 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
57359         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
57361 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
57363         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
57364         unconditional.
57365         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
57366         Likewise.
57367         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
57368         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
57369         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
57370         Likewise.
57372 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
57374         [BZ #14587]
57375         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
57376         * config.make.in (have-cpp-asm-debuginfo): Removed.
57377         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
57378         * configure: Regenerated.
57380 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
57382         [BZ #5044]
57383         * stdio-common/printf_fp.c: Include <stdbool.h> and
57384         <rounding-mode.h>.
57385         (___printf_fp): Determine rounding using get_rounding_mode and
57386         round_away.
57387         * stdio-common/tst-printf-round.c: New file.
57388         * stdio-common/Makefile (tests): Add tst-printf-round.
57389         (link-libm): New variable.
57390         ($(objpfx)tst-printf-round): Depend in $(link-libm).
57392 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
57394         [BZ #14576]
57395         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
57396         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
57397         Likewise.
57398         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
57399         Likewise.
57401 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
57403         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
57404         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57405         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57406         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57408 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
57410         [BZ #14518]
57411         * include/rounding-mode.h: New file.
57412         * sysdeps/generic/get-rounding-mode.h: Likewise.
57413         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
57414         * stdlib/strtod_l.c: Include <rounding-mode.h>.
57415         (MAX_VALUE): New macro.
57416         (MIN_VALUE): Likewise.
57417         (overflow_value): New function.
57418         (underflow_value): Likewise.
57419         (round_and_return): Use overflow_value and underflow_value to
57420         determine return values in overflow and underflow cases.  Use
57421         round_away to determine rounding depending on rounding mode.
57422         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
57423         determine return values in overflow and underflow cases.
57424         * stdlib/tst-strtod-round.c: Include <fenv.h>.
57425         (struct test_results): New structure.
57426         (struct test): Use struct test_results to store expected results
57427         for all rounding modes.
57428         (TEST): Include expected results for all rounding modes.
57429         (test_in_one_mode): New function.
57430         (do_test): Use test_in_one_mode to compute and check results.
57431         Check results for all rounding modes.
57432         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
57433         $(link-libm).
57435 2012-12-09  Allan McRae  <allan@archlinux.org>
57437         * sysdeps/i386/fpu/libm-test-ulps: Update
57439 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
57441         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
57442         (_G_int32_t): Likewise.
57443         (_G_uint16_t): Likewise.
57444         (_G_uint32_t): Likewise.
57445         (_G_HAVE_BOOL): Likewise.
57446         (_G_HAVE_ATEXIT): Likewise.
57447         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57448         (_G_HAVE_IO_FILE_OPEN): Likewise.
57449         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
57450         (_G_int32_t): Likewise.
57451         (_G_uint16_t): Likewise.
57452         (_G_uint32_t): Likewise.
57453         (_G_HAVE_BOOL): Likewise.
57454         (_G_HAVE_ATEXIT): Likewise.
57455         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57456         (_G_HAVE_IO_FILE_OPEN): Likewise.
57457         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
57458         (_G_int32_t): Likewise.
57459         (_G_uint16_t): Likewise.
57460         (_G_uint32_t): Likewise.
57461         (_G_HAVE_BOOL): Likewise.
57462         (_G_HAVE_ATEXIT): Likewise.
57463         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57464         (_G_HAVE_IO_FILE_OPEN): Likewise.
57466 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
57468         * csu/libc-tls.c: Update copyright years.
57470 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
57472         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
57473         [!_G_USING_THUNKS]: Remove conditional code.
57474         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
57475         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
57477         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
57478         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
57479         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57480         (_G_VTABLE_LABEL_PREFIX): Likewise.
57481         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57482         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57483         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57484         (_G_VTABLE_LABEL_PREFIX): Likewise.
57485         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57486         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57487         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57488         (_G_VTABLE_LABEL_PREFIX): Likewise.
57489         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57491 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
57493         * libio/Makefile: Include ../Makeconfig before tests.
57494         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
57495         only if $(build-shared) is yes.
57497         * iconv/gconv_db.c: Update copyright years.
57499 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57501         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
57502         unwind info if defined PIC. Fix special cases description.
57503         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
57505         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
57506         DP_HI_MASK entry.
57507         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
57509 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
57511         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
57513         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
57514         is NULL.
57516         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
57517         (LDLIBS-tst-chk4): This.
57518         (LDFLAGS-tst-chk5): Renamed to ...
57519         (LDLIBS-tst-chk5): This.
57520         (LDFLAGS-tst-chk6): Renamed to ...
57521         (LDLIBS-tst-chk6): This.
57522         (LDFLAGS-tst-lfschk4): Renamed to ...
57523         (LDLIBS-tst-lfschk4): This.
57524         (LDFLAGS-tst-lfschk5): Renamed to ...
57525         (LDLIBS-tst-lfschk5): This.
57526         (LDFLAGS-tst-lfschk6): Renamed to ...
57527         (LDLIBS-tst-lfschk6): This.
57529         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
57530         on $(common-objpfx)soversions.mk.
57532 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
57534         [BZ #10014]
57535         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
57536         example host name.
57538 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57540         * malloc/arena.c (arena_get_retry): New function that gets
57541         another arena for the caller to try its request on.
57542         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
57543         current arena cannot fulfill the request.
57544         (__libc_memalign): Likewise.
57545         (__libc_memalign): Likewise.
57546         (__libc_pvalloc): Likewise.
57547         (__libc_calloc): Likewise.
57549 2012-09-05  John Tobey  <john.tobey@gmail.com>
57551         [BZ #13542]
57552         * manual/arith.texi (Operations on Complex): Fix description
57553         of carg branch cut.
57555 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57557         [BZ #10014]
57558         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
57559         host name.
57561         [BZ #10038]
57562         * manual/memory.texi (Memory): Make order of menu items match
57563         order of sections.
57565 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57567         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
57568         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
57569         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
57571 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57573         * csu/libc-tls.c (static_dtv): Renamed to ...
57574         (_dl_static_dtv): This.  Make it global.
57575         (_dl_initial_dtv): Removed.
57576         (__libc_setup_tls): Updated.
57577         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
57578         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
57579         DL_INITIAL_DTV.
57581 2012-09-06  Petr Machata  <pmachata@redhat.com>
57583         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
57584         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
57585         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
57586         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
57588 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57590         [BZ #14545]
57591         * csu/libc-tls.c (_dl_initial_dtv): New variable.
57592         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
57593         freeing dtv[-1].
57595 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57597         [BZ #14544]
57598         * Makeconfig (link-static-before-libc): Replace $(+prector)
57599         with $(+prectorT).
57600         (link-static-after-libc): Replace $(+postctor) with
57601         $(+postctorT).
57602         (link-bounded): Replace $(+prector)/$(+postctor) with
57603         $(+prectorT)/$(+postctorT).
57604         (+prectorT): New macro.
57605         (+postctorT): Likewise.
57607 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57609         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
57610         (round_str): Handle values above the maximum for IBM long double
57611         as inexact.
57612         * stdlib/tst-strtod-round.c (tests): Regenerated.
57614 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57616         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
57617         assembler flag.
57618         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
57619         zarch_nohighgprs around the zarch optimized routines.
57620         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
57621         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
57622         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
57623         for zarch.
57625 2012-09-05  David S. Miller  <davem@davemloft.net>
57627         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57629         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
57630         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
57631         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
57632         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57633         entries.
57635 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57637         * malloc/arena.c: Fold copyright years.
57638         * malloc/mcheck.c, malloc/memusage.c: Likewise.
57640 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57642         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
57644 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57646         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
57648 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57650         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
57651         change internal state upon failure.
57653 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57655         * malloc/mcheck.c (mcheck_check_all): Fix typo.
57656         * malloc/memusage.c (mmap): Likewise.
57657         (mmap64, mremap): Likewise.  Adjust name in comment.
57659 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57661         * libio/fileops.c: Fix typos in comments.
57662         * libio/oldfileops.c: Likewise.
57663         * libio/wfileops.c: Likewise.
57665 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57667         [BZ #1349]
57668         * malloc/Makefile (tests): Add tst-malloc-usable test case.
57669         (tst-malloc-usable-ENV): Set environment for test case.
57670         * malloc/hooks.c (malloc_check_get_size): New function to get
57671         requested size.
57672         * malloc/malloc.c (musable): Use malloc_check_get_size.
57673         * malloc/tst-malloc-usable.c: New test case.
57675 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57677         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
57679 2012-09-05  Allan McRae  <allan@archlinux.org>
57681         [BZ #13966]
57682         * configure.in (CXX_SYSINCLUDES): Use compiler output to
57683         determine header location.
57684         * configure: Regenerated.
57686 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57688         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
57689         float format.
57690         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
57691         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
57692         format.
57693         (test): Regenerate.
57695 2012-09-04  David S. Miller  <davem@davemloft.net>
57697         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
57698         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
57699         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
57701 2012-09-04  Florian Weimer  <fweimer@redhat.com>
57703         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
57704         failures.
57706         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
57708 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
57710         [BZ #9914]
57711         * libio/iogetdelim.c: Include <limits.h>.
57712         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
57713         + len + 1 would overflow.
57715 2012-09-03  Andreas Jaeger  <aj@suse.de>
57717         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57718         * sysdeps/i386/fpu/libm-test-ulps: Update.
57720 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57722         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57723         Add s_sinf-sse2, s_conf-sse2.
57725         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
57726         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
57727         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
57728         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
57730         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
57731         for using routine as __sinf_ia32.
57732         Use macro for function declaration and weak_alias.
57733         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
57734         for using routine as __cosf_ia32.
57735         Use macro for function declaration and weak_alias.
57737         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
57738         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
57740         * sysdeps/x86_64/fpu/s_sinf.S: New file.
57741         * sysdeps/x86_64/fpu/s_cosf.S: New file.
57742         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57744         * math/libm-test.inc (cos_test): Add more test cases.
57745         (sin_test): Likewise.
57746         (sincos_test): Likewise.
57748 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57750         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
57751         (IFUNC_RESOLVE): Make pointers to the specialized implementations
57752         hidden.
57753         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
57755 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
57757         [BZ #14538]
57758         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
57759         first element of the GOT.
57760         (elf_machine_load_address): Return the difference between
57761         the runtime address of _DYNAMIC and elf_machine_dynamic ().
57763 2012-09-01  Allan McRae  <allan@archlinux.org>
57765         [BZ #13412]
57766         * configure.in (AWK): Require gawk version 3.0 or later.
57767         * configure: Regenerated.
57769 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
57771         * sysdeps/unix/sysv/linux/kernel-features.h
57772         (__ASSUME_POSIX_CPU_TIMERS): Remove.
57773         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57774         [__NR_clock_getres]: Make code unconditional.
57775         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
57776         (clock_getcpuclockid): Remove code left unreachable by removal of
57777         conditionals.
57778         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
57779         code unconditional.
57780         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57781         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57782         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
57783         Make code unconditional.
57784         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57785         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57786         * sysdeps/unix/sysv/linux/clock_settime.c
57787         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
57788         conditional code.
57789         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
57790         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57792 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
57794         [BZ #14476]
57795         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
57796         scripts/test-installation.pl.
57798         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
57799         and $ld_so_version if it is set.
57801 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57803         [BZ #14516]
57804         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
57805         failure if reading from procfs failed.
57806         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
57808 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57810         * sysdeps/unix/sysv/linux/kernel-features.h
57811         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
57812         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57813         Remove conditional code.
57814         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57815         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
57816         Remove conditional code.
57817         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57818         * sysdeps/unix/sysv/linux/i386/fxstat.c
57819         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57820         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57821         * sysdeps/unix/sysv/linux/i386/fxstatat.c
57822         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57823         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57824         * sysdeps/unix/sysv/linux/i386/lxstat.c
57825         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57826         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57827         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
57828         Remove conditional code.
57829         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57830         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57831         Remove conditional code.
57832         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57833         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
57834         <kernel-features.h>.
57835         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
57836         Remove.
57837         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
57838         Remove conditional code.
57839         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57840         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
57841         Remove conditional.
57843 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
57845         [BZ #5400]
57846         * NEWS: Add fixed bug number.
57848 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57850         [BZ #14519]
57851         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
57852         underflowing exponent in case of negative sign.
57853         * stdlib/tst-strtod-round-data: Add more tests.
57854         * stdlib/tst-strtod-round.c (tests): Regenerated.
57856         [BZ #3479]
57857         * stdlib/strtod_l.c (NDIG): Remove.
57858         (HEXNDIG): Likewise.
57859         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
57860         smallest representable value.
57861         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
57862         lie within an exact representation of 1/2 ulp of the result.
57863         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
57864         unconditionally.
57865         (TENS_P9_IDX): Define unconditionally.
57866         (TENS_P9_SIZE): Likewise.
57867         (TENS_P10_IDX): Likewise.
57868         (TENS_P10_SIZE): Likewise.
57869         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
57870         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
57871         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
57872         entries for 10^2^13 and 10^2^14.
57873         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
57874         (TENS_P13_IDX): Define.
57875         (TENS_P13_SIZE): Likewise.
57876         (TENS_P14_IDX): Likewise.
57877         (TENS_P14_SIZE): Likewise.
57878         (_fpioconst_pow10): Change array size to
57879         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
57880         unconditional.
57881         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
57882         1024]: Add entries for 10^2^13 and 10^2^14.
57883         [LAST_POW10 > _LAST_POW10]: Remove #error.
57884         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
57885         (_fpioconst_pow10): Change array size to
57886         FPIOCONST_POW10_ARRAY_SIZE.
57887         * stdlib/gen-fpioconst.c: New file.
57888         * stdlib/gen-tst-strtod-round.c: Likewise.
57889         * stdlib/tst-strtod-round-data: Likewise.
57890         * stdlib/tst-strtod-round.c: Likewise.
57891         * stdlib/Makefile (tests): Add tst-strtod-round.
57893         [BZ #14459]
57894         * stdlib/strtod_l.c: Include <stdint.h>.
57895         (NDEBUG): Do not define.
57896         (round_and_return): Change EXPONENT parameter to type intmax_t.
57897         Rearrange calculations to avoid internal overflow possibilities.
57898         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
57899         Rearrange calculations to avoid internal overflow possibilities.
57900         Assert that number fits inside MPNSIZE limbs.
57901         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
57902         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
57903         calculations and add assertions to avoid internal overflow
57904         possibilities.  Add casts to avoid signed/unsigned operations.
57905         * stdlib/tst-strtod-overflow.c: New file.
57906         * stdlib/Makefile (tests): Add tst-strtod-overflow.
57908 2012-08-25  Marek Polacek  <polacek@redhat.com>
57910         * time/time.h: Fix some typos in comments.
57912 2012-08-23  Roland McGrath  <roland@hack.frob.com>
57914         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
57915         * posix/tst-rfc3484-2.c: Likewise.
57916         * posix/tst-rfc3484-3.c: Likewise.
57918 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
57920         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
57921         (EF_ARM_ABI_FLOAT_HARD): Likewise.
57923 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
57925         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
57926         #include of fxstatat64.c.
57928 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57930         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
57931         * shadow/getspent_r.c: Likewise.
57932         * shadow/getspnam.c: Likewise.
57933         * shadow/getspnam_r.c: Likewise.
57934         * gshadow/getsgent.c: Likewise.
57935         * gshadow/getsgent_r.c: Likewise.
57936         * gshadow/getsgnam.c: Likewise.
57937         * gshadow/getsgnam_r.c: Likewise.
57938         * inet/getnetbyad.c: Likewise.
57939         * inet/getnetbyad_r.c: Likewise.
57940         * inet/getnetbynm.c: Likewise.
57941         * inet/getnetbynm_r.c: Likewise.
57942         * inet/getnetent.c: Likewise.
57943         * inet/getnetent_r.c: Likewise.
57944         * inet/getproto.c: Likewise.
57945         * inet/getproto_r.c: Likewise.
57946         * inet/getprtent.c: Likewise.
57947         * inet/getprtent_r.c: Likewise.
57948         * inet/getprtname.c: Likewise.
57949         * inet/getprtname_r.c: Likewise.
57950         * inet/getrpcbyname.c: Likewise.
57951         * inet/getrpcbyname_r.c: Likewise.
57952         * inet/getrpcbynumber.c: Likewise.
57953         * inet/getrpcbynumber_r.c: Likewise.
57954         * inet/getrpcent.c: Likewise.
57955         * inet/getrpcent_r.c: Likewise.
57956         * inet/getaliasent.c: Likewise.
57957         * inet/getaliasent_r.c: Likewise.
57958         * inet/getaliasname.c: Likewise.
57959         * inet/getaliasname_r.c: Likewise.
57960         * nscd/getgrgid_r.c: Likewise.
57961         * nscd/getgrnam_r.c: Likewise.
57962         * nscd/gethstbyad_r.c: Likewise.
57963         * nscd/gethstbynm3_r.c: Likewise.
57964         * nscd/getpwnam_r.c: Likewise.
57965         * nscd/getpwuid_r.c: Likewise.
57966         * nscd/getsrvbynm_r.c: Likewise.
57967         * nscd/getsrvbypt_r.c: Likewise.
57968         * nscd/gai.c: Likewise.
57970         * configure.in (build_nscd): New substituted variable, set
57971         by --disable-build-nscd and defaults to $use_nscd.
57972         * configure: Regenerated.
57973         * config.make.in (build-nscd): New substituted variable.
57974         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
57975         Change conditional to require [$(build-nscd) = yes] as well.
57976         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
57978         [BZ# 13696]
57979         * configure.in (use_nscd): New substituted variable, set by
57980         --disable-nscd.  If enabled, define USE_NSCD.
57981         * configure: Regenerated.
57982         * config.h.in: Add USE_NSCD.
57983         * config.make.in (use-nscd): New substituted variable.
57984         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
57985         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
57986         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
57987         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
57988         (CFLAGS-getgrnam_r.c): Likewise.
57989         (CFLAGS-initgroups.c): Likewise.
57990         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
57991         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
57992         Variables removed.
57993         * inet/getnetgrent_r.c
57994         (nscd_setnetgrent): New function, broken out of ...
57995         (setnetgrent): ... here.  Call it.
57996         (innetgr): Conditionalize nscd bits on [USE_NSCD].
57997         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
57998         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
57999         * nscd/Makefile (routines, aux): Move definitions after include of
58000         Makeconfig.  Conditionalize on [$(use-nscd) != no].
58001         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
58002         Conditionalize on [USE_NSCD].
58003         (is_nscd, nscd_init_cb): Likewise.
58004         (nss_load_library): Conditionalize init callback on [USE_NSCD].
58005         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
58006         * nss/nss_db/db-init.c: Likewise.
58007         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
58008         [USE_NSCD].
58009         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
58010         (make_request): Use it.
58011         (cache_valid_p): New function.
58012         (__check_pf): Use it.
58013         * NEWS: Add item for --disable-nscd.
58015 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
58017         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
58018         to support sed >= 4.2.1-20-ga9bf076.
58019         * configure: Regenerated.
58021 2012-08-22  Roland McGrath  <roland@hack.frob.com>
58023         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
58024         Conditionalize whole body on [IREL].
58026 2012-08-22  Jeff Law <law@redhat.com>
58028         [BZ #14505]
58029         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
58030         if the family is PF_UNSPEC.
58032 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
58034         * Makerules (lib-version): Rename from V.
58035         (install-lib-nosubdir): Change V to lib-version.
58037 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
58039         [BZ #14252]
58040         * powerpc32/power6/wcschr.c: New file.
58041         * powerpc32/power6/wcscpy.c: New file.
58042         * powerpc32/power6/wcsrchr.c: New file.
58043         * powerpc64/power6/wcschr.c: New file.
58044         * powerpc64/power6/wcscpy.c: New file.
58045         * powerpc64/power6/wcsrchr.c: New file.
58047 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58049         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
58050         (two_way_short_needle): Use it.
58051         * string/strstr.c (AVAILABLE1_USES_J): Define.
58052         * string/strcasestr.c: Likewise.
58054         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
58055         array references.
58056         * string/strcasestr.c (TOLOWER): Make side-effect safe.
58058         [BZ #11607]
58059         * NEWS: Add an entry.
58060         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
58061         define their defaults.
58062         (two_way_short_needle): Detect end-of-string on-the-fly.
58063         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
58064         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
58065         * string/bug-strcasestr1.c: New test.
58066         * string/Makefile: Run it.
58068 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
58070         [BZ #11607]
58071         * string/str-two-way.h (two_way_short_needle): Optimize matching of
58072         the first character.
58074 2012-08-21  Roland McGrath  <roland@hack.frob.com>
58076         * csu/elf-init.c (__libc_csu_irel): Function removed.
58077         * csu/libc-start.c (apply_irel): New function.
58078         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
58080 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
58082         * sysdeps/unix/sysv/linux/kernel-features.h
58083         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
58084         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58085         <kernel-features.h>.
58086         [__NR_fadvise64_64]: Make code unconditional.
58087         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
58088         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58089         !__NR_fadvise64_64)]: Likewise.
58090         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58091         !__NR_fadvise64_64))]: Likewise.
58092         [__NR_fadvise64]: Make code unconditional.
58093         [!__NR_fadvise64]: Remove conditional code.
58094         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
58095         <kernel-features.h>.
58096         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58097         unconditional.
58098         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58099         conditional code.
58100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
58101         not include <kernel-features.h>.
58102         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58103         unconditional.
58104         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58105         conditional code.
58106         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
58107         include <kernel-features.h>.
58108         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58109         unconditional.
58110         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58111         conditional code.
58113 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
58115         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
58116         slight instruction rearrangements per scrollpipe analysis.
58117         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58119 2012-08-20  Roland McGrath  <roland@hack.frob.com>
58121         * manual/syslog.texi (syslog; vsyslog, closelog):
58122         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
58123         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
58125         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
58126         DSOCAPS to match condition on defining it.
58128 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
58130         * sysdeps/unix/sysv/linux/kernel-features.h
58131         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
58132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
58133         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58134         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
58136         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58137         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
58139         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58140         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58142         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
58143         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
58145         * sysdeps/unix/sysv/linux/kernel-features.h
58146         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
58147         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
58148         unconditional.
58149         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58150         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
58151         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58152         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58153         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
58154         Make code unconditional.
58155         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58156         (__mmap64) [!__NR_mmap2]: Likewise.
58157         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
58158         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58159         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58160         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
58161         [__NR_mmap2]: Make code unconditional.
58162         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58163         (__mmap64) [!__NR_mmap2]: Likewise.
58165 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58167         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
58169 2012-08-18  Andreas Jaeger  <aj@suse.de>
58171         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
58173 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58175         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
58176         * include/unistd.h (__have_sock_cloexec): Likewise.
58177         (__have_pipe2): Likewise.
58178         (__have_dup3): Likewise.
58180 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
58182         [BZ #9685]
58183         * include/unistd.h (__have_pipe2): Change define into an extern int.
58184         (__have_dup3): Likewise.
58185         * socket/have_sock_cloexec.c: Include fcntl.h.
58186         (__have_pipe2): New variable.
58187         (__have_dup3): Likewise.
58189 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
58191         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
58193 2012-08-17  Marek Polacek  <polacek@redhat.com>
58195         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
58196         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
58198 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58200         * configure.in: Add AC_SUBST for sysheaders.
58201         * configure: Regenerated.
58202         * config.make.in (sysheaders): New substituted variable.
58204         * sysdeps/unix/mkfifo.c: Moved ...
58205         * sysdeps/posix/mkfifo.c: ... here.
58206         * sysdeps/unix/mkfifoat.c: Moved ...
58207         * sysdeps/posix/mkfifoat.c: ... here.
58209         * sysdeps/unix/utime.c: Moved ...
58210         * sysdeps/posix/utime.c: ... here.
58212         * sysdeps/unix/time.c: Moved ...
58213         * sysdeps/posix/time.c: ... here.
58214         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
58215         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
58217         * sysdeps/unix/nice.c: Moved ...
58218         * sysdeps/posix/nice.c: ... here.
58220         * sysdeps/unix/alarm.c: Moved ...
58221         * sysdeps/posix/alarm.c: ... here.
58223         * intl/Makefile ($(codeset_mo)): Depend on the input file.
58225 2012-08-17  Jeff Law <law@redhat.com>
58227         * intl/Makefile (codeset_mo): New variable.
58228         ($(codeset_mo)): New target.
58229         (tst-codeset.out): Depend on that.  Remove explicit rule.
58230         (tst-gettext3.out, tst-gettext5.out): Likewise.
58231         (LOCPATH-ENV, tst-codeset-ENV): New variables.
58232         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
58233         * intl/tst-codeset.sh: Remove.
58234         * intl/tst-gettext3.sh: Likewise.
58235         * intl/tst-gettext5.sh: Likewise.
58237 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58239         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
58240         * sysdeps/unix/syscalls.list: ... here.
58242         * sysdeps/posix/getaddrinfo.c
58243         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
58244         (gaiconf_init, gaiconf_reload): Use them.
58245         [!_STATBUF_ST_NSEC]
58246         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
58247         Define using time_t rather than struct timespec.
58249         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
58250         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
58251         Macros removed.
58252         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
58253         [!NO_THREADS].
58254         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
58255         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
58256         Likewise.
58258         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
58259         __libc_cleanup_push argument.
58261         * bits/param.h: New file.
58262         * misc/sys/param.h: New file.
58263         * include/sys/param.h: New file.
58264         * misc/Makefile (headers): Add bits/param.h.
58265         * sysdeps/generic/sys/param.h: File removed.
58266         * sysdeps/unix/sysv/linux/bits/param.h: New file.
58267         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
58268         * sysdeps/mach/hurd/bits/param.h: New file.
58269         * sysdeps/mach/hurd/sys/param.h: File removed.
58271         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
58272         last change.
58274         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
58275         [_IO_MTSAFE_IO].
58276         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
58277         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
58278         New macros.
58280         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
58281         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
58282         rather than -D_IO_MTSAFE_IO conditionally.
58283         * stdio-common/Makefile (CPPFLAGS): Likewise.
58284         * wcsmbs/Makefile (CPPFLAGS): Likewise.
58285         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
58286         Use $(libio-mtsafe).
58287         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
58288         of -D_IO_MTSAFE_IO.
58289         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
58290         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
58291         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
58292         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
58293         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
58294         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
58295         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
58296         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
58297         (CFLAGS-fread_u_chk.c): Likewise.
58298         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
58299         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
58300         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
58301         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
58302         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
58303         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
58304         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
58305         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
58306         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
58308         * libio/Makefile: Test [$(libc-reentrant) = yes]
58309         instead of [$(filter %REENTRANT, $(defines)) nonempty].
58311         * Makeconfig
58312         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
58313         * sysdeps/pthread/configure: File removed.
58314         * sysdeps/pthread/Makeconfig: New file.
58315         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
58316         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
58318 2012-08-16  Gary Benson  <gbenson@redhat.com>
58320         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
58321         unmapping the first object in a namespace.
58323 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58325         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
58326         (__internal_setnetgrent): ... this.  Add internal_function to
58327         definition.  Add libc_hidden_def.
58328         (setnetgrent): Update caller.
58329         (internal_endnetgrent): Renamed to ...
58330         (__internal_endnetgrent): ... this.  Add internal_function to
58331         definition.  Add libc_hidden_def.
58332         (endnetgrent): Update caller.
58333         (internal_getnetgrent_r): Renamed to ...
58334         (__internal_getnetgrent_r): ... this.  Add internal_function to
58335         definition.  Add libc_hidden_def.
58336         (__getnetgrent_r): Update caller.
58337         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
58339 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58341         * stdlib/longlong.h: Update from GCC.
58343 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58345         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
58346         on _QL, which is set by umul_ppmm but never used.
58347         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
58348         variables, which are set by GMP macros but never used.
58349         * stdio-common/_itowa.c (_itowa): Likewise.
58350         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
58351         * stdlib/mod_1.c (mpn_mod_1): Likewise.
58353 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
58355         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
58356         struct La_sh_regs is not constant.
58357         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
58358         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
58359         and struct La_sparc64_regs are not constant.
58361 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58363         * sysdeps/unix/sysv/linux/kernel-features.h
58364         (__ASSUME_POSIX_TIMERS): Remove.
58365         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58366         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58367         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
58368         Make code unconditional.
58369         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58370         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
58371         Make code unconditional.
58372         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58373         * sysdeps/unix/sysv/linux/clock_nanosleep.c
58374         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
58375         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58376         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
58377         Make code unconditional.
58378         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58379         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
58380         (__libc_missing_posix_timers): Remove.
58382 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58384         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
58385         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
58387         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
58389         * elf/dl-sym.c: Include <stdlib.h>.
58391         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
58392         constants, which avoids warnings in 32-bit builds.
58394         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
58395         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
58397         * misc/lseek.c: File moved to ...
58398         * io/lseek.c: ... here.
58400         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
58402         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
58403         shifting LEN more than 31 bits at once.
58405 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58407         [BZ #14195]
58408         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
58409         segmentation fault for a case of two empty input strings.
58410         * string/test-strncasecmp.c (check1): Renamed to...
58411         (bz12205): ...this.
58412         (bz14195): Add new testcase for two empty input strings and N > 0.
58413         (test_main): Call new testcase, adapt for renamed function.
58415 2012-08-15  Andreas Jaeger  <aj@suse.de>
58417         [BZ #14090]
58418         * crypt/md5test2.c: New test, based on test supplied by Serge
58419         Belyshev <belyshev@depni.sinp.msu.ru>.
58420         * crypt/Makefile (xtests): Add md5test-giant..
58421         * crypt/Makefile ($(objpfx)md5test-giant): Add.
58423 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
58425         [BZ #14090]
58426         * crypt/md5.c (md5_process_block): Don't assume the buffer
58427         length is less than 2**32.
58428         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
58429         length is less than 2**64.
58431 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58433         * string/str-two-way.h: Include <sys/param.h>.
58434         (MAX): Macro removed.
58436         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
58437         Move #define and #undef of memmove to just before and after
58438         including <string.h>.
58440         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
58441         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
58442         and after including <string.h>.  Move declarations of
58443         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
58444         to before #include "string/memmove.c".
58446         * include/dirent.h: Declare __getdirentries.
58448         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
58449         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
58451 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
58453         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
58454         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
58455         * sysdeps/i386/configure: Regenerated.
58456         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
58457         STABS_CURRENT_FILE, and STABS_FUN.
58458         (END): Remove call to STABS_FUN_END.
58459         (STABS_CURRENT_FILE1): Delete.
58460         (STABS_CURRENT_FILE): Likewise.
58461         (STABS_FUN): Likewise.
58462         (STABS_FUN_END): Likewise.
58463         (STABS_FUN2): Likewise.
58464         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
58465         * sysdeps/x86_64/configure: Regenerated.
58467 2012-08-14  Roland McGrath  <roland@hack.frob.com>
58469         * elf/dl-open.c: Include <atomic.h>.
58470         * elf/dl-lookup.c: Likewise.
58472 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
58474         * sysdeps/unix/sysv/linux/kernel-features.h
58475         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
58476         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
58477         unconditionally.
58478         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
58479         unconditionally.
58480         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
58481         condition on __ASSUME_CLONE_THREAD_FLAGS.
58483 2012-08-14  Andreas Jaeger  <aj@suse.de>
58485         * sysdeps/i386/fpu/libm-test-ulps: Update.
58487 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
58489         * include/atomic.h (atomic_exchange_and_add): Split into ...
58490         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
58491         New atomic macros.
58493 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
58495         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58497 2012-08-13  Jeff Law <law@redhat.com>
58499         * manual/stdio.texi (snprintf): Clarify handling of the trailing
58500         null byte in the output string.
58502 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
58504         * sysdeps/unix/sysv/linux/kernel-features.h
58505         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
58506         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
58507         (__ASSUME_ARG_MAX_STACK_BASED): Define.
58508         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
58509         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
58510         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
58511         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
58513 2012-08-09  Jeff Law <law@redhat.com>
58515         [BZ #13939]
58516         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
58517         When avoid_arena is set, don't retry in the that arena.  Pick the
58518         next one, whatever it might be.
58519         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
58520         (arena_lock): Pass in new parameter to arena_get2.
58521         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
58522         arena_get2.
58523         (__libc_malloc): Unify retrying after main arena failure with
58524         __libc_memalign version.
58525         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
58527 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
58529         [BZ #14166]
58530         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
58531         to __redirect_strstr.
58532         (__strstr_sse42): Use typeof __redirect_strstr.
58533         (__strstr_ia32): Likewise.
58534         (__libc_strstr): New prototype.
58535         (strstr): Renamed to ...
58536         (__libc_strstr): This.
58537         (strstr): New strong alias of __libc_strstr.
58538         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58539         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
58540         __redirect_time.
58541         Include <time.h>.
58542         (__libc_time): New prototype.
58543         (time_ifunc): Replace time with __libc_time.
58544         (time): New strong alias and hidden definition of __libc_time.
58545         (__GI_time): Remove strong alias.
58546         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
58547         Include <stddef.h>.
58548         (memmove): Redefined to __redirect_memmove.
58549         (__memmove_sse2): Use typeof __redirect_memmove.
58550         (__memmove_ssse3): Likewise.
58551         (__memmove_ssse3_back): Likewise.
58552         (__libc_memmove): New prototype.
58553         (memmove): Renamed to ...
58554         (__libc_memmove): This.
58555         (memmove): New strong alias of __libc_memmove.
58557 2012-08-08  Mark Salter  <msalter@redhat.com>
58559         * elf/elf.h
58560         (R_MN10300_TLS_GD): Define.
58561         (R_MN10300_TLS_LD): Likewise.
58562         (R_MN10300_TLS_LDO): Likewise.
58563         (R_MN10300_TLS_GOTIE): Likewise.
58564         (R_MN10300_TLS_IE): Likewise.
58565         (R_MN10300_TLS_LE): Likewise.
58566         (R_MN10300_TLS_DTPMOD): Likewise.
58567         (R_MN10300_TLS_DTPOFF): Likewise.
58568         (R_MN10300_TLS_TPOFF): Likewise.
58569         (R_MN10300_SYM_DIFF): Likewise.
58570         (R_MN10300_ALIGN): Likewise.
58571         (R_MN10300_NUM): Update.
58573 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
58575         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
58576         Remove.
58578 2012-08-08  Roland McGrath  <roland@hack.frob.com>
58580         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
58582         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
58583         sysdeps/unix -> sysdeps/posix move.
58584         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58586 2012-08-07      Allan McRae     <allan@archlinux.org>
58588         [BZ #14303]
58589         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
58590         (SUNOS_CPP): Likewise.
58591         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
58592         not found.
58593         (open_input): Call CPP using execvp.
58595 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58597         * sysdeps/unix/sysv/linux/kernel-features.h
58598         (__ASSUME_PROT_GROWSUPDOWN): Remove.
58599         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58600         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58601         (__ASSUME_WAITID_SYSCALL): Likewise.
58602         * sysdeps/unix/sysv/linux/dl-execstack.c
58603         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
58604         code unconditional.
58605         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
58606         conditional code.
58607         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
58608         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
58609         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
58610         code.
58611         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
58612         unconditional.
58613         [__ASSUME_WAITID_SYSCALL]: Likewise.
58614         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
58616 2012-08-07  Roland McGrath  <roland@hack.frob.com>
58618         * sysdeps/unix/closedir.c: Renamed to ...
58619         * sysdeps/posix/closedir.c: ... here.
58620         * sysdeps/unix/dirfd.c: Renamed to ...
58621         * sysdeps/posix/dirfd.c: ... here.
58622         * sysdeps/unix/dirstream.h: Renamed to ...
58623         * sysdeps/posix/dirstream.h: ... here.
58624         * sysdeps/unix/fdopendir.c: Renamed to ...
58625         * sysdeps/posix/fdopendir.c: ... here.
58626         * sysdeps/unix/opendir.c: Renamed to ...
58627         * sysdeps/posix/opendir.c: ... here.
58628         * sysdeps/unix/readdir.c: Renamed to ...
58629         * sysdeps/posix/readdir.c: ... here.
58630         * sysdeps/unix/readdir_r.c: Renamed to ...
58631         * sysdeps/posix/readdir_r.c: ... here.
58632         * sysdeps/unix/rewinddir.c: Renamed to ...
58633         * sysdeps/posix/rewinddir.c: ... here.
58634         * sysdeps/unix/seekdir.c: Renamed to ...
58635         * sysdeps/posix/seekdir.c: ... here.
58636         * sysdeps/unix/telldir.c: Renamed to ...
58637         * sysdeps/posix/telldir.c: ... here.
58638         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
58639         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
58640         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
58641         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
58643         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
58644         * bits/fcntl.h: ... here.
58646         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
58647         not 0.
58648         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
58649         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
58650         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
58651         (struct flock): Move l_start, l_len to the beginning.
58652         Use __pid_t for l_pid.
58653         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
58654         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
58655         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
58656         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
58657         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
58658         [__USE_LARGEFILE64] (struct flock64): New type.
58659         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
58661         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
58662         * bits/dirent.h: ... here.
58664         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
58665         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
58667 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58669         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58670         Change from 2.6.0 to 2.6.16.
58671         * sysdeps/unix/sysv/linux/configure: Regenerated.
58672         * sysdeps/unix/sysv/linux/kernel-features.h
58673         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
58674         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
58675         version.
58676         (__ASSUME_UTIMES): Likewise.
58677         (__ASSUME_CLONE_STOPPED): Remove.
58678         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
58679         architectures, not kernel version.
58680         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
58681         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58682         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58683         (__ASSUME_WAITID_SYSCALL): Likewise.
58684         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
58685         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
58686         * README: State 2.6.16 as minimum Linux kernel version.  Do not
58687         refer to older versions.
58689 2012-08-06  Roland McGrath  <roland@hack.frob.com>
58691         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
58692         Define alphasort64 as an alias.
58693         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
58694         Define versionsort64 as an alias.
58695         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
58696         Define scandir64 as an alias.
58697         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
58698         Define scandirat64 as an alias.
58699         * dirent/alphasort64.c (alphasort64):
58700         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
58701         * dirent/versionsort64.c: Likewise.
58702         * dirent/scandir64.c: Likewise.
58703         * dirent/scandirat64.c: Likewise.
58704         * sysdeps/wordsize-64/alphasort.c: File removed.
58705         * sysdeps/wordsize-64/alphasort64.c: File removed.
58706         * sysdeps/wordsize-64/scandir.c: File removed.
58707         * sysdeps/wordsize-64/scandir64.c: File removed.
58708         * sysdeps/wordsize-64/scandirat.c: File removed.
58709         * sysdeps/wordsize-64/scandirat64.c: File removed.
58710         * sysdeps/wordsize-64/versionsort.c: File removed.
58711         * sysdeps/wordsize-64/versionsort64.c: File removed.
58712         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
58713         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
58714         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
58715         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
58716         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
58717         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
58718         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
58719         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
58721         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
58722         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58723         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
58724         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58725         [defined __arch64__ || defined __sparcv9]
58726         (__INO_T_MATCHES_INO64_T): New macro.
58727         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58728         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
58729         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
58730         * sysdeps/unix/sysv/linux/bits/dirent.h
58731         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
58732         (_DIRENT_MATCHES_DIRENT64): New macro.
58734         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
58735         Define lockf64 as an alias.
58736         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
58737         Define fseeko64 as an alias.
58738         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
58739         Define ftello64 as an alias.
58740         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
58741         Define _IO_fgetpos64 and fgetpos64 as aliases.
58742         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
58743         Define _IO_fsetpos64 and fsetpos64 as aliases.
58744         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
58745         Conditionalize body on this.
58746         * libio/fseeko64.c: Likewise.
58747         * libio/ftello64.c: Likewise.
58748         * libio/iofgetpos64.c: Likewise.
58749         * libio/iofsetpos64.c: Likewise.
58750         * sysdeps/wordsize-64/lockf.c: File removed.
58751         * sysdeps/wordsize-64/lockf64.c: File removed.
58752         * sysdeps/wordsize-64/fseeko.c: File removed.
58753         * sysdeps/wordsize-64/fseeko64.c: File removed.
58754         * sysdeps/wordsize-64/ftello.c: File removed.
58755         * sysdeps/wordsize-64/ftello64.c: File removed.
58756         * sysdeps/wordsize-64/iofgetpos.c: File removed.
58757         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
58758         * sysdeps/wordsize-64/iofsetpos.c: File removed.
58759         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
58760         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
58761         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
58762         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
58763         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
58764         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
58765         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
58766         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
58767         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
58768         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
58769         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
58771         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58772         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58773         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
58774         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58775         [defined __arch64__ || defined __sparcv9]
58776         (__OFF_T_MATCHES_OFF64_T): New macro.
58777         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58778         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58779         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58780         (__OFF_T_MATCHES_OFF64_T): New macro.
58782 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58784         * stdlib/secure-getenv.c (__secure_getenv): Replace
58785         GLIBC_2_16 with GLIBC_2_17.
58787 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58789         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
58790         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58792 2012-08-03  David S. Miller  <davem@davemloft.net>
58794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58796 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58798         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
58799         Remove.
58800         (__ASSUME_CORRECT_SI_PID): Likewise.
58801         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
58802         (__ASSUME_TMPFS_NAME): Likewise.
58803         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
58804         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
58805         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
58806         (HAVE_AUX_SECURE): Make definition unconditional.
58807         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
58808         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
58810 2012-08-03  Roland McGrath  <roland@hack.frob.com>
58812         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
58813         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
58814         * sysdeps/mach/hurd/eloop-threshold.h: New file.
58815         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58816         __eloop_threshold instead of SYMLOOP_MAX.
58818         * sysdeps/generic/eloop-threshold.h: New file.
58819         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
58820         of MAXSYMLINKS.
58821         * elf/chroot_canon.c (chroot_canon): Likewise.
58823 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58825         [BZ #13717]
58826         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58827         Change to 2.6.0 everywhere.
58828         * sysdeps/unix/sysv/linux/configure: Regenerated.
58829         * sysdeps/unix/sysv/linux/kernel-features.h
58830         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
58831         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
58832         kernel versions.
58833         (__ASSUME_POSIX_TIMERS): Define unconditionally.
58834         (__ASSUME_FUTEX_REQUEUE): Remove.
58835         (__ASSUME_STATFS64): Define unconditionally.
58836         (__ASSUME_AT_SECURE): Likewise.
58837         (__ASSUME_CORRECT_SI_PID): Likewise.
58838         (__ASSUME_TGKILL): Define without depending on kernel version for
58839         i386.
58840         (__ASSUME_UTIMES): Likewise.
58841         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
58842         kernel version.
58843         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
58844         (__ASSUME_TMPFS_NAME): Likewise.
58845         * README: Update reference to Linux kernel versions.
58847 2012-08-02  Marek Polacek  <polacek@redhat.com>
58849         [BZ# 14150]
58850         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
58851         libc_cv_asm_type_prefix with %.
58852         * configure: Regenerated.
58853         * include/libc-symbols.h: Remove comment about
58854         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58855         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
58856         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
58857         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
58858         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
58859         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58860         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
58861         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
58862         * elf/tst-unique2mod1.c: Likewise.
58863         * elf/tst-unique1mod2.c: Likewise.
58864         * elf/tst-unique1mod1.c: Likewise.
58865         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
58866         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
58867         Replace ASM_TYPE_DIRECTIVE with .type.
58868         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58869         * sysdeps/i386/sysdep.h: Likewise.
58870         * sysdeps/x86_64/sysdep.h: Likewise.
58871         * sysdeps/sh/sysdep.h: Likewise.
58872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58873         Do not define ASM_TYPE_DIRECTIVE.
58874         * sysdeps/powerpc/sysdep.h: Likewise.
58875         * sysdeps/powerpc/powerpc32/sysdep.h:
58876         Replace ASM_TYPE_DIRECTIVE with .type.
58877         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58878         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58879         * sysdeps/i386/fpu/e_powf.S: Likewise.
58880         * sysdeps/i386/fpu/e_expl.S: Likewise.
58881         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58882         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58883         * sysdeps/i386/fpu/e_pow.S: Likewise.
58884         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58885         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58886         * sysdeps/i386/fpu/s_expm1.S: Likewise.
58887         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58888         * sysdeps/i386/fpu/e_log2.S: Likewise.
58889         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58890         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58891         * sysdeps/i386/fpu/e_powl.S: Likewise.
58892         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58893         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58894         * sysdeps/i386/fpu/e_logl.S: Likewise.
58895         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58896         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58897         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58898         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58899         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58900         * sysdeps/i386/fpu/e_log.S: Likewise.
58901         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58902         * sysdeps/i386/fpu/e_logf.S: Likewise.
58903         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58904         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58905         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58906         * sysdeps/i386/fpu/e_log10.S: Likewise.
58907         * sysdeps/i386/fpu/s_frexp.S: Likewise.
58908         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58909         * sysdeps/i386/fpu/s_asinh.S: Likewise.
58910         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58911         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58912         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
58913         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58914         * sysdeps/i386/i686/strtok.S: Likewise.
58915         * sysdeps/i386/i386-mcount.S: Likewise.
58916         * sysdeps/i386/strtok.S: Likewise.
58917         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
58918         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58919         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58920         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58921         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
58922         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58923         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58924         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58925         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58926         * sysdeps/x86_64/_mcount.S: Likewise.
58927         * sysdeps/x86_64/strtok.S: Likewise.
58928         * sysdeps/sh/_mcount.S: Likewise.
58930 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58932         * libio/iofopen.c: Include <fcntl.h>.
58933         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
58934         (_IO_fopen64, fopen64): Define as aliases.
58935         * libio/iofopen64.c: Include <fcntl.h>.
58936         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
58937         Conditionalize body on this.
58938         * sysdeps/wordsize-64/iofopen.c: File removed.
58939         * sysdeps/wordsize-64/iofopen64.c: File removed.
58941 2012-08-01  Marek Polacek  <polacek@redhat.com>
58943         * libc/Makeconfig: Use elf in place of binfmt-subdir.
58944         Use dlfcn directly instead of a variable.
58945         (binfmt-subdir): Do not define.
58946         (dlfcn): Likewise.
58948 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
58950         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
58951         Remove all definitions.
58952         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
58953         <kernel-features.h>.
58954         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58955         (miss_F_GETOWN_EX): Remove all definitions.
58956         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
58957         macro definition.
58958         [!__ASSUME_FCNTL64]: Remove conditional code.
58959         [__ASSUME_FCNTL64]: Make code unconditional.
58960         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
58961         <kernel-features.h>.
58962         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58963         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
58964         (lockf64) [__NR_fcntl64]: Make code unconditional.
58965         (lockf64) [__ASSUME_FCNTL64]: Likewise.
58967         * sysdeps/unix/sysv/linux/kernel-features.h
58968         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
58969         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
58970         Make code unconditional.
58971         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58972         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
58974         [__NR_vfork]: Make code unconditional.
58975         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58976         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
58978         [__NR_vfork]: Make code unconditional.
58979         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58980         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58982 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58984         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
58985         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
58987         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58988         Define mkstemp64 as an alias.
58989         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58990         Define mkstemps64 as an alias.
58991         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58992         Define mkostemp64 as an alias.
58993         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58994         Define mkostemps64 as an alias.
58995         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
58996         Conditionalize body on this.
58997         * misc/mkostemp64.c: Likewise.
58998         * misc/mkostemps64.c: Likewise.
58999         * misc/mkstemps64.c: Likewise.
59000         * sysdeps/wordsize-64/mkstemp64.c: File removed.
59001         * sysdeps/wordsize-64/mkostemp64.c: File removed.
59002         * sysdeps/wordsize-64/mkostemp.c: File removed.
59003         * sysdeps/wordsize-64/mkstemp.c: File removed.
59004         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
59005         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
59006         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
59007         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
59009         [BZ #14138]
59010         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
59011         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
59012         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
59013         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
59015         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
59016         compat_symbol macros from <shlib-compat.h> rather than the underlying
59017         default_symbol_version and symbol_version macros, so that DEFAULT
59018         lines in shlib-versions are respected.
59019         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
59021 2012-08-01  Florian Weimer  <fweimer@redhat.com>
59023         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
59024         Declare with warn_unused_result.
59025         (setgid, setregid, setegid, setresgid): Likewise.
59026         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
59027         Likewise.
59028         * WUR-REPORT: Remove set*id functions.
59030 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
59032         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
59034 2012-07-31  Roland McGrath  <roland@hack.frob.com>
59036         [BZ #10191]
59037         * include/sys/socket.h (__libc_accept, __libc_accept4):
59038         Add attribute_hidden.
59039         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
59041         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
59042         use of PTR_MANGLE.
59043         * inet/getnetgrent_r.c (setup): Likewise.
59045         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
59047 2012-07-31  David S. Miller  <davem@davemloft.net>
59049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59051 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
59053         [BZ #13629]
59054         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
59055         value between 1.0 and 2.0 and smaller part has absolute value less
59056         than 1.0.
59057         * math/s_clog10.c (__clog10): Likewise.
59058         * math/s_clog10f.c (__clog10f): Likewise.
59059         * math/s_clog10l.c (__clog10l): Likewise.
59060         * math/s_clogf.c (__clogf): Likewise.
59061         * math/s_clogl.c (__clogl): Likewise.
59062         * math/libm-test.inc (clog_test): Add more tests.
59063         (clog10_test): Likewise.
59064         * sysdeps/i386/fpu/libm-test-ulps: Update.
59065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59067 2012-07-31  Florian Weimer  <fweimer@redhat.com>
59069         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
59070         Exit with zero in case no suitable GID is found, and write a
59071         message to standard error.
59073 2012-07-30  Roland McGrath  <roland@hack.frob.com>
59075         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
59076         rather than to 1.
59077         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
59078         (MAXPATHLEN): Removed.
59079         (NOGROUP, NODEV): New macros.
59080         (setbit, clrbit, isset, isclr): New macros.
59081         (howmany, roundup, powerof2): New macros.
59082         (DEV_BSIZE): New macro.
59084         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
59085         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
59087         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
59088         definition on [!__NO_LONG_DOUBLE_MATH].
59090         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
59091         PTR_MANGLE and PTR_DEMANGLE.
59093         * socket/accept4.c (accept4): Rename to __libc_accept4.
59094         Define accept4 as a weak alias.
59096         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
59097         on [_DIRENT_HAVE_D_TYPE].
59098         * io/ftw.c (ftw_dir): Likewise.
59100         * io/xmknod.c (__xmknod): Don't check PATH for being null.
59102         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
59104         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
59105         Use the BSD numbers rather than the arbitrary ones we had.
59106         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
59107         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
59108         (SIGXCPU, SIGXFSZ): New macros.
59109         (_NSIG): Now 32.
59111         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
59112         initializer on [_LIBC_REENTRANT].
59114         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
59115         definitions inside [_POSIX_MAPPED_FILES].
59117         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
59119         * dirent/opendir.c: Include <fcntl.h>.
59121         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
59122         (__libc_getspecific): Likewise.
59123         (__libc_key_create): Likewise.
59125         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
59126         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
59127         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
59128         (tmpfile64): Define as alias.
59129         * sysdeps/wordsize-64/tmpfile.c: File removed.
59130         * sysdeps/wordsize-64/tmpfile64.c: File removed.
59131         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
59132         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
59134         * stdio-common/vfscanf.c: Include <stdbool.h>.
59135         * nss/makedb.c: Likewise.
59136         * stdio-common/_i18n_number.h: Likewise.
59137         * argp/argp-help.c: Likewise.
59138         * posix/wordexp.c: Likewise.
59139         * sysdeps/posix/spawni.c: Likewise.
59140         * nss/nss_files/files-initgroups.c: Likewise.
59141         * stdio-common/reg-modifier.c: Include <stdlib.h>.
59142         * nss/nss_files/files-initgroups.c: Likewise.
59143         * nss/nss_db/db-netgrp.c: Likewise.
59144         * nss/nss_db/db-initgroups.c: Likewise.
59145         * io/fchmodat.c: Include <sys/stat.h>.
59147         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
59148         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
59150         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
59151         [HAVE_MMAP].
59153         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
59154         Add multiple inclusion protection.
59156 2012-07-27  David S. Miller  <davem@davemloft.net>
59158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59160 2012-07-27  Gary Benson  <gbenson@redhat.com>
59162         [BZ #14298]
59163         * elf/rtld.c: Include <stap-probe.h>.
59164         (dl_main): Added static probes "init_start" and "init_complete".
59165         * elf/dl-load.c: Include <stap-probe.h>.
59166         (lose): Take new parameter "nsid".
59167         Added static probe "map_failed".
59168         (_dl_map_object_from_fd): Pass namespace id to lose.
59169         Added static probe "map_start".
59170         (open_verify): Pass namespace id to lose.
59171         * elf/dl-open.c: Include <stap-probe.h>.
59172         (dl_open_worker) Added static probes "map_complete", "reloc_start"
59173         and "reloc_complete".
59174         * elf/dl-close.c: Include <stap-probe.h>.
59175         (_dl_close_worker): Added static probes "unmap_start" and
59176         "unmap_complete".
59177         * elf/rtld-debugger-interface.txt: New file documenting the above.
59179 2012-07-26  Roland McGrath  <roland@hack.frob.com>
59181         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
59182         rather than a string variable.
59183         * sunrpc/rpc_main.c (h_output): Likewise.
59184         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
59186 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
59188         * inet/check_native.c: New file.
59190 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
59192         [BZ #13629]
59193         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
59194         if larger part has absolute value 1.0.
59195         * math/s_clog10.c (__clog10): Likewise.
59196         * math/s_clog10f.c (__clog10f): Likewise.
59197         * math/s_clog10l.c (__clog10l): Likewise.
59198         * math/s_clogf.c (__clogf): Likewise.
59199         * math/s_clogl.c (__clogl): Likewise.
59200         * math/libm-test.inc (clog_test): Add more tests.
59201         (clog10_test): Likewise.
59202         * sysdeps/i386/fpu/libm-test-ulps: Update.
59203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59205         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
59206         (pltexit): Likewise.
59207         (La_regs): Likewise.
59208         (La_retval): Likewise.
59209         (int_retval): Likewise.
59210         Update #error for removed macros to refer only to definitions in
59211         tst-audit.h.
59212         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
59213         macro.
59214         (pltexit): Likewise.
59215         (La_regs): Likewise.
59216         (La_retval): Likewise.
59217         (int_retval): Likewise.
59218         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
59219         macro.
59220         (pltexit): Likewise.
59221         (La_regs): Likewise.
59222         (La_retval): Likewise.
59223         (int_retval): Likewise.
59224         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
59225         macro.
59226         (pltexit): Likewise.
59227         (La_regs): Likewise.
59228         (La_retval): Likewise.
59229         (int_retval): Likewise.
59230         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
59231         macro.
59232         (pltexit): Likewise.
59233         (La_regs): Likewise.
59234         (La_retval): Likewise.
59235         (int_retval): Likewise.
59236         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
59237         macro.
59238         (pltexit): Likewise.
59239         (La_regs): Likewise.
59240         (La_retval): Likewise.
59241         (int_retval): Likewise.
59242         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
59243         macro.
59244         (pltexit): Likewise.
59245         (La_regs): Likewise.
59246         (La_retval): Likewise.
59247         (int_retval): Likewise.
59248         * sysdeps/generic/tst-audit.h: Update comment to refer only to
59249         macro definitions in tst-audit.h.
59250         * sysdeps/i386/tst-audit.h: New file.
59251         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
59252         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
59253         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
59254         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
59255         * sysdeps/sh/tst-audit.h: Likewise.
59256         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
59257         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
59258         * sysdeps/x86_64/tst-audit.h: Likewise.
59260 2012-07-26  Andreas Jaeger  <aj@suse.de>
59262         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
59263         ptrace.
59265         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
59266         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
59267         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
59268         PTRACE_O_MASK.
59269         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
59270         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
59271         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
59273         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
59274         value.
59276         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
59277         _sigsys.
59278         (si_call_addr, si_syscall, si_arch): Define new macro.
59279         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
59280         _sigsys.
59281         (si_call_addr, si_syscall, si_arch): Define new marcro.
59282         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
59283         _sigsys.
59284         (si_call_addr, si_syscall, si_arch): Define new macro.
59285         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
59286         _sigsys.
59287         (si_call_addr, si_syscall, si_arch): Define new macro.
59289 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59291         [BZ #13717]
59292         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59293         Change to 2.4.21 where previously 2.4.1.
59294         * sysdeps/unix/sysv/linux/configure: Regenerated.
59295         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
59296         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
59297         Linux kernel version.
59298         (__ASSUME_STD_AUXV): Remove.
59299         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
59300         kernel version.
59301         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
59302         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
59303         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
59304         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
59305         (__ASSUME_NETLINK_SUPPORT): Likewise.
59306         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
59307         (__no_netlink_support): Remove conditional definition.
59308         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
59309         Remove.
59310         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59311         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
59312         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
59313         (if_nameindex_ioctl): Remove.
59314         (if_nameindex_netlink): Do not handle __no_netlink_support.
59315         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59316         code.
59317         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
59318         Remove conditional code.
59319         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59320         code.
59321         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
59322         unconditional.
59323         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59324         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
59325         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
59326         Remove.
59327         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
59328         [!__ASSUME_STD_AUXV]: Remove conditional code.
59329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
59330         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
59331         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
59332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
59333         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
59334         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59335         code.
59336         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59338         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
59339         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59340         conditional code.
59341         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59343         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59344         code.
59345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59346         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59347         conditional code.
59348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
59349         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59350         code unconditional.
59351         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59352         conditional code.
59353         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59354         unconditional.
59355         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59356         conditional code.
59357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59358         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59359         unconditional.
59360         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59361         conditional code.
59362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
59363         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59364         code unconditional.
59365         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59366         conditional code.
59367         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59368         unconditional.
59369         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59370         conditional code.
59371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
59372         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59373         code unconditional.
59374         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59375         conditional code.
59376         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59377         unconditional.
59378         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59379         conditional code.
59381 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
59383         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
59384         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
59385         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
59386         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
59387         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
59388         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
59389         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
59390         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
59391         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
59392         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
59393         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
59394         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
59395         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
59396         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
59397         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
59398         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
59399         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
59400         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
59401         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
59402         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
59403         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
59404         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
59405         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59407 2012-07-25  Florian Weimer  <fweimer@redhat.com>
59409         * Versions.def: Add GLIBC_2.17.
59410         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
59411         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
59412         Introduce __libc_secure_getenv.
59413         * stdlib/Versions (2.17): Add secure_getenv
59414         (GLIBC_PRIVATE): Add __libc_secure_getenv.
59415         * stdlib/secure-getenv.c: Rename __secure_getenv to
59416         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
59417         symbol __secure_getenv for GLIBC_2.0.
59418         * stdlib/tst-secure-getenv.c: New.
59419         * stdlib/Makefile (tests): Add testcase.
59420         * manual/startup.texi (Environment Access): Document
59421         secure_getenv.
59422         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
59423         __libc_secure_getenv.
59424         * inet/ruserpass.c (ruserpass): Likewise.
59425         * malloc/mtrace.c (mtrace): Likewise.
59426         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
59427         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
59428         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
59429         * sysdeps/posix/tempname.c: Likewise.  Evaluate
59430         HAVE_SECURE_GETENV.
59431         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
59432         __secure_getenv to __libc_secure_getenv.
59433         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
59434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59435         Likewise.
59436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59437         Likewise.
59438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59440         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59446 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59448         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
59449         (struct La_i86_retval): Likewise.
59450         (struct La_x86_64_regs): Likewise.
59451         (struct La_x86_64_retval): Likewise.
59452         (struct La_x32_regs): Likewise.
59453         (struct La_x32_retval): Likewise.
59454         (struct La_ppc32_regs): Likewise.
59455         (struct La_ppc32_retval): Likewise.
59456         (struct La_ppc64_regs): Likewise.
59457         (struct La_ppc64_retval): Likewise.
59458         (struct La_sh_regs): Likewise.
59459         (struct La_sh_retval): Likewise.
59460         (struct La_s390_32_regs): Likewise.
59461         (struct La_s390_32_retval): Likewise.
59462         (struct La_s390_64_regs): Likewise.
59463         (struct La_s390_64_retval): Likewise.
59464         (struct La_sparc32_regs): Likewise.
59465         (struct La_sparc32_retval): Likewise.
59466         (struct La_sparc64_regs): Likewise.
59467         (struct La_sparc64_retval): Likewise.
59468         (struct audit_ifaces): Remove architecture-specific pltenter and
59469         pltexit members.
59470         * sysdeps/i386/ldsodefs.h: New file.
59471         * sysdeps/powerpc/ldsodefs.h: Likewise.
59472         * sysdeps/s390/ldsodefs.h: Likewise.
59473         * sysdeps/sh/ldsodefs.h: Likewise.
59474         * sysdeps/sparc/ldsodefs.h: Likewise.
59475         * sysdeps/x86_64/ldsodefs.h: Likewise.
59477 2012-07-25  Marek Polacek  <polacek@redhat.com>
59479         [BZ #6808]
59480         * math/libm-test.inc (yn_test): Add another test.
59481         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
59482         to ERANGE when the result is +-Inf.
59483         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59484         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
59485         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
59486         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
59488 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
59490         * conform/data/time.h-data (NULL): Use macro-constant.  Require
59491         equal to 0.
59492         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
59493         clock_t.
59494         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
59496 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
59498         * configure.in <sysdeps resolving>: Correct printing
59499         Implies_before.
59500         * configure: Regenerate.
59502 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
59504         * math/w_ilogb.c: Include <limits.h>.
59505         * math/w_ilogbl.c: Likewise.
59507 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59509         * manual/lang.texi (__va_copy): Document primarily as ISO C99
59510         va_copy.  Document allowing for unavailable va_copy only as
59511         pre-C99 compatibility.
59512         * manual/string.texi (Copying and Concatenation): Use va_copy
59513         instead of __va_copy in concat example.
59515 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
59517         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
59518         (__sendto): Use create_address_port.  Initialize APORT and deallocate
59519         it if not null.
59521         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
59522         with O_NOLINK passed to __file_name_lookup.
59524         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
59525         with O_NOLINK passed to __file_name_lookup.
59527         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
59528         negative N or less than NGIDS.
59530         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
59531         type to string_t.  Set ERANGE as errno and return it if NAME is not big
59532         enough.  Use memcpy instead of strncpy.
59534 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59536         * elf/Makefile (check-data): Remove.
59537         (localplt.data): New vpath directive.
59538         ($(objpfx)check-localplt.out): Use localplt.data from vpath
59539         instead of $(check-data).
59540         * scripts/data/localplt-generic.data: Move to ...
59541         * sysdeps/generic/localplt.data: ... here.
59542         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
59543         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
59544         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
59545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
59546         ... here.
59547         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
59548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
59549         ... here.
59550         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
59551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
59552         ... here.
59553         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
59554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
59555         ... here.
59556         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
59557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
59558         ... here.
59559         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
59560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
59561         ... here.
59563 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59565         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
59566         PPC32 and PPC64 files.
59567         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
59568         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
59570 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59572         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
59573         __makecontext_ret to ...
59574         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
59575         ... here and call exit if uc_link is NULL.  New file.
59576         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
59577         __makecontext_ret.S.
59578         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
59579         __makecontext_ret to ...
59580         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
59581         ... here and call exit if uc_link is NULL.  New file.
59582         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
59583         __makecontext_ret.S.
59585 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59587         * elf/elf.h (R_390_IRELATIVE): New definition.
59588         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
59589         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
59590         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
59591         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59592         (elf_machine_lazy_rel): Likewise.
59593         * sysdeps/s390/dl-irel.h: New file.
59594         * sysdeps/s390/s390-64/memcpy.S: New asm code.
59595         * sysdeps/s390/s390-64/memset.S: New asm code.
59596         * sysdeps/s390/s390-64/memcmp.S: New asm code.
59597         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
59598         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
59599         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
59600         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
59601         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
59602         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
59603         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
59604         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
59605         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
59606         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
59607         * sysdeps/s390/s390-32/memcpy.S: New asm code.
59608         * sysdeps/s390/s390-32/memset.S: New asm code.
59609         * sysdeps/s390/s390-32/memcmp.S: New asm code.
59611 2012-07-17  Marek Polacek  <polacek@redhat.com>
59613         [BZ #14349]
59614         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
59615         * sysdeps/s390/s390-64/configure.in: Likewise.
59616         * sysdeps/sparc/configure.in: Likewise.
59617         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
59618         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
59619         * sysdeps/i386/configure.in: Likewise.
59620         * sysdeps/x86_64/configure.in: Likewise.
59621         * sysdeps/sh/configure.in: Likewise.
59622         * sysdeps/s390/s390-32/configure: Regenerated.
59623         * sysdeps/s390/s390-64/configure: Likewise.
59624         * sysdeps/x86_64/configure: Likewise.
59625         * sysdeps/sh/configure: Likewise.
59626         * sysdeps/powerpc/powerpc64/configure: Likewise.
59627         * sysdeps/powerpc/powerpc32/configure: Likewise.
59628         * sysdeps/sparc/configure: Likwise.
59629         * sysdeps/i386/configure: Likewise.
59631         * elf/dl-open.c: Comment fixes.
59633 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
59635         * Makefile [CXX] (check-data): Remove.
59636         [CXX] (c++-types.data): New vpath directive.
59637         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
59638         vpath.  Do not allow for C++ type data being missing.
59639         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
59640         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
59641         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
59642         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
59643         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
59644         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
59645         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
59646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
59647         ... here.
59648         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
59649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
59650         ... here.
59651         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
59652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
59653         ... here.
59654         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
59655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
59656         ... here.
59657         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
59658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
59659         ... here.
59660         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
59661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
59662         ... here.
59663         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
59664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
59665         ... here.
59666         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
59667         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
59669         * elf/tls-macros.h (TLS_LE): Move architecture-specific
59670         definitions to architecture-specific files.
59671         (TLS_IE): Likewise.
59672         (TLS_LD): Likewise.
59673         (TLS_GD): Likewise.
59674         * sysdeps/i386/tls-macros.h: New file.
59675         * sysdeps/powerpc/tls-macros.h: Likewise.
59676         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
59677         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
59678         * sysdeps/sh/tls-macros.h: Likewise.
59679         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
59680         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
59681         * sysdeps/x86_64/tls-macros.h: Likewise.
59683 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59685         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
59686         zero value for regular exit case.
59688         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
59689         (__start_context): Preserve zero value for regular exit case.
59691 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59692             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59694         * manual/setjmp.texi (setcontext): Clarify normal process
59695         termination when uc_link is the null pointer.
59696         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
59697         exit call.
59699 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
59701         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
59702         preprocessor.  Test for each exception mask separately.
59704 2012-07-16  Andreas Jaeger  <aj@suse.de>
59706         * po/ru.po: Update from translation team.
59708 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
59710         * conform/data/string.h-data (NULL): Use macro-constant.  Require
59711         equal to 0.
59712         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
59713         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
59714         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
59715         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
59716         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59718 2012-07-13  Andreas Jaeger  <aj@suse.de>
59720         * po/fr.po: Update from translation team.
59722 2012-07-12  Marek Polacek  <polacek@redhat.com>
59724         [BZ #14173]
59725         * math/libm-test.inc (yn_test): Add test for BZ #14173.
59726         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
59727         loop condition.
59729 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
59731         [BZ #13717]
59732         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59733         Change to 2.4.1 where previously 2.4.0.
59734         * sysdeps/unix/sysv/linux/configure: Regenerated.
59735         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
59736         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
59737         version.
59738         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
59739         (__ASSUME_AT_CLKTCK): Remove.
59740         (__ASSUME_AT_PAGESIZE): Likewise.
59741         (__ASSUME_AT_XID): Likewise.
59742         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
59743         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
59744         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
59745         unconditionally.
59746         (HAVE_AUX_PAGESIZE): Likewise.
59747         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
59748         [__ASSUME_AT_CLKTCK]: Make code unconditional.
59749         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
59751 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
59753         [BZ #14307]
59754         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
59755         the temporary buffer used to invoke __gethostbyname2_r,
59756         __gethostbyaddr_r and gethostbyname4_r to make room for struct
59757         host_data / struct gaih_addrtuple.
59758         * resolv/nss_dns/dns-host.c (global scope): Move definition of
59759         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
59760         header file nss/nsswitch.h.
59761         * nss/nsswitch.h (global scope): Add definition of implementation
59762         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
59763         resolv/nss_dns/dns-host.c).
59765 2012-07-11  Andreas Jaeger  <aj@suse.de>
59767         * po/fr.po: Update from translation team.
59769         * po/sv.po: Update from translation team
59770         * po/fr.po: Another update from translation team.
59772 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59774         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
59775         for subnormals or multiply small sinh result by itself.
59776         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59779 2012-07-11  David S. Miller  <davem@davemloft.net>
59781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59783 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
59785         [BZ #14347]
59786         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
59787         (INTERNAL_MARK): Shift it here.
59789 2012-07-10  Marek Polacek  <polacek@redhat.com>
59791         [BZ #14151]
59792         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
59793         libc_cv_asm_global_directive with .globl.
59794         * configure: Regenerated.
59795         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
59796         with .globl.
59797         * sysdeps/i386/configure: Regenerated.
59798         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
59799         with .globl.
59800         * sysdeps/x86_64/configure: Regenerated.
59801         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
59802         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
59803         * elf/tst-unique2mod2.c: Likewise.
59804         * elf/tst-unique2mod1.c: Likewise.
59805         * elf/tst-unique1mod2.c: Likewise.
59806         * elf/tst-unique1mod1.c: Likewise.
59807         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59808         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59809         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59810         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59811         * sysdeps/mach/sysdep.h: Likewise.
59812         * sysdeps/i386/sysdep.h: Likewise.
59813         * sysdeps/i386/i386-mcount.S: Likewise.
59814         * sysdeps/x86_64/_mcount.S: Likewise.
59815         * sysdeps/x86_64/sysdep.h: Likewise.
59816         * sysdeps/sh/_mcount.S: Likewise.
59817         * sysdeps/sh/sysdep.h: Likewise.
59818         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
59819         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
59820         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
59821         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59822         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
59823         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
59824         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
59825         * locale/localeinfo.h: Likewise.
59826         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
59827         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
59829 2012-07-09  Roland McGrath  <roland@hack.frob.com>
59831         [BZ #14336]
59832         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
59833         system".
59834         * manual/message.texi (The Uniforum approach): Likewise.
59835         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
59836         (glibc iconv Implementation): Likewise.
59838 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
59840         [BZ #14337]
59841         * math/s_clog.c (__clog): Avoid scaling a value down where that
59842         could result in underflow.
59843         * math/s_clog10.c (__clog10): Likewise.
59844         * math/s_clog10f.c (__clog10f): Likewise.
59845         * math/s_clog10l.c (__clog10l): Likewise.
59846         * math/s_clogf.c (__clogf): Likewise.
59847         * math/s_clogl.c (__clogl): Likewise.
59848         * math/libm-test.inc (clog_test): Add more tests.
59849         (clog10_test): Likewise.
59850         * sysdeps/i386/fpu/libm-test-ulps: Update.
59851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59853 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
59855         [BZ #14283]
59856         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
59857         by 7 not 8 to examine high bit of fractional part.
59859         [BZ #14042]
59860         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
59861         for call to __mcount_internal.
59862         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
59863         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
59864         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
59866 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
59868         [BZ #14154]
59869         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
59870         approximation for values within 0x1p-13f of an odd multiple of
59871         pi/4.
59872         * math/libm-test.inc (tan_test): Do not allow spurious underflow
59873         exception.  Add more tests.
59874         * sysdeps/i386/fpu/libm-test-ulps: Update.
59876         [BZ #6778]
59877         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
59878         inputs and return -1 for them.  Do not check for +Inf in case not
59879         reachable for +Inf.
59880         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
59881         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
59882         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59883         and return -1 for them.  Do not check for +Inf in case not
59884         reachable for +Inf.
59885         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
59886         define.
59887         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59888         and return -1 for them.  Do not check for +Inf in case not
59889         reachable for +Inf.
59890         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
59891         spurious underflow.
59892         * sysdeps/i386/fpu/libm-test-ulps: Update.
59893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59895 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
59897         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
59899 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
59901         [BZ #14157]
59902         [BZ #14331]
59903         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
59904         could result in spurious underflow.  Scale down values above
59905         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
59906         * math/s_csqrtf.c (__csqrtf): Likewise.
59907         * math/s_csqrtl.c (__csqrtl): Likewise.
59908         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
59909         spurious underflow.
59910         * sysdeps/i386/fpu/libm-test-ulps: Update.
59911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59913 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
59915         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
59916         xopen-msg.sed.
59917         * catgets/xopen-msg.awk: New file.
59918         * catgets/xopen-msg.sed: Removed.
59920         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
59921         po2text.sed.
59922         * intl/po2test.awk: New file.
59923         * intl/po2test.sed: Removed.
59925 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
59927         [BZ #14328]
59928         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
59929         or multiply small sinh result by itself.
59930         * math/s_ctanf.c (__ctanf): Likewise.
59931         * math/s_ctanh.c (__ctanh): Likewise.
59932         * math/s_ctanhf.c (__ctanhf): Likewise.
59933         * math/s_ctanhl.c (__ctanhl): Likewise.
59934         * math/s_ctanl.c (__ctanl): Likewise.
59935         * math/libm-test.inc (ctan_test_tonearest): New function.
59936         (ctan_test_towardzero): Likewise.
59937         (ctan_test_downward): Likewise.
59938         (ctan_test_upward): Likewise.
59939         (ctanh_test_tonearest): Likewise.
59940         (ctanh_test_towardzero): Likewise.
59941         (ctanh_test_downward): Likewise.
59942         (ctanh_test_upward): Likewise.
59943         (main): Call these new functions.
59944         * sysdeps/i386/fpu/libm-test-ulps: Update.
59945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59947 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
59949         * .gitignore: Delete /ports entry.
59951 2012-07-03  Andreas Jaeger  <aj@suse.de>
59953         * po/bg.po: Update from translation team.
59954         * po/cs.po: Likewise.
59955         * po/de.po: Likewise.
59956         * po/hr.po: Likewise.
59957         * po/nl.pl: Likewise.
59958         * po/pl.po: Likewise.
59959         * po/vi.po: Likewise.
59961 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
59963         * Makeconfig [!+link] (+link-before-libc): New variable.
59964         [!+link] (+link-after-libc): Likewise.
59965         [!+link] (+link-tests): Likewise.
59966         [!+link] (+link): Define in terms of $(+link-before-libc) and
59967         $(+link-after-libc).
59968         [!+link-static] (+link-static-before-libc): New variable.
59969         [!+link-static] (+link-static-after-libc): Likewise.
59970         [!+link-static] (+link-static-tests): Likewise.
59971         [!+link-static] (+link-static): Define in terms of
59972         $(+link-static-before-libc) and $(+link-static-after-libc).
59973         [build-shared] (link-libc-before-gnulib): New variable.
59974         [build-shared] (link-libc-tests): Likewise.
59975         [build-shared] (link-libc): Define in terms of
59976         $(link-libc-before-gnulib).
59977         [!build-shared] (link-libc-tests): New variable.
59978         (link-libc-static-tests): New variable.
59979         [!gnulib] (gnulib-arch): New variable.
59980         [!gnulib] (gnulib-tests): Likewise.
59981         [!gnulib] (static-gnulib-arch): Likewise.
59982         [!gnulib] (static-gnulib-tests): Likewise.
59983         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
59984         Define with "=" instead of ":=".
59985         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
59986         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
59987         * Rules (binaries-all-notests): New variable.
59988         (binaries-all-tests): Likewise.
59989         (binaries-static-notests): Likewise.
59990         (binaries-static-tests): Likewise.
59991         (binaries-all): Define using $(binaries-all-notests) and
59992         $(binaries-all-tests).
59993         (binaries-static): Define using $(binaries-static-notests) and
59994         $(binaries-static-tests).
59995         (binaries-shared-tests): New variable.
59996         (binaries-shared-notests): Likewise.
59997         (binaries-shared): Remove variable.
59998         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
59999         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
60000         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
60001         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
60002         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
60003         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
60004         * elf/Makefile (sln-modules): New variable.
60005         (extra-objs): Add $(sln-modules:=.o).
60006         (ldconfig-modules): Add static-stubs.
60007         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
60008         * elf/static-stubs.c: New file.
60010         [BZ #14283]
60011         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
60012         by 7 not 8 to examine high bit of fractional part.  Use volatile
60013         variables when splitting into final array of floats if
60014         __FLT_EVAL_METHOD__ != 0.
60015         * math/libm-test.inc (cos_test): Add another test.
60016         (sin_test): Likewise.
60017         * sysdeps/i386/fpu/libm-test-ulps: Update.
60019         [BZ #14273]
60020         * math/libm-test.inc (cosh_test): Add more tests.
60022         * version.h (RELEASE): Set to "development".
60023         (VERSION): Set to "2.16.90".
60025 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
60027         * NEWS: Update copyright. Remove last-updated date.
60028         Mention math library bug fixes and timezone data changes.
60029         * README: Mention GNU/Hurd, x32, and HPPA support status.
60031 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
60033         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
60035 2012-06-27  Andreas Jaeger  <aj@suse.de>
60037         * manual/contrib.texi (Contributors): Add Samuel Thibault.
60039 2012-06-25  Andreas Jaeger  <aj@suse.de>
60041         * sysdeps/s390/fpu/libm-test-ulps: Update.
60043 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
60044             Thomas Schwinge  <thomas@codesourcery.com>
60046         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
60047         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
60048         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
60049         fanotify_mark.
60051 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
60053         * sysdeps/mach/start.c: Remove file.
60054         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
60055         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
60056         * sysdeps/sh/init-first.c: Likewise.
60058         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
60059         registers for frame unwinding purposes, add CFI directives.
60060         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60061         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
60062         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
60063         Likewise.
60065         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
60066         __fortify_fail returning.
60067         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60069         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
60070         sysdeps/sh/____longjmp_chk.S.
60071         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
60072         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
60073         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
60074         (gen-as-const-headers): Append sigaltstack-offsets.sym.
60076         * sysdeps/sh/abort-instr.h: New file.
60077         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
60078         process in case exit returns.
60080         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
60081         initialize the GOT register before use.
60083         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
60084         calculation of ARGC > 4.
60086         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
60087         meaningful names to some local labels.
60089 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60090             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60092         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
60093         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
60094         (__arch_compare_and_exchange_val_16_acq): Likewise.
60095         (__arch_compare_and_exchange_val_32_acq): Likewise.
60096         (atomic_exchange_and_add): Fix gUSA sequence.
60097         (atomic_add): Likewise.
60098         (atomic_add_negative): Likewise.
60099         (atomic_add_zero): Likewise.
60100         (atomic_bit_test_set): Likewise.
60102 2012-06-22  Andreas Schwab  <schwab@redhat.com>
60104         [BZ #13579]
60105         * include/link.h (struct link_map): Add l_free_initfini.
60106         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
60107         l_initfini.
60108         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
60109         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
60110         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
60111         set.
60113 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
60115         * configure.in: Use AC_LANG_SOURCE.
60116         * configure: Regenerate.
60118 2012-06-22  Roland McGrath  <roland@hack.frob.com>
60120         * configure.in (libc_cv_localstatedir): New substituted variable.
60121         * configure: Regenerated.
60122         * config.make.in (localstatedir): New variable, substituted from
60123         libc_cv_localstatedir.
60124         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
60125         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
60126         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
60127         * sysdeps/gnu/configure: Regenerated.
60129 2012-06-21  Jeff Law  <law@redhat.com>
60131         [BZ #14277]
60132         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
60133         free.  Simplify list management for _LIBC case.
60135 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
60137         [BZ #14273]
60138         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
60139         Clear sign bit of 64-bit integer value before comparing against
60140         overflow value.
60142         * sysdeps/mach/configure: Regenerated.
60144 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
60146         [BZ #14278]
60147         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
60149 2012-06-21  Jeff Law  <law@redhat.com>
60151         [BZ #13882]
60152         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
60153         uint16_t for elements in the "seen" array to avoid char overflows.
60154         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60155         * elf/dl-open.c (dl_open_worker): Likewise.
60157 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
60159         * scripts/list-sources.sh: Scan PORTS for translations.
60160         * po/libc.pot: Regenerated.
60162 2012-06-21  Andreas Jaeger  <aj@suse.de>
60164         [BZ #12194]
60165         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
60166         warning.
60167         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
60168         * bits/byteswap-16.h (__bswap_16): Likewise.
60169         * bits/byteswap.h (__bswap_constant_16): Likewise.
60171 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
60173         [BZ #14117]
60174         * sysdeps/i386/fpu_control.h: Removed.
60175         * sysdeps/x86_64/fpu_control.h: Moved to ...
60176         * sysdeps/x86/fpu_control.h: Here.
60178         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
60179         (_FPU_SETCW): Likewise.
60181 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
60183         [BZ #14117]
60184         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
60185         * sysdeps/x86/fpu/bits/mathinline.h: This.
60186         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
60188         [BZ #14050]
60189         [BZ #14117]
60190         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
60191         functions if __x86_64__ is defined.
60193 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
60195         * string/endian.h: Add !__ASSEMBLER__ condition for including
60196         conversion interfaces.
60198 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
60200         [BZ #14241]
60201         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
60202         of ABS(x) in calculating zero to negative powers other than odd
60203         integers.
60204         * math/libm-test.inc (pow_test): Add more tests.
60206 2012-06-15  Andreas Jaeger  <aj@suse.de>
60208         * manual/contrib.texi (Contributors): Update entry of Liubov
60209         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
60210         Machado Filho.
60212 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
60214         * string/string.h: Add __wur to GNU version of strerror_r.
60216 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
60218         [BZ #14229]
60219         * string/Makefile (tests): Add tst-strtok_r.
60220         * string/tst-strtok_r.c: New file.
60221         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
60222         RAX_LP/RDX_LP on SAVE_PTR.
60224 2012-06-14  Roland McGrath  <roland@hack.frob.com>
60226         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
60228 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
60230         * libm_test.inc (csqrt_test): Allow more spurious underflow
60231         exceptions.
60232         (j0_test): Likewise.
60233         (j1_test): Likewise.
60234         (y0_test): Likewise.
60235         (y1_test): Likewise.
60237 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
60239         * po/Makefile (libc.pot): Use UTF-8 charset.
60241 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
60243         [BZ #14210]
60244         Suppress sign-conversion warning from FD_SET.
60245         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
60246         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
60247         not unsigned long int.
60248         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
60250 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
60252         [BZ #14050]
60253         [BZ #14117]
60254         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
60255         __extern_always_inline instead of __extern_inline.
60256         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
60257         (__signbit): Likewise.
60258         (__signbitl): Support C++ namespace.
60259         (lrintf): New inline function.
60260         (lrint): Likewise.
60261         (llrintf): Likewise.
60262         (llrint): Likewise.
60263         (fmaxf): Likewise.
60264         (fmax): Likewise.
60265         (fminf): Likewise.
60266         (fmin): Likewise.
60267         (rint): Likewise.
60268         (rintf): Likewise.
60269         (ceil): Likewise.
60270         (ceilf): Likewise.
60271         (floor): Likewise.
60272         (floorf): Likewise.
60273         (nearbyint): Likewise.
60274         (nearbyintf): Likewise.
60276 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
60278         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
60279         non-default versions.
60281 2012-06-11  Roland McGrath  <roland@hack.frob.com>
60283         [BZ #14218]
60284         * manual/argp.texi (Argp): Reword argp_parse description slightly.
60286 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
60288         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
60289         (FE_UPWARD, FE_DOWNWARD): Don't define.
60290         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
60291         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60293         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
60294         reading it.
60295         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60296         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60298 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60300         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60301         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
60302         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
60303         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
60305 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
60307         [BZ #14117]
60308         * sysdeps/i386/fpu/bits/fenv.h: Removed.
60309         * sysdeps/i386/fpu/Implies: New file.
60310         * sysdeps/x86_64/fpu/Implies: Likewise.
60311         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
60312         * sysdeps/x86/fpu/bits/fenv.h: This.
60314         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
60315         __SSE_MATH__.
60317 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60319         [BZ #14134]
60320         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
60321         character 0xffff that matches the last element of the
60322         conversion table.
60324 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60326         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
60327         fmodl commit.
60329 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60331         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
60332         values higher than 25.6283.
60334 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60336         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
60337         subnormal exponent extraction and add some __builtin_expect.
60338         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
60339         Fix for subnormal mantissa calculation.
60341 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
60343         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
60344         cpu2 is -1 and errno is not ENOSYS.
60346 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
60348         [BZ #14117]
60349         * sysdeps/i386/i486/bits/string.h: Renamed to ...
60350         * sysdeps/x86/bits/string.h: This.
60351         * sysdeps/x86_64/bits/string.h: Removed.
60353         * sysdeps/i386/i486/bits/string.h: Define inline functions only
60354         if not compiling for x86-64, but compiling for >= i486.
60356         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
60357         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
60359         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
60360         New macro from Linux kernel 3.4.0.
60361         (FP_XSTATE_MAGIC2): Likewise.
60362         (FP_XSTATE_MAGIC2_SIZE): Likewise.
60363         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
60364         (struct _fpx_sw_bytes): New struct.
60365         (struct _xsave_hdr): Likewise.
60366         (struct _ymmh_state): Likewise.
60367         (struct _xstate): Likewise.
60369         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
60370         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
60371         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
60372         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
60373         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
60374         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
60376         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
60377         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
60378         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
60379         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
60380         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
60381         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
60383 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60385         [BZ #13743]
60386         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
60387         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
60388         (sysdep_headers): Include sys/platform/ppc.h.
60389         * sysdeps/powerpc/test-gettimebase.c: Test for
60390         __ppc_get_timebase() to catch future ISA opcode/insn changes.
60391         * manual/Makefile (appendices): Include platform.texi.
60392         * manual/contrib.texi (Contributors): Update @node pointers.
60393         * manual/maint.texi (Maintenance): Likewise.
60394         (Platform): New node.
60395         * manual/platform.texi: New file.  Document the new features.
60397 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60398             Jakub Jelinek  <jakub@redhat.com>
60400         [BZ #14188]
60401         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
60402         where __builtin_expect is unavailable.
60404 2012-06-03  David S. Miller  <davem@davemloft.net>
60406         * stdlib/longlong.h: Updated from GCC.
60408 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
60410         [BZ #14042]
60411         * sysdeps/powerpc/powerpc32/mcount.c: New file.
60412         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
60413         __mcount_internal.
60414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60415         (GLIBC_2.16): Likewise.
60417 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60419         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
60421 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
60424         (default-abi): New variable.
60425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
60426         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
60427         variable.
60428         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
60429         Likewise.
60430         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
60431         Likewise.
60432         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
60433         Likewise.
60435         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
60436         definition.  Document in comment.
60438 2012-06-01  David S. Miller  <davem@davemloft.net>
60440         * stdlib/longlong.h: Updated from GCC.
60442 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60444         [BZ #14117]
60445         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
60446         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
60447         sys/debugreg.h sys/io.h here.
60448         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
60449         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
60450         sys/io.h.
60451         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
60452         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
60453         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
60454         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
60455         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
60456         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
60458         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
60459         Define only if __x86_64__ is defined.
60461 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60463         [BZ #14048]
60464         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
60465         Use int64_t for variable i.
60466         * math/libm-test.inc (fmod_test): Add more tests.
60468         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
60469         z computation is not scheduled after fetestexcept.
60470         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
60471         Use math_force_eval instead of asm to ensure calculation scheduled
60472         before exception test.
60473         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
60474         Ensure a1 + u.d computation is not scheduled after fetestexcept.
60476 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
60478         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
60479         computation is not scheduled after fetestexcept.
60481 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60483         [BZ #14117]
60484         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
60485         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
60487 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60489         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
60490         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
60492 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60494         [BZ #14117]
60495         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
60496         <bits/wordsize.h>.
60497         (__WCHAR_MIN): Support __WORDSIZE == 64.
60498         (__WCHAR_MAX): Likewise.
60500         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
60501         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
60503         [BZ #14183]
60504         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
60505         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
60507         [BZ #14117]
60508         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
60509         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
60511         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
60512         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
60514         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
60515         Defined to 1 if __x86_64__ isn't defined.
60516         (_STAT_VER_LINUX_OLD): New.
60517         (st_atime): Remove duplicate.
60518         (st_mtime): Likewise.
60519         (st_ctime): Likewise.
60521 2012-05-31  David S. Miller  <davem@davemloft.net>
60523         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
60524         entries.
60526 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
60528         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
60529         gen-libm-test.pl.
60531         [BZ #14132]
60532         * elf/dl-reloc.c: Include <_itoa.h>.
60533         (_dl_reloc_bad_type): Remove use of INTUSE.
60534         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
60535         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
60536         * stdio-common/psiginfo.c (psiginfo): Likewise.
60537         * stdio-common/psignal.c (psignal): Likewise.
60538         * string/strsignal.c (strsignal): Likewise.
60539         * include/signal.h (_sys_siglist): Declare hidden proto.
60540         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
60541         INTVARDEF with libc_hidden_data_def.
60542         * stdio-common/itoa-udigits.c: Likewise.
60543         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
60544         (_itoa_lower_digits_internal): Remove declaration.
60545         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
60546         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
60547         (_sys_sigabbrev_internal): Remove aliases.
60548         (_sys_siglist): Define hidden alias.
60550 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
60552         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60553         bits/sysctl.h.
60555 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60557         [BZ #14117]
60558         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
60559         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
60561         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
60562         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
60563         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
60564         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
60565         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
60566         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
60568         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
60569         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
60570         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
60572         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
60573         with __addr.
60574         (insw): Likewise.
60575         (insl): Likewise.
60576         (outsb): Likewise.
60577         (outsw): Likewise.
60578         (outsl): Likewise.
60580         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
60581         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
60582         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
60584         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
60585         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
60586         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
60587         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
60588         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
60589         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
60591         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
60592         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
60594         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
60595         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
60597         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
60598         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
60599         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
60601         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
60602         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
60603         to ...
60604         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
60606         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
60607         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
60608         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
60610         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
60611         for x86-64.
60612         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
60614 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
60616         * math/math.h (M_El): Use two more decimal places.
60617         (M_LOG2El): Likewise.
60618         (M_LOG10El): Likewise.
60619         (M_LN2l): Likewise.
60620         (M_LN10l): Likewise.
60621         (M_PIl): Likewise.
60622         (M_PI_2l): Likewise.
60623         (M_PI_4l): Likewise.
60624         (M_1_PIl): Likewise.
60625         (M_2_PIl): Likewise.
60626         (M_2_SQRTPIl): Likewise.
60627         (M_SQRT2l): Likewise.
60628         (M_SQRT1_2l): Likewise.
60630 2012-05-31  David S. Miller  <davem@davemloft.net>
60632         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
60633         values between float registers.
60634         * sysdeps/sparc/sparc64/memset.S: Likewise.
60635         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60637 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
60639         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
60640         -D_FORTIFY_SOURCE=1.
60641         (CPPFLAGS-tst-longjmp_chk.c): Define.
60642         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
60643         (CPPFLAGS-tst-longjmp_chk2.c): Define.
60644         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
60645         CFLAGS-tst-wchar-h.c.
60647 2012-05-31  Marek Polacek  <polacek@redhat.com>
60649         [BZ #14132]
60650         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
60651         __endmntent_internal): Remove declaration.
60652         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
60653         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
60654         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
60656 2012-05-30  David S. Miller  <davem@davemloft.net>
60658         * sysdeps/sparc/sparc32/soft-fp/q_util.c
60659         (___Q_simulate_exceptions): Use real FP ops rather than writing
60660         into the %fsr.
60661         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
60662         Likewise.
60664 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60666         [BZ #14117]
60667         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
60668         * sysdeps/x86/bits/xtitypes.h: This.
60670         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
60671         * sysdeps/x86/bits/wordsize.h: This.
60673         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
60674         * sysdeps/x86/bits/huge_vall.h: This.
60676         * sysdeps/i386/bits/select.h: Removed.
60677         * sysdeps/x86_64/bits/select.h: Renamed to ...
60678         * sysdeps/x86/bits/select.h: This.
60680         * sysdeps/i386/bits/setjmp.h: Removed.
60681         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
60682         * sysdeps/x86/bits/setjmp.h: This.
60684         * sysdeps/i386/bits/mathdef.h: Removed.
60685         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
60686         * sysdeps/x86/bits/mathdef.h: This.
60688 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
60690         [BZ #14132]
60691         * include/sys/socket.h (__connect_internal)
60692         (__libc_sa_len_internal): Remove declaration.
60693         (__connect, __libc_sa_len): Declare hidden_proto.
60694         (SA_LEN): Remove use of INTUSE.
60695         * socket/connect.c: Add libc_hidden_def.
60696         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
60697         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
60698         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
60699         alias.
60700         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
60701         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
60702         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
60703         of adding _internal alias.
60705 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60707         [BZ #14117]
60708         * sysdeps/i386/bits/link.h: Removed.
60709         * sysdeps/i386/bits/linkmap.h: Likewise.
60710         * sysdeps/x86_64/bits/link.h: Renamed to ...
60711         * sysdeps/x86/bits/link.h: This.
60712         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
60713         * sysdeps/x86/bits/linkmap.h: This.
60715         * sysdeps/i386/bits/endian.h: Removed.
60716         * sysdeps/x86_64/bits/endian.h: Renamed to ...
60717         * sysdeps/x86/bits/endian.h: This.
60719         * sysdeps/i386/bits/byteswap.h: Removed.
60720         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60721         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
60722         * sysdeps/x86/bits/byteswap.h: This.
60723         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
60724         * sysdeps/x86/bits/byteswap-16.h: This.
60725         * sysdeps/i386/Implies: Add x86.
60726         * sysdeps/x86_64/Implies: Likewise.
60728 2012-05-30  David S. Miller  <davem@davemloft.net>
60730         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
60731         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
60732         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
60733         (FP_TRAPPING_EXCEPTIONS): Define.
60734         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
60735         (FP_TRAPPING_EXCEPTIONS): Define.
60736         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
60737         subnormals only when inexact has been signalled or underflow
60738         exceptions are enabled.
60739         (_FP_PACK_CANONICAL): Likewise.
60741 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60743         [BZ #14183]
60744         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
60745         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
60747 2012-05-30  Richard Henderson  <rth@twiddle.net>
60749         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
60750         with #ifndef NOT_IN_libc.
60752         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
60753         marked to avoid plt entry.
60755 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60757         [BZ #14112]
60758         * Makeconfig (default-abi): New macro.
60759         (abi-includes): Likewise.
60760         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
60761         $(abi-$(default-abi)-lib-soname) for soname if defined.
60762         ($(common-objpfx)gnu/lib-names.stmp): Generate from
60763         abi-variants.
60764         * Makefile (installed-stubs): Likewise.
60765         * include/stubs-biarch.h: Removed.
60766         * scripts/lib-names.awk: Only handle one library at a time.
60767         * scripts/soversions.awk: Remove WORDSIZE support.
60768         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
60769         entries.
60770         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
60771         Removed.
60772         (syscall-list-default-condition): Likewise.
60773         (syscall-list-default-condition): Likewise.
60774         (syscall-list-includes): Likewise.
60775         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
60776         syscall-list-* with abi-*.  Handle undefined abi-variants.
60777         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
60778         * sysdeps/unix/sysv/linux/i386/Implies: New file.
60779         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
60780         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
60781         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
60782         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
60783         Removed.
60784         (syscall-list-32-options): Likewise.
60785         (syscall-list-32-condition): Likewise.
60786         (syscall-list-64-options): Likewise.
60787         (syscall-list-64-condition): Likewise.
60788         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
60789         macro.
60790         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
60791         Renamed to ...
60792         (abi-*): This.
60793         (abi-64-ld-soname): New macro.
60794         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
60795         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
60796         Renamed to ...
60797         (abi-*): This.
60798         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
60799         * sysdeps/x86_64/x32/shlib-versions: Likewise.
60801 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
60803         * sysdeps/unix/sysv/linux/kernel-features.h
60804         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
60805         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
60806         include <kernel-features.h>.
60807         [!__NR_ftruncate64]: Remove conditional code.
60808         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60809         [__NR_ftruncate64]: Make code unconditional.
60810         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60811         * sysdeps/unix/sysv/linux/truncate64.c: Do not
60812         include <kernel-features.h>.
60813         [!__NR_ftruncate64]: Remove conditional code.
60814         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60815         [__NR_ftruncate64]: Make code unconditional.
60816         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
60818         include <kernel-features.h>.
60819         [!__NR_ftruncate64]: Remove conditional code.
60820         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60821         [__NR_ftruncate64]: Make code unconditional.
60822         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60824         include <kernel-features.h>.
60825         [!__NR_ftruncate64]: Remove conditional code.
60826         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60827         [__NR_ftruncate64]: Make code unconditional.
60828         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60830         * configure.in (libc_cv_fpie): Weaken to a compile test using
60831         LIBC_TRY_CC_OPTION.
60832         * configure: Regenerated.
60834 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
60837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
60838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
60839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60840         Refreshed.
60841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
60842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
60843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
60844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
60845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
60846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60847         Refreshed.
60849 2012-05-27  David S. Miller  <davem@davemloft.net>
60851         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
60852         (___Q_zero): New.
60853         (__Q_simulate_exceptions): Return void.  Change to simulate
60854         exceptions by writing into the %fsr.
60855         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
60856         (__Qp_handle_exceptions): Likewise.
60857         (numbers): Delete.
60858         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
60859         __Qp_handle_exceptions.
60860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
60861         __Qp_handle_exceptions.
60862         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60863         as unused and give dummy FP_RND_NEAREST initializer.
60864         (FP_INHIBIT_RESULTS): Define.
60865         (___Q_simulate_exceptions): Update declaration.
60866         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
60867         formatting.
60868         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60869         as unused and give dummy FP_RND_NEAREST initializer.
60870         (__Qp_handle_exceptions): Update declaration.
60871         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
60872         formatting.
60874 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
60876         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
60877         the temporary FPU control word.
60878         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
60879         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
60880         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
60881         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60882         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60883         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
60884         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
60885         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60886         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
60887         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
60888         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60890 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60892         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
60893         fields.
60895 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
60897         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
60898         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
60899         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
60900         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
60901         Likewise.
60902         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
60903         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
60904         Likewise.
60906 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
60908         * po/h.po: Update from translation team.
60910 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
60912         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
60914         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
60915         handling of denormals.
60916         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
60917         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
60918         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
60919         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
60920         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60921         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
60922         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
60923         Likewise.
60925 2012-05-26  Marek Polacek  <polacek@redhat.com>
60927         [BZ #14152]
60928         * math/libm-test.inc (fma_test): Don't always expect underflow
60929         exception.
60931 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60933         [BZ #12416]
60934         * elf/tst-execstack.c: Include stackinfo.h.
60935         (do_test): Adjust test case to ensure that pthread_getattr_np
60936         behaviour remains the same after marking stack executable.
60938 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60940         * sysdeps/unix/sysv/linux/kernel-features.h
60941         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
60942         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
60943         kernel-features.h.
60944         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60945         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60946         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
60947         kernel-features.h.
60948         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60949         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60951 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
60953         * configure.in: Define the default includes to being none.
60954         * configure: Regenerated.
60956 2012-05-25  Roland McGrath  <roland@hack.frob.com>
60958         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
60959         * sysdeps/x86_64/setjmp.S: Likewise.
60960         * sysdeps/i386/bsd-setjmp.S: Likewise.
60961         * sysdeps/i386/bsd-_setjmp.S: Likewise.
60962         * sysdeps/i386/setjmp.S: Likewise.
60963         * sysdeps/i386/__longjmp.S: Likewise.
60964         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60965         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
60967         * include/stap-probe.h: New file.
60968         * configure.in: Handle --enable-systemtap.
60969         * configure: Regenerated.
60970         * config.h.in (USE_STAP_PROBE): New #undef.
60971         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
60972         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
60973         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
60975 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60977         [BZ #13717]
60978         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60979         to 2.4.0 where earlier.
60980         * sysdeps/unix/sysv/linux/configure: Regenerated.
60981         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60982         <kernel-features.h>.
60983         [__ASSUME_32BITUIDS]: Make code unconditional.
60984         [!__ASSUME_32BITUIDS]: Remove conditional code.
60985         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
60986         <kernel-features.h>.
60987         [__ASSUME_32BITUIDS]: Make code unconditional.
60988         [!__ASSUME_32BITUIDS]: Remove conditional code.
60989         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
60990         [__ASSUME_32BITUIDS]: Make code unconditional.
60991         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
60992         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
60993         <kernel-features.h>.
60994         [__ASSUME_32BITUIDS]: Make code unconditional.
60995         [!__ASSUME_32BITUIDS]: Remove conditional code.
60996         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
60997         <kernel-features.h>.
60998         [__ASSUME_32BITUIDS]: Make code unconditional.
60999         [!__ASSUME_32BITUIDS]: Remove conditional code.
61000         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
61001         <kernel-features.h>.
61002         [__ASSUME_32BITUIDS]: Make code unconditional.
61003         [!__ASSUME_32BITUIDS]: Remove conditional code.
61004         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
61005         <kernel-features.h>.
61006         [__ASSUME_32BITUIDS]: Make code unconditional.
61007         [!__ASSUME_32BITUIDS]: Remove conditional code.
61008         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61009         <kernel-features.h>.
61010         [__ASSUME_32BITUIDS]: Make code unconditional.
61011         [!__ASSUME_32BITUIDS]: Remove conditional code.
61012         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61013         <kernel-features.h>.
61014         [__ASSUME_32BITUIDS]: Make code unconditional.
61015         [!__ASSUME_32BITUIDS]: Remove conditional code.
61016         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
61017         <kernel-features.h>.
61018         [__ASSUME_32BITUIDS]: Make code unconditional.
61019         [!__ASSUME_32BITUIDS]: Remove conditional code.
61020         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61021         <kernel-features.h>.
61022         [__ASSUME_32BITUIDS]: Make code unconditional.
61023         [!__ASSUME_32BITUIDS]: Remove conditional code.
61024         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61025         <kernel-features.h>.
61026         [__ASSUME_32BITUIDS]: Make code unconditional.
61027         [!__ASSUME_32BITUIDS]: Remove conditional code.
61028         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
61029         <kernel-features.h>.
61030         [__ASSUME_32BITUIDS]: Make code unconditional.
61031         [!__ASSUME_32BITUIDS]: Remove conditional code.
61032         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
61033         <kernel-features.h>.
61034         [__NR_setresgid] (__setresgid): Do not declare.
61035         [__ASSUME_32BITUIDS]: Make code unconditional.
61036         [!__ASSUME_32BITUIDS]: Remove conditional code.
61037         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
61038         <kernel-features.h>.
61039         [__NR_setresuid] (__setresuid): Do not declare.
61040         [__ASSUME_32BITUIDS]: Make code unconditional.
61041         [!__ASSUME_32BITUIDS]: Remove conditional code.
61042         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
61043         <kernel-features.h>.
61044         [__ASSUME_32BITUIDS]: Make code unconditional.
61045         [!__ASSUME_32BITUIDS]: Remove conditional code.
61046         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
61047         <kernel-features.h>.
61048         [__ASSUME_32BITUIDS]: Make code unconditional.
61049         [!__ASSUME_32BITUIDS]: Remove conditional code.
61050         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
61051         <kernel-features.h>.
61052         [__ASSUME_32BITUIDS]: Make code unconditional.
61053         [!__ASSUME_32BITUIDS]: Remove conditional code.
61054         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
61055         <kernel-features.h>.
61056         [__ASSUME_32BITUIDS]: Make code unconditional.
61057         [!__ASSUME_32BITUIDS]: Remove conditional code.
61058         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
61059         <kernel-features.h>.
61060         [__ASSUME_32BITUIDS]: Make code unconditional.
61061         [!__ASSUME_32BITUIDS]: Remove conditional code.
61062         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
61063         <kernel-features.h>.
61064         [__ASSUME_32BITUIDS]: Make code unconditional.
61065         [!__ASSUME_32BITUIDS]: Remove conditional code.
61066         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
61067         <kernel-features.h>.
61068         [__ASSUME_32BITUIDS]: Make code unconditional.
61069         [!__ASSUME_32BITUIDS]: Remove conditional code.
61070         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
61071         <kernel-features.h>.
61072         [__ASSUME_32BITUIDS]: Make code unconditional.
61073         [!__ASSUME_32BITUIDS]: Remove conditional code.
61074         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
61075         <kernel-features.h>.
61076         [__ASSUME_32BITUIDS]: Make code unconditional.
61077         [!__ASSUME_32BITUIDS]: Remove conditional code.
61078         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61079         <kernel-features.h>.
61080         [__ASSUME_32BITUIDS]: Make code unconditional.
61081         [!__ASSUME_32BITUIDS]: Remove conditional code.
61082         * sysdeps/unix/sysv/linux/kernel-features.h
61083         (__ASSUME_SETRESUID_SYSCALL): Remove.
61084         (__ASSUME_SETRESGID_SYSCALL): Likewise.
61085         (__ASSUME_32BITUIDS): Likewise.
61086         (__ASSUME_LDT_WORKS): Likewise.
61087         (__ASSUME_O_DIRECTORY): Likewise.
61088         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
61089         architecture but not kernel version.
61090         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
61091         (__ASSUME_MMAP2_SYSCALL): Likewise.
61092         (__ASSUME_STAT64_SYSCALL): Likewise.
61093         (__ASSUME_IPC64): Likewise.
61094         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
61095         <kernel-features.h>.
61096         [__ASSUME_32BITUIDS]: Make code unconditional.
61097         [!__ASSUME_32BITUIDS]: Remove conditional code.
61098         * sysdeps/unix/sysv/linux/opendir.c: Do not include
61099         <kernel-features.h>.
61100         [__ASSUME_O_DIRECTORY]: Make code unconditional.
61101         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
61102         132096]: Remove conditional code.
61103         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
61104         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61105         <kernel-features.h>.
61106         [__ASSUME_32BITUIDS]: Make code unconditional.
61107         [!__ASSUME_32BITUIDS]: Remove conditional code.
61108         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61109         <kernel-features.h>.
61110         [__ASSUME_32BITUIDS]: Make code unconditional.
61111         [!__ASSUME_32BITUIDS]: Remove conditional code.
61112         * sysdeps/unix/sysv/linux/setegid.c: Do not include
61113         <kernel-features.h>.
61114         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
61115         unconditional.
61116         (__setresgid): Do not declare.
61117         [__ASSUME_32BITUIDS]: Make code unconditional.
61118         [!__ASSUME_32BITUIDS]: Remove conditional code.
61119         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
61120         <kernel-features.h>.
61121         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
61122         unconditional.
61123         (__setresuid): Do not declare.
61124         [__ASSUME_32BITUIDS]: Make code unconditional.
61125         [!__ASSUME_32BITUIDS]: Remove conditional code.
61126         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61127         <kernel-features.h>.
61128         [__ASSUME_32BITUIDS]: Make code unconditional.
61129         [!__ASSUME_32BITUIDS]: Remove conditional code.
61130         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
61131         <kernel-features.h>.
61132         [__ASSUME_32BITUIDS]: Make code unconditional.
61133         [!__ASSUME_32BITUIDS]: Remove conditional code.
61135 2012-05-25  Richard Henderson  <rth@twiddle.net>
61137         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
61138         dl_hwcap to ifunc resolver.
61139         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
61140         elf_ifunc_invoke.
61141         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
61142         dl_hwcap to ifunc resolver.
61143         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
61145 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61147         [BZ #14153]
61148         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
61149         for |x| <= 2**-26, not 2**-57.
61150         * math/libm-test.inc (acos_test): Do not allow spurious underflow
61151         exception.
61153 2012-05-24  Jeff Law  <law@redhat.com>
61155         * stdio-common/Makefile (tests): Add bug25.
61156         * stdio-common/bug25.c: New test.
61158 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61160         [BZ #13576]
61161         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
61162         multiple of MALLOC_ALIGNMENT in size.
61163         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
61165 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61167         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
61168         Require >= 256.
61169         (FILENAME_MAX): Use macro-int-constant.
61170         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
61171         (_IOFBF): Use macro-int-constant.
61172         (_IOLBF): Likewise.
61173         (_IONBF): Likewise.
61174         (SEEK_CUR): Likewise.
61175         (SEEK_END): Likewise.
61176         (SEEK_SET): Likewise.
61177         (TMP_MAX): Likewise.
61178         (EOF): Use macro-int-constant.  Require < 0.
61179         (NULL): Use macro-constant.  Require == 0.
61180         (stdin): Require type to be FILE *.
61181         (stdout): Likewise.
61182         (stderr): Likewise.
61183         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
61184         macro-int-constant.
61185         (EXIT_SUCCESS): Likewise.
61186         (NULL): Use macro-constant.  Require == 0.
61187         (RAND_MAX): Use macro-int-constant.
61188         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
61189         [C99-based standards] (strtof): Require function.
61190         [C99-based standards] (strtold): Likewise.
61191         [C99-based standards] (strtoll): Likewise.
61192         [C99-based standards] (strtoull): Likewise.
61193         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61194         [ISO || ISO99 || ISO11] (limits.h): Likewise.
61195         [ISO || ISO99 || ISO11] (math.h): Likewise.
61196         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
61197         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61198         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61200 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
61202         [BZ #14132]
61203         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
61204         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
61205         * intl/dgettext.c (DCGETTEXT): Likewise.
61206         * intl/gettext.c (DCGETTEXT): Likewise.
61207         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
61208         * posix/regex_internal.h (gettext): Likewise.
61209         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
61210         Remove declaration.
61211         * include/argz.h (__argz_count_internal)
61212         (__argz_stringify_internal): Remove declaration.
61213         (__argz_count, __argz_stringify): Declare hidden proto.
61214         * intl/dcgettext.c: Remove use of INTDEF.
61215         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
61216         * string/argz-stringify.c: Likewise.
61217         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61218         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61219         Declare hidden proto.
61220         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61221         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61222         Declare hidden proto.
61223         * include/stdio.h (__asprintf_internal): Don't declare.
61224         (__asprintf): Don't define as macro.  Declare hidden proto.
61225         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
61226         (__fsetlocking): Declare hidden proto.
61227         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
61228         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
61229         hidden proto.
61230         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
61231         (_IO_setlinebuf): Remove use of INTUSE.
61232         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
61233         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
61234         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
61235         Remove declaration.
61236         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
61237         (_IO_do_flush): Remove use of INTUSE.
61238         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
61239         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
61240         (_IO_adjust_column, _IO_least_wmarker)
61241         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
61242         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
61243         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
61244         (_IO_default_doallocate, _IO_wdefault_doallocate)
61245         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
61246         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
61247         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
61248         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
61249         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
61250         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
61251         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
61252         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
61253         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
61254         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
61255         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
61256         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
61257         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
61258         proto.
61259         (_IO_flush_all_internal, _IO_adjust_column_internal)
61260         (_IO_default_uflow_internal, _IO_default_finish_internal)
61261         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
61262         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
61263         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
61264         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
61265         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
61266         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
61267         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
61268         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
61269         (_IO_file_close_internal, _IO_file_close_it_internal)
61270         (_IO_file_underflow_internal, _IO_file_overflow_internal)
61271         (_IO_file_init_internal, _IO_file_attach_internal)
61272         (_IO_file_fopen_internal, _IO_file_read_internal)
61273         (_IO_file_sync_internal, _IO_file_seek_internal)
61274         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
61275         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
61276         (_IO_str_underflow_internal, _IO_str_overflow_internal)
61277         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
61278         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
61279         (_IO_list_all_internal, _IO_link_in_internal)
61280         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
61281         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
61282         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
61283         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
61284         (_IO_do_write_internal, _IO_padn_internal)
61285         (_IO_getline_info_internal, _IO_getline_internal)
61286         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
61287         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
61288         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
61289         (_IO_vfscanf_internal, _IO_vfprintf_internal)
61290         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
61291         (_IO_init_internal, _IO_un_link_internal): Don't declare.
61292         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
61293         with libc_hidden_ver, remove use of INTUSE.
61294         * libio/genops.c: Likewise.
61295         * libio/freopen.c: Likewise.
61296         * libio/freopen64.c: Likewise.
61297         * libio/iofclose.c: Likewise.
61298         * libio/iofdopen.c: Likewise.
61299         * libio/iofflush.c: Likewise.
61300         * libio/iofflush_u.c: Likewise.
61301         * libio/iofgets.c: Likewise.
61302         * libio/iofgets_u.c: Likewise.
61303         * libio/iofopen.c: Likewise.
61304         * libio/iofopncook.c: Likewise.
61305         * libio/iofread.c: Likewise.
61306         * libio/iofread_u.c: Likewise.
61307         * libio/ioftell.c: Likewise.
61308         * libio/iofwrite.c: Likewise.
61309         * libio/iogetline.c: Likewise.
61310         * libio/iogets.c: Likewise.
61311         * libio/iogetwline.c: Likewise.
61312         * libio/iopadn.c: Likewise.
61313         * libio/iopopen.c: Likewise.
61314         * libio/ioseekoff.c: Likewise.
61315         * libio/ioseekpos.c: Likewise.
61316         * libio/iosetbuffer.c: Likewise.
61317         * libio/iosetvbuf.c: Likewise.
61318         * libio/ioungetc.c: Likewise.
61319         * libio/ioungetwc.c: Likewise.
61320         * libio/iovdprintf.c: Likewise.
61321         * libio/iovsprintf.c: Likewise.
61322         * libio/iovsscanf.c: Likewise.
61323         * libio/memstream.c: Likewise.
61324         * libio/obprintf.c: Likewise.
61325         * libio/oldfileops.c: Likewise.
61326         * libio/oldiofclose.c: Likewise.
61327         * libio/oldiofdopen.c: Likewise.
61328         * libio/oldiofopen.c: Likewise.
61329         * libio/oldiopopen.c: Likewise.
61330         * libio/oldstdfiles.c: Likewise.
61331         * libio/putc.c: Likewise.
61332         * libio/setbuf.c: Likewise.
61333         * libio/setlinebuf.c: Likewise.
61334         * libio/stdfiles.c: Likewise.
61335         * libio/strops.c: Likewise.
61336         * libio/vasprintf.c: Likewise.
61337         * libio/vscanf.c: Likewise.
61338         * libio/vsnprintf.c: Likewise.
61339         * libio/vswprintf.c: Likewise.
61340         * libio/wfiledoalloc.c: Likewise.
61341         * libio/wfileops.c: Likewise.
61342         * libio/wgenops.c: Likewise.
61343         * libio/wmemstream.c: Likewise.
61344         * libio/wstrops.c: Likewise.
61345         * libio/__fpurge.c: Likewise.
61346         * libio/__fsetlocking.c: Likewise.
61347         * assert/assert.c: Likewise.
61348         * debug/fgets_chk.c: Likewise.
61349         * debug/fgets_u_chk.c: Likewise.
61350         * debug/fread_chk.c: Likewise.
61351         * debug/fread_u_chk.c: Likewise.
61352         * debug/gets_chk.c: Likewise.
61353         * debug/obprintf_chk.c: Likewise.
61354         * debug/vasprintf_chk.c: Likewise.
61355         * debug/vdprintf_chk.c: Likewise.
61356         * debug/vsnprintf_chk.c: Likewise.
61357         * debug/vsprintf_chk.c: Likewise.
61358         * malloc/mtrace.c: Likewise.
61359         * misc/error.c: Likewise.
61360         * misc/syslog.c: Likewise.
61361         * stdio-common/asprintf.c: Likewise.
61362         * stdio-common/fxprintf.c: Likewise.
61363         * stdio-common/getw.c: Likewise.
61364         * stdio-common/isoc99_fscanf.c: Likewise.
61365         * stdio-common/isoc99_scanf.c: Likewise.
61366         * stdio-common/isoc99_vfscanf.c: Likewise.
61367         * stdio-common/isoc99_vscanf.c: Likewise.
61368         * stdio-common/isoc99_vsscanf.c: Likewise.
61369         * stdio-common/printf-prs.c: Likewise.
61370         * stdio-common/printf_fp.c: Likewise.
61371         * stdio-common/printf_fphex.c: Likewise.
61372         * stdio-common/printf_size.c: Likewise.
61373         * stdio-common/putw.c: Likewise.
61374         * stdio-common/scanf.c: Likewise.
61375         * stdio-common/sprintf.c: Likewise.
61376         * stdio-common/tmpfile.c: Likewise.
61377         * stdio-common/vfprintf.c: Likewise.
61378         * stdio-common/vfscanf.c: Likewise.
61379         * stdlib/strfmon_l.c: Likewise.
61380         * sunrpc/openchild.c: Likewise.
61381         * sunrpc/xdr_stdio.c: Likewise.
61382         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
61383         * sysdeps/mach/hurd/tmpfile.c: Likewise.
61385 2012-05-24  Roland McGrath  <roland@hack.frob.com>
61387         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61389         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
61390         in the third column, to generate for the shared library an IFUNC
61391         that uses _dl_vdso_vsym.
61392         * Makerules (COMPILE.c, compile-stdin.c): New variables.
61393         * Makeconfig (object-suffixes-noshared): New variable.
61395         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
61396         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
61397         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
61398         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
61400         [BZ #14132]
61401         * include/sys/time.h (__gettimeofday): Remove macro.
61402         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
61403         * time/gettimeofday.c (__gettimeofday): Remove #undef.
61404         Remove INTDEF.
61405         (__gettimeofday): Add libc_hidden_def.
61406         (gettimeofday): Add libc_hidden_weak.
61407         * sysdeps/mach/gettimeofday.c: Likewise.
61408         * sysdeps/posix/gettimeofday.c: Likewise.
61409         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
61410         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
61411         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
61412         (__gettimeofday_internal): Remove strong_alias.
61413         (__gettimeofday): Add libc_hidden_def.
61414         (gettimeofday): Add libc_hidden_weak.
61415         * sysdeps/unix/syscalls.list (gettimeofday):
61416         Remove __gettimeofday_internal alias.
61418 2012-05-24  Daniel Jacobowitz  <drow@false.org>
61419             H.J. Lu  <hongjiu.lu@intel.com>
61421         [BZ #12495]
61422         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
61423         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
61424         (largebin_index_32_big): New.
61425         (largebin_index): Use it for 16-byte alignment.
61426         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
61427         correction with front_misalign.
61429 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61431         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
61432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
61433         Likewise.
61434         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
61435         Likewise.
61436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
61437         Likewise.
61438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
61439         Likewise.
61440         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
61441         Likewise.
61442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
61443         Likewise.
61444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
61445         Likewise.
61446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61447         Likewise.
61448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
61449         Likewise.
61450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
61451         Likewise.
61452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
61453         Likewise.
61454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
61455         Likewise.
61457         * scripts/data/c++-types-x32-linux-gnu.data: New file.
61458         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
61460 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61462         [BZ #10846]
61463         [BZ #14036]
61464         * math/libm-test.inc (exp_test): Add test from bug 14036.
61465         (pow_test): Add test from bug 10846.
61467         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
61468         and other flags.
61469         (special_function): Do not include flags in test name.
61470         (parse_args): Likewise.
61471         * sysdeps/i386/fpu/libm-test-ulps: Update.
61472         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61473         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61474         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61477         * math/gen-libm-test.pl (%beautify): Add entries for underflow
61478         exceptions.
61479         * math/libm-test.inc ("Philosophy"): Update comment about
61480         exception testing.
61481         (UNDERFLOW_EXCEPTION): New macro.
61482         (UNDERFLOW_EXCEPTION_OK): Likewise.
61483         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
61484         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
61485         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
61486         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
61487         (INVALID_EXCEPTION_OK): Update value.
61488         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61489         (OVERFLOW_EXCEPTION_OK): Likewise.
61490         (IGNORE_ZERO_INF_SIGN): Likewise.
61491         (test_exceptions): Handle underflow exceptions.
61492         (acos_test): Update for underflow exception expectations.
61493         (cexp_test): Likewise.
61494         (clog_test): Likewise.
61495         (clog10_test): Likewise.
61496         (csqrt_test): Likewise.
61497         (ctan_test): Likewise.
61498         (ctanh_test): Likewise.
61499         (exp_test): Likewise.
61500         (exp10_test): Likewise.
61501         (exp2_test): Likewise.
61502         (expm1_test): Likewise.
61503         (fma_test): Likewise.
61504         (j0_test): Likewise.
61505         (jn_test): Likewise.
61506         (nexttoward_test): Likewise.
61507         (pow_test): Likewise.
61508         (scalbn_test): Likewise.
61509         (scalbln_test): Likewise.
61510         (tan_test): Likewise.
61511         (y1_test): Likewise.
61512         * sysdeps/i386/fpu/libm-test-ulps: Update.
61513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61515 2012-05-23  David S. Miller  <davem@davemloft.net>
61517         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61518         (__libc_sigaction): Remove unused local variables.
61520 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61522         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
61524 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
61526         mktime: avoid signed integer overflow
61527         * time/mktime.c (__mktime_internal): Do not mishandle the case
61528         where diff == INT_MIN.
61530         mktime: simplify computation of average
61531         * time/mktime.c (ranged_convert): Use new time_t_avg function
61532         instead of rolling our own (probably-slower) code.
61534         mktime: do not assume signed right shift propagates sign bit
61535         * time/mktime.c (isdst_differ): New static function.
61536         (__mktime_internal): No need to normalize tm_isdst now.
61537         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
61538         tm_isdst values.
61540         mktime: merge another wrapv change from gnulib
61541         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
61542         from some compilers.
61544         mktime: remove incorrect attempt at unusual arithmetics
61545         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
61546         The code didn't really work on such machines anyway.
61547         (TYPE_MINIMUM): Assume two's complement.
61548         (twos_complement_arithmetic): Verify that long_int and time_t
61549         are two's complement (or unsigned, in the latter case).
61551         mktime: check signed shifts on long_int and time_t, too
61552         * time/mktime.c (SHR): Check that shifts work as desired
61553         on the types long_int and time_t too, as SHR is used on
61554         such types.
61556         mktime: do not assume 'long' is wide enough
61557         * time/mktime.c (verify): Move decl up.
61558         (long_int): New type.
61559         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
61560         to remove assumption in the code that 'long' is wide enough to
61561         store year values.  This assumption is not true on x32 and on
61562         some non-glibc platforms.
61564         mktime: merge wrapv change from gnulib
61565         * time/mktime.c (WRAPV): New macro.
61566         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
61567         (guess_time_tm, __mktime_internal): Do not assume that signed
61568         integer overflow wraps around; modern compilers generate code
61569         where this assumption is no longer valid.
61571 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61573         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61574         Replace "jmp L(pseudo_end)" with "ret".
61575         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
61576         Likewise.
61578 2012-05-23  Andreas Jaeger  <aj@suse.de>
61580         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
61581         * sysdeps/unix/sysv/linux/poll.c: Remove file.
61583 2012-05-23  Andreas Jaeger  <aj@suse.de>
61584             Maximilian Attems  <max@stro.at>
61586         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
61587         New macros.
61589 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61591         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
61592         code so that pseudo_end is just ret and the stack pointer is
61593         correct also for static library in error case.
61595 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
61597         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
61598         move to syscalls.list.
61599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
61600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
61601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
61602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
61604         * manual/install.texi (Running make install): Do not mention Linux
61605         kernel version for which pt_chown is not needed.
61606         (Linux): Do not mention problems with nscd with 2.0 kernels.
61607         * INSTALL: Regenerated.
61609 2012-05-23  Andreas Jaeger  <aj@suse.de>
61611         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
61612         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
61613         macro.
61614         * sysdeps/unix/sysv/linux/s390/bits/mman.h
61615         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61616         * sysdeps/unix/sysv/linux/sh/bits/mman.h
61617         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61618         * sysdeps/unix/sysv/linux/i386/bits/mman.h
61619         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61620         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
61621         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61622         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
61623         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61624         * sysdeps/unix/sysv/linux/bits/in.h
61625         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
61627 2012-05-22  Roland McGrath  <roland@hack.frob.com>
61629         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
61630         (PREPARE_VERSION): Just use assert instead, it will be elided
61631         under [NDEBUG] anyway.
61633 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61635         * sysdeps/unix/sysv/linux/Makefile: Include
61636         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
61637         (sysdep_routines): Remove sysctl.
61638         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
61639         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
61640         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
61641         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
61642         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
61644 2012-05-22  Andreas Jaeger  <aj@suse.de>
61646         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
61647         that pseudo_end is just ret and the stack pointer is correct also
61648         for static library in error case.
61650 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
61652         [BZ #14122]
61653         * nss/nsswitch.c (defconfig_entries): New variable.
61654         (__nss_database_lookup): Don't leak defconfig entries.
61655         (nss_parse_service_list): Don't leak on error paths.
61656         (free_database_entries): New function.
61657         (free_defconfig): New function.
61658         (free_mem): Move common code to free_database_entries.
61660 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61662         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
61663         Add arch_prctl.
61664         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
61666         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
61667         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
61668         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
61669         New macro.
61670         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
61671         (INTERNAL_SYSCALL_TYPES): Likewise.
61672         (LOAD_ARGS_TYPES_[1-6]): Likewise.
61673         (LOAD_REGS_TYPES_[1-6]): Likewise.
61674         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
61675         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
61677 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61679         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
61680         copysignl for GLIBC_2_0.
61681         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
61682         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
61683         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
61684         logbl for GLIBC_2_0.
61685         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
61686         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
61688 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61690         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
61691         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61693         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61694         Use "neg %eax".
61696         * time/mktime.c: Update copyright years.
61698 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
61700         mktime: merge comment-quoting-style change from gnulib
61701         * time/mktime.c: Quote 'like this' in comments.
61702         The GNU coding standards suggest that we no longer quote `like this',
61703         as "`" and "'" are typically rendered asymmetrically nowadays.
61704         The typical gnulib style is to quote 'like this' when quoting
61705         code, and "like this" when quoting English.
61707         * time/mktime.c (compile-command): Add "-I.".
61709         mktime: merge mktime-internal.h change from gnulib
61710         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
61712         mktime: merge time_r change from gnulib
61713         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
61715         mktime: merge DEBUG change from gnulib
61716         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
61717         case system <time.h> has a #define.
61719         mktime: merge <sys/types.h> change from gnulib
61720         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
61721         since <time.t> is now guaranteed to define time_t.
61723         mktime: merge HAVE_CONFIG_H change from gnulib
61724         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
61726 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61728         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61729         Use "neg %eax".
61731         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
61732         __rlim_t cast.
61733         (struct rusage): Use anonymous union to pad each field to
61734         __syscall_slong_t.
61736 2012-05-21  David S. Miller  <davem@davemloft.net>
61738         * Makefules (o-iterator): Remove .s cases.
61739         (compile-command.s): Delete.
61740         (COMPILE.s): Delete.
61741         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
61743 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
61745         * configure.in (libc_cv_predef_stack_protector): Only consider
61746         "foobar" and "__stack_chk_fail" lines in libc_undefs.
61747         * configure: Regenerated.
61749 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61751         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61752         New macro.  Use R*LP on int and pointer.
61753         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
61754         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
61755         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
61756         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
61758         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
61759         [__WORDSIZE_TIME64_COMPAT32] instead of
61760         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
61761         (struct utmp): Likewise.
61762         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
61763         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
61764         Renamed to ...
61765         (__WORDSIZE_TIME64_COMPAT32): This.
61766         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
61767         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
61768         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
61769         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
61770         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
61771         (__WORDSIZE_TIME64_COMPAT32): New macro.
61773 2012-05-21  Andreas Jaeger  <aj@suse.de>
61775         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
61776         only if [SHARED]. Add prototype for __wcschr_ia32.
61778 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61780         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
61781         of %rbp unmolested in the jmp_buf while mangling the low bits.
61782         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
61783         unmolested high bits of %rbp while demangling the low bits.
61784         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61786 2012-05-21  Andreas Jaeger  <aj@suse.de>
61788         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
61789         * sunrpc/svc_simple.c: Use it for registerrpc.
61790         * sunrpc/xcrypt.c: Use it for passwd2des.
61792         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
61794 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61796         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
61797         Don't define if [__SYSCALL_WORDSIZE != 32].
61798         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
61799         New macro.
61801 2012-05-21  Bruno Haible  <bruno@clisp.org>
61802             Andreas Jaeger  <aj@suse.de>
61804         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
61805         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
61806         inptr and inend for must_buffer_ch.
61807         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
61808         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
61809         * stdio-common/Makefile (tests): Remove bug15.
61810         (bug15-ENV): Remove macro.
61811         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
61812         anymore.
61814 2012-05-19  Andreas Jaeger  <aj@suse.de>
61815             Roland McGrath  <roland@hack.frob.com>
61817         * manual/contrib.texi: Completely rewritten. It contains now an
61818         alphabetical list of contributors and their contributions.
61820 2012-05-21  Richard Henderson  <rth@twiddle.net>
61822         * misc/getauxval.c (__getauxval): Use unsigned long int.
61823         * misc/sys/auxv.h: Include <sys/cdefs.h>.
61824         (getauxval): Use unsigned long int.
61826 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61828         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61830 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61832         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
61833         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
61834         __alignof__ (long double).
61836 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61840 2012-05-20  Richard Henderson  <rth@twiddle.net>
61842         * misc/getauxval.c: New file.
61843         * misc/sys/auxv.h: New file.
61844         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
61845         (routines): Add getauxval.
61846         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
61847         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
61848         * elf/dl-sysdep.c (_dl_auxv): Remove.
61849         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
61850         * elf/dl-support.c (_dl_auxv): New variable.
61851         (_dl_aux_init): Initialize it.
61852         * manual/startup.texi (Auxiliary Vector): New node.
61853         * sysdeps/generic/bits/hwcap.h: New file.
61854         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
61855         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
61856         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
61857         * sysdeps/sparc/sysdep.h: ... here.  Include it.
61858         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
61859         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
61860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61861         Update.
61862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
61863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
61864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
61865         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
61866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
61869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
61871 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61875 2012-05-19  David S. Miller  <davem@davemloft.net>
61877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61879 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61881         [BZ #14123]
61882         * math/s_ccosh.c: Include <float.h>
61883         (__ccosh): Avoid internal overflow calculating sinh and cosh
61884         values before multiplying by sin and cos values.
61885         * math/s_ccoshf.c: Likewise.
61886         * math/s_ccoshl.c: Likewise.
61887         * math/s_csin.c: Likewise.
61888         * math/s_csinf.c: Likewise.
61889         * math/s_csinl.c: Likewise.
61890         * math/s_csinh.c: Likewise.
61891         * math/s_csinhf.c: Likewise.
61892         * math/s_csinhl.c: Likewise.
61893         * math/libm-test.inc (ccos_test): Add more tests.
61894         (ccosh_test): Likewise.
61895         (csin_test): Likewise.
61896         (csinh_test): Likewise.
61897         * sysdeps/i386/fpu/libm-test-ulps: Update.
61898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61900 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
61902         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
61903         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
61905         * sysdeps/x86_64/x32/_itoa.h: Add comment.
61907 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61909         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
61910         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
61911         * sysdeps/powerpc/soft-fp/Versions: Likewise.
61912         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
61913         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
61914         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
61915         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
61916         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
61917         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
61918         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
61919         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
61920         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
61921         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
61922         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
61923         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
61924         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
61925         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
61926         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
61927         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
61928         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
61929         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
61930         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
61931         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
61932         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
61933         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
61934         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
61935         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
61936         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
61937         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
61938         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
61939         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
61941 2012-05-18  Andreas Jaeger  <aj@suse.de>
61943         * csu/.gitignore: Delete.
61945 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61947         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
61948         (timex): Use __syscall_slong_t.
61950 2012-05-18  Andreas Jaeger  <aj@suse.de>
61951             Carlos O'Donell  <carlos_odonell@mentor.com>
61953         * manual/install.texi (Configuring and compiling): Update
61954         description about files modified in the source directory.
61955         * INSTALL: Regenerated.
61957 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61959         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
61960         value.  Use "or" to set return value to -1.
61961         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
61962         negate return value.
61964 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61966         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
61967         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
61968         failure if the compiler has Graphite support disabled.
61969         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
61970         Likewise.
61971         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
61972         (CFLAGS-memmove.c): Likewise.
61973         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
61974         Likewise.
61976 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61978         * sysdeps/x86_64/x32/_itoa.h: New file.
61980         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
61981         getdents system call only if kernel and user dirents have the
61982         same d_ino and d_off.
61984         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61985         LLONG_MAX != LONG_MAX.
61986         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61987         (_fitoa_word): Likewise.
61989         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
61990         years.
61991         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
61992         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
61993         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
61995         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
61996         include <bits/wordsize.h>.  Check __x86_64__ instead of
61997         __WORDSIZE.
61998         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
61999         if __x86_64__ is defined.  Use anonymous union on fpstate.
62001         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
62002         anonymous union.
62004 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
62006         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
62007         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
62008         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
62009         Refer to _rtld_local_ro instead of _rtld_global_ro.
62010         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
62011         Likewise.
62012         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
62013         Likewise.
62014         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
62015         Likewise.
62016         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
62017         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
62018         of _rtld_global, and rtld_progname instead of _dl_argv[0].
62020         [BZ #10882]
62021         * sysdeps/powerpc/powerpc32/dl-machine.c
62022         (__elf_machine_runtime_setup) [PROF]: Don't reference
62023         _dl_prof_resolve.
62025 2012-05-18  Andreas Jaeger  <aj@suse.de>
62027         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
62028         function only available for GCCs before 3.4 since GCC 3.4
62029         introduced a builtin.
62030         (lrint): Likewise.
62031         (llrintf): Likewise.
62032         (llrint): Likewise.
62033         (fmaxf): Likewise.
62034         (fmax): Likewise.
62035         (fminf): Likewise.
62036         (fmin): Likewise.
62037         (rint): Likewise.
62038         (rintf): Likewise.
62039         (nearbyint): Likewise.
62040         (nearbyintf): Likewise.
62041         (ceil): Likewise.
62042         (ceilf): Likewise.
62043         (floor): Likewise.
62044         (floorf): Likewise.
62046 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62048         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
62049         on both fields and cast pointer to __syscall_ulong_t.
62051         * bits/types.h (__fsword_t): New type.
62052         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
62053         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
62054         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62055         (__FSWORD_T_TYPE): Likewise.
62056         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62057         (__FSWORD_T_TYPE): Likewise.
62058         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62059         (__FSWORD_T_TYPE): Likewise.
62060         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
62061         (__FSWORD_T_TYPE): Likewise.
62062         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
62063         __SWORD_TYPE with __fsword_t.
62064         (statfs64): Likewise.
62066 2012-05-17  David S. Miller  <davem@davemloft.net>
62068         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
62070 2012-05-17  Andreas Jaeger  <aj@suse.de>
62072         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
62073         warning.
62075 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62077         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
62079 2012-05-17  Andreas Jaeger  <aj@suse.de>
62081         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
62082         when it is used.
62084 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62086         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
62088 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62090         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
62091         * sysdeps/x86_64/tst-mallocalign1.c: New file.
62093 2012-05-17  Andreas Jaeger  <aj@suse.de>
62094             Carlos O'Donell  <carlos_odonell@mentor.com>
62096         [BZ #14059]
62097         * sysdeps/x86_64/multiarch/init-arch.h
62098         (bit_YMM_Usable): Rename to...
62099         (bit_AVX_Usable): ... this.
62100         (bit_FMA4_Usable): New macro.
62101         (bit_XMM_state): New macro.
62102         (bit_YMM_state): New macro.
62103         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
62104         [__ASSEMBLER__] (index_AVX_Usable): ... this.
62105         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
62106         (CPUID_OSXSAVE): New macro.
62107         (CPUID_AVX): New macro.
62108         (CPUID_FMA4): New macro.
62109         (index_YMM_Usable): Rename to...
62110         (index_AVX_Usable): ... this.
62111         (HAS_AVX): Use HAS_ARCH_FEATURE.
62112         (HAS_FMA4): Likewise.
62113         (HAS_YMM_USABLE): Remove.
62114         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62115         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
62116         are present.
62117         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
62118         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
62119         * sysdeps/x86_64/multiarch/Makefile: Likewise.
62120         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
62121         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
62123 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
62125         * math/libm-test.c: Support platforms without multiple rounding modes.
62126         * math/bug-nextafter.c: Support platforms without FP exceptions.
62127         * math/bug-nexttoward.c: Likewise.
62128         * math/test-fenv.c: Likewise.
62129         * math/test-misc.c: Likewise.
62130         * stdlib/bug-getcontext.c: Likewise.
62132 2012-05-17  Andreas Jaeger  <aj@suse.de>
62134         * manual/examples/search.c (critter_cmp): Change signature to
62135         avoid warnings.
62136         * manual/string.texi (Collation Functions): Likewise.
62138 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62140         * bits/types.h: Fold copyright years.
62141         * bits/typesizes.h: Likewise.
62142         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
62143         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
62144         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
62145         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
62146         * time/time.h: Likewise.
62148 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
62150         [BZ #208]
62151         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
62152         in instead of returning them.  Return void.
62153         (__libc_mallinfo): Accumulate over all arenas.
62154         (__malloc_stats): Adjust for change in int_mallinfo interface.
62156 2012-05-16  Roland McGrath  <roland@hack.frob.com>
62158         [BZ #10375]
62159         * configure.in (NM): Add AC_CHECK_TOOL for it.
62160         (libc_extra_cflags): New substituted variable.
62161         Check for -fstack-protector being used implicitly.
62162         * configure: Regenerated.
62163         * config.make.in (config-extra-cflags): New variable,
62164         gets @libc_extra_cflags@.
62165         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
62167         [BZ #10375]
62168         * configure.in: Check for _FORTIFY_SOURCE being predefined.
62169         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
62170         * configure: Regenerated.
62171         * config.make.in (CPPUNDEFS): New substituted variable.
62172         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
62173         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
62174         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
62176 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62178         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
62179         (mq_attr): Use __syscall_slong_t.
62181 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62183         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
62184         Check __x86_64__ instead of __WORDSIZE.
62185         (_STAT_VER_LINUX): Likewise.
62186         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
62187         __syscall_ulong_t and __syscall_slong_t.
62188         (stat64): Likewise.
62190 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62192         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
62194 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62196         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
62198 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62200         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
62201         __syscall_ulong_t.
62203         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
62204         include <bits/wordsize.h>.  Check __x86_64__ instead of
62205         __WORDSIZE.
62206         (greg_t): Use "__extension__ long long int" if __x86_64__ is
62207         defined.
62208         (mcontext_t): Replace "unsigned long" with "unsigned long long".
62210         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
62211         include <bits/wordsize.h>.  Check __x86_64__ instead of
62212         __WORDSIZE.
62213         (user_regs_struct): Use "__extension__ unsigned long long"
62214         instead of "unsigned long" if __x86_64__ is defined.
62215         (user): Likewise.  Pad after pointer field if __ILP32__ is
62216         defined.
62218 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
62220         * configure.in (makeinfo): Require version 4.5 or later.  Allow
62221         versions 5 to 9.
62222         * configure: Regenerated.
62223         * manual/install.texi (texinfo): Increase version requirement to
62224         4.5 or later.
62225         * INSTALL: Regenerated.
62227         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
62229 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62231         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
62233         * sysdeps/x86_64/x32/ffs.c: New file.
62235         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
62236         __syscall_ulong_t.
62237         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
62238         defined.  Use __syscall_ulong_t.
62239         (shminfo): Use __syscall_ulong_t.
62240         (shm_info): Likewise.
62242         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
62243         __syscall_ulong_t.
62245         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
62246         <bits/wordsize.h>.
62247         (msgqnum_t): Use __syscall_ulong_t.
62248         (msglen_t): Likewise.
62249         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
62250         __syscall_ulong_t.
62252         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
62253         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62255         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
62257         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
62258         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
62260         * sysvipc/sys/msg.h (msgbuf): Replace long int with
62261         __syscall_slong_t.
62263         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
62264         include <bits/wordsize.h>.  Check __x86_64__ instead of
62265         __WORDSIZE.
62267         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
62268         "unsigned long long int" if __x86_64__ is defined.
62269         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
62271         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
62272         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62273         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
62275         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
62276         <stdint.h>.
62277         (GET_PC): Cast to uintptr_t first.
62278         (GET_FRAME): Likewise.
62279         (GET_STACK): Likewise.
62281         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
62282         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
62283         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
62284         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
62285         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
62286         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
62287         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
62288         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
62289         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
62290         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
62291         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
62292         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
62293         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62294         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
62295         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
62296         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
62297         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
62298         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
62299         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
62300         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
62301         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
62302         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
62303         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
62304         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
62305         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
62306         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
62307         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
62308         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
62309         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
62311 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
62313         * Makerules (+depfiles): Also collect depfiles from .oS in
62314         $(extra-objs).
62315         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
62316         .oS, $(libnldbl-routines)).
62318         * Makerules (native-compile-mkdep-flags): Define.
62319         * sunrpc/Makefile (extra-objs): Add $(addprefix
62320         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
62321         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
62322         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
62323         calling $(make-target-directory).
62325 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62327         * bits/types.h (__snseconds_t): Removed.
62328         * time/time.h (struct timespec): Replace __snseconds_t with
62329         __syscall_slong_t.
62330         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
62331         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
62332         Likewise.
62333         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62334         (__SNSECONDS_T_TYPE): Likewise.
62335         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62336         (__SNSECONDS_T_TYPE): Likewise.
62337         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62338         (__SNSECONDS_T_TYPE): Likewise.
62340 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62342         * sysdeps/mach/hurd/bits/typesizes.h
62343         (__SYSCALL_SLONG_TYPE): New macro.
62344         (__SYSCALL_ULONG_TYPE): Likewise.
62346 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62348         * bits/types.h (__syscall_slong_t): New type.
62349         (__syscall_ulong_t): Likewise.
62351         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
62352         (__SYSCALL_ULONG_TYPE): Likewise.
62353         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62354         (__SYSCALL_SLONG_TYPE): Likewise.
62355         (__SYSCALL_ULONG_TYPE): Likewise.
62356         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62357         (__SYSCALL_SLONG_TYPE): Likewise.
62358         (__SYSCALL_ULONG_TYPE): Likewise.
62359         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62360         (__SYSCALL_SLONG_TYPE): Likewise.
62361         (__SYSCALL_ULONG_TYPE): Likewise.
62363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62365         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
62366         Add sigaltstack-offsets.sym.
62367         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
62368         <sigaltstack-offsets.h>.
62369         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
62370         longjmp_msg pointer.
62371         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
62372         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
62373         signal stack.
62374         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
62376 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62378         * elf/stackguard-macros.h: Remove file.
62379         * sysdeps/generic/stackguard-macros.h: New file.
62380         * sysdeps/i386/stackguard-macros.h: Likewise.
62381         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
62382         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
62383         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
62384         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
62385         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62386         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
62387         * sysdeps/x86_64/stackguard-macros.h: Likewise.
62388         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
62389         <elf/stackguard-macros.h>.
62391         [BZ #14109]
62392         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
62393         __aligned__ in attribute.
62394         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
62395         (gregset_t): Likewise.
62397 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62399         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
62400         * sysdeps/x86_64/64/Implies-after: Here.  New file.
62401         * sysdeps/x86_64/x32/Implies-after: New file.
62403 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62405         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
62406         and access return value for _dl_profile_fixup.  Use R10_LP to
62407         load frame size.
62409 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62411         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
62413 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62415         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
62416         * sysdeps/x86_64/x32/sysdep.h: New file.
62418 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62420         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
62421         * sysdeps/x86_64/setjmp.S: Likewise.
62423 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62425         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
62426         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
62427         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
62428         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
62429         remove unused global constant.
62431 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
62433         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
62434         include of <not-cancel.h>.
62436 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62438         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
62440 2012-05-15  Jeff Law  <law@redhat.com>
62441             Andreas Jaeger  <aj@suse.de>
62443         [BZ #13594]
62444         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
62445         out from...
62446         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
62447         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
62448         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
62449         code changing __hst_map_handle.map.
62451 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62453         * configure.in (sysnames): Look for Implies-before and Implies-after
62454         files.
62455         * configure: Regenerated.
62457 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62459         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
62460         8-byte data alignment with LP_SIZE alignment.
62462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62464         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
62465         into R10_LP.
62467 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62469         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
62471 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62473         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
62474         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
62475         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
62476         Likewise.
62477         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62481         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
62482         (stackinfo_sub_sp): Likewise.
62484 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62486         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
62487         RAX_LP.
62489 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62491         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
62492         into R*_LP.
62494 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62496         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
62497         sizes into R*_LP.
62499 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62501         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
62503 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62505         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
62506         into R11_LP and load __x86_64_shared_cache_size_half into
62507         R8_LP.
62509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62511         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
62512         R8_LP.
62514 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62516         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
62517         logb for POWER7.
62518         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
62519         logbf for POWER7.
62520         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
62521         logbl for POWER7.
62522         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
62523         powerpc32/power7/fpu/s_logb.c via #include.
62524         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
62525         powerpc32/power7/fpu/s_logbf.c via #include.
62526         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
62527         powerpc32/power7/fpu/s_logbl.c via #include.
62529 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62531         * README.libm: Remove file.
62533 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62535         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
62536         count for x32.  Use R*_LP and omit operand-size suffix.
62538 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62540         * shlib-versions: Move x86_64-.*-linux.* entries to ...
62541         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
62542         * sysdeps/x86_64/x32/shlib-versions: New file.
62544 2012-05-14  Roland McGrath  <roland@hack.frob.com>
62546         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
62547         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
62548         Use _dl_fatal_printf instead.
62550 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62552         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
62553         set if not set by the user.  Do not allow for being unset.
62554         * sysdeps/unix/sysv/linux/configure: Regenerated.
62556 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62558         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
62559         the `q' suffix from lea and replace .quad with ASM_ADDR.
62561 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62563         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
62564         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
62565         instead of $17.
62566         (PTR_DEMANGLE): Likewise.
62568 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62570         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
62571         (LP_OP): Likewise.
62572         (ASM_ADDR): Likewise.
62573         (RAX_LP): Likewise.
62574         (RBP_LP): Likewise.
62575         (RBX_LP): Likewise.
62576         (RCX_LP): Likewise.
62577         (RDI_LP): Likewise.
62578         (RSI_LP): Likewise.
62579         (RSP_LP): Likewise.
62580         (R8_LP): Likewise.
62581         (R9_LP): Likewise.
62582         (R10_LP): Likewise.
62583         (R10_LP): Likewise.
62584         (R11_LP): Likewise.
62585         (R12_LP): Likewise.
62586         (R13_LP): Likewise.
62587         (R14_LP): Likewise.
62588         (R15_LP): Likewise.
62590 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62592         * sysdeps/x86_64/x32/dl-machine.h: New file.
62594 2012-05-14  Andreas Jaeger  <aj@suse.de>
62596         * manual/Makefile (subdir): Remove export of subdir.
62597         (all): Remove target.
62598         (.PHONY): Remove all from list.
62599         (mkinstalldirs): Remove.
62600         (.PHONY): Remove installdirs from list.
62601         ($(inst_infodir)/libc.info): Use make-target-directory.
62602         (installdirs): Remove.
62603         (subdir_%): Remove.
62604         (glibc-targets): Remove.
62605         (lib): Remove.
62606         (stubs): Remove.
62607         ($(objpfx)stubs ../po/manual.pot): Remove.
62608         ($(objpfx)stamp%): Remove.
62609         (make-target-directory): Remove.
62610         (subdir_install): Remove.
62611         (routines): Remove.
62612         (aux): Remove.
62613         (sources): Remove.
62614         (objects): Remove.
62615         (headers): Remove.
62617         [BZ #13750]
62618         * manual/.gitignore: Remove, it's not needed anymore.
62619         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
62620         all files in it.
62621         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
62622         directory.
62623         (texis): Renamed to $(objpfx)texis.
62624         (texis-path): New, contains path to generated files.
62625         (chapters.%): Use texis-path for complete path, add extra argument
62626         libc-texinfo.sh.
62627         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
62628         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
62629         (summary,texi, stamp-summary): Use complete path of
62630         files. Generate files in build dir.
62631         (dir-add.texi): Build in build dir.
62632         (libm-err.texi,stamp-libm-err): Likewise.
62633         (version.texi, stamp-version): Likewise.
62634         (.%c.texi): Likewise.
62635         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
62636         (mostlyclean): Remove target.
62637         (realclean): Remove target.
62638         (generated): Add new variable with contents from mostlyclean and
62639         realclean, remove entries duplicated in common-mostlyclean, add
62640         stamp-libm-err and stamp-version.
62641         (generated-dirs): Add libc directory.
62642         ($(inst_infodir)/libc.info): Install files from build dir.
62644         * manual/install.texi (Configuring and compiling): Adjust since
62645         the info files are not part of the tar ball anymore.
62647 2012-05-14  Andreas Jaeger  <aj@suse.de>
62649         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
62650         variable.
62652 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62654         [BZ #13717]
62655         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62656         to 2.2.0 where earlier.
62657         * sysdeps/unix/sysv/linux/configure: Regenerated.
62658         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
62659         Remove conditional code.
62660         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
62661         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
62662         Remove conditional code.
62663         [!__NR_lchown]: Likewise.
62664         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62665         [__NR_lchown]: Likewise.
62666         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
62667         comment referencing __ASSUME_LCHOWN_SYSCALL.
62668         * sysdeps/unix/sysv/linux/i386/sigaction.c
62669         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62670         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62671         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
62672         Remove conditional code.
62673         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
62674         (__protocol_available): Remove #if 0 code.
62675         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
62676         conditional code.
62677         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
62678         * sysdeps/unix/sysv/linux/kernel-features.h
62679         (__ASSUME_GETCWD_SYSCALL): Don't define.
62680         (__ASSUME_REALTIME_SIGNALS): Likewise.
62681         (__ASSUME_PREAD_SYSCALL): Likewise.
62682         (__ASSUME_PWRITE_SYSCALL): Likewise.
62683         (__ASSUME_POLL_SYSCALL): Likewise.
62684         (__ASSUME_LCHOWN_SYSCALL): Likewise.
62685         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
62686         non-SPARC.
62687         (__ASSUME_SIOCGIFNAME): Don't define.
62688         (__ASSUME_MSG_NOSIGNAL): Likewise.
62689         (__ASSUME_SENDFILE): Define unconditionally.
62690         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
62691         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
62692         conditional code.
62693         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
62694         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
62695         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62696         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62697         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
62698         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62699         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
62701         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62702         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
62704         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62705         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
62707         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62708         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
62710         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62711         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
62713         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62714         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
62716         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62717         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
62719         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62720         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
62722         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62723         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62724         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
62725         Remove conditional code.
62726         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62727         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62728         Remove conditional code.
62729         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62730         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
62731         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
62732         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62733         Remove conditional code.
62734         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62735         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
62736         Remove conditional code.
62737         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62738         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
62739         Remove conditional code.
62740         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62741         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62742         Remove conditional code.
62743         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62744         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62745         Remove conditional code.
62746         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62747         * sysdeps/unix/sysv/linux/sh/pwrite64.c
62748         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62749         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62750         * sysdeps/unix/sysv/linux/sigaction.c
62751         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62752         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62753         * sysdeps/unix/sysv/linux/sigpending.c
62754         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62755         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62756         * sysdeps/unix/sysv/linux/sigprocmask.c
62757         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62758         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62759         * sysdeps/unix/sysv/linux/sigsuspend.c
62760         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62761         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62762         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62763         (__libc_missing_rt_sigs): Remove.
62764         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
62765         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
62766         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
62767         Remove conditional code.
62768         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
62769         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
62770         return 1.
62771         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
62772         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
62773         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
62774         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
62776 2012-05-14  Andreas Jaeger  <aj@suse.de>
62778         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
62779         it's not used in glibc.
62780         (__coshm1): Likewise.
62781         (__acosh1p): Likewise.
62782         (__sgn): Likewise.
62784         * manual/string.texi (Copying and Concatenation): Add missing
62785         variable in concat example.
62786         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
62788 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62790         [BZ #14103]
62791         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
62792         __builtin_clzl with __builtin_clzll.
62794 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62796         [BZ #14104]
62797         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
62798         libc_freeres_ptr.
62800 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62802         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
62803         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
62804         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
62805         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
62807 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
62809         * NEWS: Update ia64 info.
62811 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
62813         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
62814         used as bcopy.
62816 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
62818         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
62819         * sysdeps/unix/syscalls.list (dup3): Likewise.
62820         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
62821         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
62823 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62825         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
62826         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
62828 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62830         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
62831         thread pointer.
62832         (TLS_IE): Use mov/add instead of movq/addq to load thread
62833         pointer.
62834         (TLS_GD_PREFIX): New.
62835         (TLS_GD): Use it.
62837 2012-05-11  David S. Miller  <davem@davemloft.net>
62839         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
62840         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
62841         (_FPU_SETCW): Likewise.
62843 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62845         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
62846         is 32-byte aligned.
62848 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
62850         [BZ #11837]
62851         * iconvdata/gb18030.c: Update tables.
62852         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
62853         characters specially.
62854         (BODY for TO_LOOP): Add encoding of missing ranges.
62856 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
62858         [BZ #13673]
62859         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
62860         * sysdeps/mach/hurd/dup3.c: Likewise.
62861         * sysdeps/mach/hurd/readlinkat.c: Likewise.
62862         * sysdeps/powerpc/memmove.c:: Likewise.
62864 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62866         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
62867         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
62869 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62871         * elf/elf.h (R_X86_64_RELATIVE64): New.
62872         (R_X86_64_NUM): Updated.
62873         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
62874         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
62875         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
62876         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
62877         tst-quad1pie tst-quad2pie
62878         (modules-names): Add tst-quadmod1 tst-quadmod2.
62879         ($(objpfx)tst-quad1): New dependency.
62880         ($(objpfx)tst-quad2): Likewise.
62881         ($(objpfx)tst-quad1pie): Likewise.
62882         ($(objpfx)tst-quad2pie): Likewise.
62883         * sysdeps/x86_64/tst-quad1.c: New file.
62884         * sysdeps/x86_64/tst-quad1pie.c: New file.
62885         * sysdeps/x86_64/tst-quad2.c: Likewise.
62886         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
62887         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
62888         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
62889         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
62890         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
62892 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62894         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
62895         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
62896         * streams/stropts.h (t_scalar_t): Define type.
62898         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
62899         (_PATH_PRESERVE): Set to "/var/lib".
62900         (_PATH_RWHODIR): Set to "/var/spool/rwho".
62902         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
62903         instead of int.
62905         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
62906         if __dir_mkfile succeeded.
62908         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
62909         checking for _hurd_dtablesize.  Unlock it right after having
62910         finished _hurd_dtable allocation.
62912 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62914         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
62915         * sysdeps/mach/hurd/configure: Regenerated.
62916         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
62917         special-casing to...
62918         * sysdeps/gnu/configure.in: ... this new file.
62919         * sysdeps/unix/sysv/linux/configure: Regenerated.
62920         * sysdeps/gnu/configure: New generated file.
62922         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
62923         for Linux: use nsec instead of usec, as well as:
62924         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
62925         members of type struct timespec.
62926         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
62927         New macros.
62928         (struct stat64): Likewise.
62929         (_STATBUF_ST_NSEC): New macro.
62930         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
62932         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62933         __strtoul_internal rather than strtoul.
62935 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62937         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
62938         and reject them.
62940 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62942         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
62943         which preserves existing values.
62944         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
62946 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62948         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
62949         TIMEOUT values.  Return EINVAL for NFDS values either negative or
62950         greater than FD_SETSIZE.
62952 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62954         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
62955         allocated, call __vm_protect to finish enabling the existing space, and
62956         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
62957         allocate the remainder.
62959 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62961         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
62962         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
62964 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62966         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
62967         sysdeps/mach/hurd/readlink.c.
62969         * posix/tst-sysconf.c (posix_options): Only use
62970         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
62971         _POSIX_SYNCHRONIZED_IO when they are defined
62972         * sysdeps/mach/hurd/bits/posix_opt.h:
62973         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
62974         (_XOPEN_REALTIME): Undefine macro.
62975         (_XOPEN_REALTIME_THREADS): Undefine macro.
62976         (_XOPEN_SHM): Undefine macro.
62977         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
62978         macro to -1.
62979         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
62980         macro to -1.
62981         (_POSIX_ASYNC_IO): Undefine macro.
62982         (_POSIX_PRIORITIZED_IO): Undefine macro.
62983         (_POSIX_SPIN_LOCKS): Define macro to -1.
62985         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
62986         SA_NODEFER, SA_RESETHAND.
62987         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
62988         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
62989         F_DUPFD_CLOEXEC.
62991 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62993         * elf/Makefile (pldd-modules): Define unconditionally.
62995 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62997         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
62999 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63001         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
63002         Return ENOENT when name is empty.
63003         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
63005 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63007         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
63009         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
63011 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63013         Fix mlock in all cases except non-readable pages.
63014         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
63015         instead of VM_PROT_ALL as parameter to __vm_wire function.
63017         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
63018         (__mkdir): When path is `/', just fail with EEXIST.
63019         * sysdeps/mach/hurd/mkdirat.c: Likewise.
63021 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63023         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
63024         <sys/uio.h> (for writev).
63025         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
63026         and <sys/param.h> (for MIN).
63028 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
63030         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
63031         REQUESTED_TIME.  Properly set the remaining time and return EINTR
63032         if interrupted.
63034 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63036         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
63037         Depend on against $(link-rpcuserlibs).
63039 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63041         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
63042         (__libc_stack_end): Do not use attribute_relro.
63043         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
63044         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
63045         to libthread-provided value.
63046         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
63047         attribute_relro.
63049 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63051         [BZ #3748]
63052         * bits/libc-lock.h (__libc_once_get): New macro.
63053         * sysdeps/mach/bits/libc-lock.h: Likewise.
63054         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
63055         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
63056         instead of using implementation details.
63058         * libio/fileops.c: Unconditionally include <kernel-features.h>.
63059         * libio/freopen.c: Likewise.
63060         * libio/freopen64.c: Likewise.
63061         * misc/syslog.c: Likewise.
63062         * nscd/connections.c: Likewise.
63063         * nscd/netgroupcache.c: Likewise.
63064         * sysdeps/posix/getcwd.c: Likewise.
63066 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63068         * math/w_ilogbf.c: Add #include <limits.h>.
63070 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63072         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
63073         path instead of returning without unlocking.
63075         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
63076         immediate-write ioctls.
63077         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
63079 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63081         * sysdeps/mach/hurd/i386/init-first.c (init): Use
63082         __builtin_frame_address instead of making assumptions about the
63083         location of the return address relative to DATA.  Force early load of
63084         the return address.
63085         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
63086         __builtin_frame_address.
63088         dup3 for GNU Hurd.
63089         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
63090         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
63091         implement dup3 and do some further code clean-ups.
63092         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
63093         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
63095 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63097         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
63099         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
63100         HURD_CRITICAL_END around holding _hurd_dtable_lock.
63101         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
63102         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
63103         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
63104         d->port.lock.
63106         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
63107         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
63108         when handler == SIG_ERR, not when handler != SIG_ERR.
63110 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63112         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
63113         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
63114         definitions.
63116         accept4 for GNU Hurd.
63117         * include/sys/socket.h (__libc_accept4): New prototype.
63118         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
63119         to implement __libc_accept4.
63120         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
63121         __libc_accept4.
63122         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
63124         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
63125         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
63126         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
63127         signal-defines.sym.
63129 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63131         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
63133 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
63135         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
63136         assertion on O_CLOEXEC flag.
63137         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
63138         * hurd/intern-fd.c: Likewise.
63139         * hurd/port2fd.c: Likewise.
63141 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63143         [BZ #3906]
63144         * bits/in.h (IPV6_PKTINFO): Define new macro.
63145         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
63147 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63149         [BZ #13954]
63150         [BZ #13955]
63151         [BZ #13956]
63152         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
63153         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63154         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
63155         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63156         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63157         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63158         * math/libm-test.inc (logb_test) : Additional logb tests.
63160 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
63161             Andreas Jaeger  <aj@suse.de>
63163         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
63164         * configure: Regenerated.
63165         * config.h.in (LINK_OBSOLETE_RPC): New macro.
63166         * config.make.in (link-obsolete-rpc): New substituted variable.
63167         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
63168         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
63169         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63170         (shared-only-routines): Don't set it under [link-obsolete-rpc],
63171         so that libc.a contains the symbols.
63172         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63173         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
63174         * sunrpc/auth_none.c: Likewise.
63175         * sunrpc/auth_unix.c: Likewise.
63176         * sunrpc/authdes_prot.c: Likewise.
63177         * sunrpc/authuxprot.c: Likewise.
63178         * sunrpc/clnt_gen.c: Likewise.
63179         * sunrpc/clnt_perr.c: Likewise.
63180         * sunrpc/clnt_raw.c: Likewise.
63181         * sunrpc/clnt_simp.c: Likewise.
63182         * sunrpc/clnt_tcp.c: Likewise.
63183         * sunrpc/clnt_udp.c: Likewise.
63184         * sunrpc/clnt_unix.c: Likewise.
63185         * sunrpc/des_crypt.c: Likewise.
63186         * sunrpc/des_soft.c: Likewise.
63187         * sunrpc/get_myaddr.c: Likewise.
63188         * sunrpc/key_call.c: Likewise.
63189         * sunrpc/key_prot.c: Likewise.
63190         * sunrpc/netname.c: Likewise.
63191         * sunrpc/pm_getmaps.c: Likewise.
63192         * sunrpc/pm_getport.c: Likewise.
63193         * sunrpc/pmap_clnt.c: Likewise.
63194         * sunrpc/pmap_prot.c: Likewise.
63195         * sunrpc/pmap_prot2.c: Likewise.
63196         * sunrpc/pmap_rmt.c: Likewise.
63197         * sunrpc/publickey.c: Likewise.
63198         * sunrpc/rpc_cmsg.c: Likewise.
63199         * sunrpc/rpc_common.c: Likewise.
63200         * sunrpc/rpc_dtable.c: Likewise.
63201         * sunrpc/rpc_prot.c: Likewise.
63202         * sunrpc/rpc_thread.c: Likewise.
63203         * sunrpc/rtime.c: Likewise.
63204         * sunrpc/svc.c: Likewise.
63205         * sunrpc/svc_auth.c: Likewise.
63206         * sunrpc/svc_raw.c: Likewise.
63207         * sunrpc/svc_run.c: Likewise.
63208         * sunrpc/svc_tcp.c: Likewise.
63209         * sunrpc/svc_udp.c: Likewise.
63210         * sunrpc/svc_unix.c: Likewise.
63211         * sunrpc/svcauth_des.c: Likewise.
63212         * sunrpc/xcrypt.c: Likewise.
63213         * sunrpc/xdr.c: Likewise.
63214         * sunrpc/xdr_array.c: Likewise.
63215         * sunrpc/xdr_float.c: Likewise.
63216         * sunrpc/xdr_intXX_t.c: Likewise.
63217         * sunrpc/xdr_mem.c: Likewise.
63218         * sunrpc/xdr_rec.c: Likewise.
63219         * sunrpc/xdr_ref.c: Likewise.
63220         * sunrpc/xdr_sizeof.c: Likewise.
63221         * sunrpc/xdr_stdio.c: Likewise.
63223 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63225         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
63226         change.  Update copyright years.
63228 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63230         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
63232 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
63233             Joseph Myers  <joseph@codesourcery.com>
63234             Paul Pluzhnikov  <ppluzhnikov@google.com>
63236         [BZ #14012]
63237         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
63238         requiring rpcgen.
63239         [cross-compiling] (extra-libs): Likewise.
63240         [cross-compiling] (extra-libs-others): Likewise.
63241         [cross-compiling] (librpcsvc-routines): Likewise.
63242         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
63243         [cross-compiling] (omit-deps): Likewise.
63244         (sunrpc-CPPFLAGS): New variable.
63245         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
63246         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
63247         (cross-rpcgen-objs): New variable.
63248         (extra-objs): Append $(cross-rpcgen-objs).
63249         ($(cross-rpcgen-objs)): New rule.
63250         ($(objpfx)cross-rpcgen): Likewise.
63251         (rpcgen-cmd): Define to use $(built-program-file).  Expand
63252         comment.
63253         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
63254         ($(objpfx)x%.stmp): Likewise.
63255         * sunrpc/proto.h [IS_IN_build] (_): Define.
63256         [IS_IN_build] (_libc_intl_domainname): Likewise.
63258 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63260         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
63261         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
63262         and R_X86_64_TPOFF64.
63264 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63266         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
63267         sysdeps/unix/sysv/syscalls.list.
63268         (stime): Likewise.
63269         (utime): Likewise.
63270         * sysdeps/unix/sysv/syscalls.list: Remove file.
63272 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
63274         [BZ #3440]
63275         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
63276         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
63277         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
63278         (__LC_IDENTIFICATION): Make these macros useful in #if
63279         expressions, as required by C99.
63281 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
63283         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
63284         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
63285         after this.
63287 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
63289         * stdlib/longlong.h: Updated from GCC.
63291 2012-05-09  Andreas Jaeger  <aj@suse.de>
63293         * nscd/nscd.c (run_modes): Make named enum, reorder so that
63294         default is first entry.
63295         (run_mode): Set type.
63296         (main): Remove informal message about syslog.
63297         (options): Fix typo.
63299         [BZ #14053]
63300         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
63301         to asm.
63302         (lrint): Likewise.
63303         (llrintf): Likewise.
63304         (llrint): Likewise.
63305         (rint): Likewise.
63306         (rintf): Likewise.
63307         (nearbyint): Likewise.
63308         (nearbyintf): Likewise.
63310 2012-05-09  Andreas Jaeger  <aj@suse.de>
63311             Pedro Alves  <palves@redhat.com>
63313         * nscd/nscd.c (run_mode): Use enum.
63314         (main): Cleanup coding style issue.
63316 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
63317             Andreas Jaeger  <aj@suse.de>
63319         * nscd/nscd.c (go_background): Replaced with...
63320         (run_mode): ... this.
63321         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
63322         (options): Add -F --foreground.
63323         (main): Implement it.
63324         (parse_opt): Parse it.
63326 2012-05-09  Andreas Jaeger  <aj@suse.de>
63328         [BZ #14083]
63329         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
63330         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
63331         -Wconversion warning.
63332         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
63333         Likewise.
63335 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
63337         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
63338         == 0.
63339         (LC_ALL): Use macro-int-constant.
63340         (LC_COLLATE): Likewise.
63341         (LC_CTYPE): Likewise.
63342         (LC_MESSAGES): Likewise.
63343         (LC_MONETARY): Likewise.
63344         (LC_NUMERIC): Likewise.
63345         (LC_TIME): Likewise.
63346         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
63347         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63348         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63349         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
63350         Specify type.
63351         [C99-based standards] (float_t): Expect type.
63352         [C99-based standards] (double_t): Expect type.
63353         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
63354         type.
63355         [C99-based standards] (HUGE_VALL): Likewise.
63356         [C99-based standards] (INFINITY): Likewise.
63357         [C99-based standards] (NAN): Likewise.
63358         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
63359         [C99-based standards] (FP_NAN): Likewise.
63360         [C99-based standards] (FP_NORMAL): Likewise.
63361         [C99-based standards] (FP_SUBNORMAL): Likewise.
63362         [C99-based standards] (FP_ZERO): Likewise.
63363         [C99-based standards] (FP_FAST_FMA): Use
63364         optional-macro-int-constant.  Specify type.  Require == 1.
63365         [C99-based standards] (FP_FAST_FMAF): Likewise.
63366         [C99-based standards] (FP_FAST_FMAL): Likewise.
63367         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
63368         [C99-based standards] (FP_ILOGBNAN): Likewise.
63369         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
63370         Specify type.
63371         [C99-based standards] (MATH_ERREXCEPT): Likewise.
63372         [C99-based standards] (math_errhandling): Specify type.
63373         [ISO99 || ISO11] (signgam): Do not allow.
63374         [non-C99-based standards] (copysignf): Do not allow.
63375         [non-C99-based standards] (exp2f): Likewise.
63376         [non-C99-based standards] (log2f): Likewise.
63377         [non-C99-based standards] (modff): Allow.
63378         [non-C99-based standards] (erff): Do not allow.
63379         [non-C99-based standards] (erfcf): Likewise.
63380         [non-C99-based standards] (gammaf): Likewise.
63381         [non-C99-based standards] (hypotf): Likewise.
63382         [non-C99-based standards] (j0f): Likewise.
63383         [non-C99-based standards] (j1f): Likewise.
63384         [non-C99-based standards] (jnf): Likewise.
63385         [non-C99-based standards] (lgammaf): Likewise.
63386         [non-C99-based standards] (tgammaf): Likewise.
63387         [non-C99-based standards] (y0f): Likewise.
63388         [non-C99-based standards] (y1f): Likewise.
63389         [non-C99-based standards] (ynf): Likewise.
63390         [non-C99-based standards] (isnanf): Likewise.
63391         [non-C99-based standards] (acoshf): Likewise.
63392         [non-C99-based standards] (asinhf): Likewise.
63393         [non-C99-based standards] (atanhf): Likewise.
63394         [non-C99-based standards] (cbrtf): Likewise.
63395         [non-C99-based standards] (expm1f): Likewise.
63396         [non-C99-based standards] (ilogbf): Likewise.
63397         [non-C99-based standards] (log1pf): Likewise.
63398         [non-C99-based standards] (logbf): Likewise.
63399         [non-C99-based standards] (nextafterf): Likewise.
63400         [non-C99-based standards] (remainderf): Likewise.
63401         [non-C99-based standards] (rintf): Likewise.
63402         [non-C99-based standards] (scalbf): Likewise.
63403         [non-C99-based standards] (copysignl): Likewise.
63404         [non-C99-based standards] (exp2l): Likewise.
63405         [non-C99-based standards] (log2l): Likewise.
63406         [non-C99-based standards] (modfl): Allow.
63407         [non-C99-based standards] (erfl): Do not allow.
63408         [non-C99-based standards] (erfcl): Likewise.
63409         [non-C99-based standards] (gammal): Likewise.
63410         [non-C99-based standards] (hypotl): Likewise.
63411         [non-C99-based standards] (j0l): Likewise.
63412         [non-C99-based standards] (j1l): Likewise.
63413         [non-C99-based standards] (jnl): Likewise.
63414         [non-C99-based standards] (lgammal): Likewise.
63415         [non-C99-based standards] (tgammal): Likewise.
63416         [non-C99-based standards] (y0l): Likewise.
63417         [non-C99-based standards] (y1l): Likewise.
63418         [non-C99-based standards] (ynl): Likewise.
63419         [non-C99-based standards] (isnanl): Likewise.
63420         [non-C99-based standards] (acoshl): Likewise.
63421         [non-C99-based standards] (asinhl): Likewise.
63422         [non-C99-based standards] (atanhl): Likewise.
63423         [non-C99-based standards] (cbrtl): Likewise.
63424         [non-C99-based standards] (expm1l): Likewise.
63425         [non-C99-based standards] (ilogbl): Likewise.
63426         [non-C99-based standards] (log1pl): Likewise.
63427         [non-C99-based standards] (logbl): Likewise.
63428         [non-C99-based standards] (nextafterl): Likewise.
63429         [non-C99-based standards] (remainderl): Likewise.
63430         [non-C99-based standards] (rintl): Likewise.
63431         [non-C99-based standards] (scalbl): Likewise.
63432         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63433         [non-C99-based standards] (FP_*): Do not allow.
63434         [C99-based standards] (FP_*): Change to
63435         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63436         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63437         allow.
63438         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
63439         (SIG_ERR): Likewise.
63440         [X/Open-based standards] (SIG_HOLD): Likewise.
63441         (SIG_IGN): Likewise.
63442         (SIGABRT): Use macro-int-constant.  Specify type.  Require
63443         positive value.
63444         (SIGFPE): Likewise.
63445         (SIGILL): Likewise.
63446         (SIGINT): Likewise.
63447         (SIGSEGV): Likewise.
63448         (SIGTER): Likewise.
63449         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
63450         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
63451         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
63452         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
63453         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
63454         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
63455         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
63456         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
63457         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
63458         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
63459         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
63460         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
63461         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
63462         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
63463         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
63464         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
63465         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
63466         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
63467         [X/Open-based standards] (SIGTRAP): Likewise.
63468         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
63469         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
63470         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
63471         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
63472         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63473         allow.
63475 2012-05-08  Ian Wienand  <ianw@vmware.com>
63477         [BZ #14080]
63478         * time/tzset.c (__tzset_parse_tz): Update default rules for
63479         daylight time changes in the Energy Policy Act of 2005.
63481 2012-05-09  Andreas Jaeger  <aj@suse.de>
63483         [BZ #13983]
63484         * elf/ldconfig.c (parse_conf): Change string to make clear that
63485         ldconfig only issued a warning if ld.so.conf does not exist.
63487 2012-05-08  David S. Miller  <davem@davemloft.net>
63489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
63490         movxtod instead of popping the value on the stack.
63492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63494 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
63496         * config.h.in: Add HAVE_ARM_PCS_VFP.
63498 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
63500         [BZ #13979]
63501         * include/features.h: Warn if user requests __FORTIFY_SOURCE
63502         checking but the checks are disabled for any reason.
63504 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
63506         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
63507         and ELF64_R_TYPE with ELFW(R_TYPE).
63509 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
63511         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
63512         (ulimit): Likewise.
63514         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
63515         (settimeofday): Likewise.
63517 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
63519         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
63520         a struct th_u2 inside the union, and move tu_block/tu_code into
63521         a new th_u3 union of tu_block/tu_code inside of that.  Move
63522         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
63523         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
63524         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
63525         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
63526         (th_stuff): Change to th_u1.tu_stuff.
63527         (th_data): Define.
63528         (th_msg): Change to th_u1.th_u2.tu_data.
63530 2012-05-07  David S. Miller  <davem@davemloft.net>
63532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63534         [BZ #14074]
63535         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
63536         (SETUP_PIC_REG): Use it.
63537         (SETUP_PIC_REG_LEAF): Use it.
63539 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
63541         [BZ #13885]
63542         [BZ #13923]
63543         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63544         USE_AS_EXPM1L.
63545         (EXPL_FINITE): Likewise.
63546         (FLDLOG): Likewise.
63547         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63548         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63549         e_expl.S.
63550         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63551         USE_AS_EXPM1L.
63552         (EXPL_FINITE): Likewise.
63553         (FLDLOG): Likewise.
63554         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63555         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63556         e_expl.S.
63557         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
63558         test of -max_value argument for long double.
63559         * sysdeps/i386/fpu/libm-test-ulps: Update.
63560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63562 2012-05-06  David S. Miller  <davem@davemloft.net>
63564         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
63565         quad soft-float symbols whose references which are compiler
63566         generated.
63567         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
63569 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
63571         [BZ #13884]
63572         [BZ #13914]
63573         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63574         USE_AS_EXP10L.
63575         (EXPL_FINITE): Likewise.
63576         (FLDLOG): Likewise.
63577         (c0): Likewise.
63578         (c1): Likewise.
63579         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63580         Adjust comments for base varying.
63581         (__expl_finite): Change alias to EXPL_FINITE.
63582         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
63583         e_expl.S.
63584         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
63585         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
63586         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63587         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
63588         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63589         USE_AS_EXP10L.
63590         (EXPL_FINITE): Likewise.
63591         (FLDLOG): Likewise.
63592         (c0): Likewise.
63593         (c1): Likewise.
63594         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63595         Adjust comments for base varying.
63596         (__expl_finite): Change alias to EXPL_FINITE.
63597         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
63598         tests for bugs.
63599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63601         [BZ #14064]
63602         * math/libm-test.inc (check_float_internal): Correct ulp
63603         calculation for subnormal expected results.
63605 2012-05-06  Andreas Jaeger  <aj@suse.de>
63607         * Makeconfig (+math-flags): New, set to -frounding-math.
63608         (+cflags): Add +math-flags so that all of glibc gets compiled with
63609         it.
63611         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
63613 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
63615         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
63616         Disable one test.
63618         [BZ #13787]
63619         [BZ #13922]
63620         [BZ #14036]
63621         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
63622         (__ieee754_expl): Allow for and saturate large arguments.
63623         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
63624         (u_threshold): Likewise.
63625         (__exp): Call __ieee754_exp before checking for overflow and
63626         underflow.
63627         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
63628         (u_threshold): Likewise.
63629         (__expf): Call __ieee754_expf before checking for overflow and
63630         underflow.
63631         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
63632         (u_threshold): Likewise.
63633         (__expl): Call __ieee754_expl before checking for overflow and
63634         underflow.
63635         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
63636         (__ieee754_expl): Allow for and saturate large arguments.
63637         * math/libm-test.inc (exp_test): Add another test.  Do not allow
63638         missing overflow exception on overflow.
63639         (expm1_test): Do not allow missing overflow exception on overflow.
63641         * sysdeps/i386/fpu/e_expl.c: Move to ...
63642         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
63643         rather than using inline asm.
63644         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
63645         * sysdeps/x86_64/fpu/e_expl.S: Copy from
63646         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
63648         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
63649         (nice): Likewise.
63650         (poll): Likewise.
63651         (signal): Likewise.
63652         (time): Likewise.
63653         (times): Likewise.
63655 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63657         * sysdeps/unix/syscalls.list (adjtime): Add entry from
63658         sysdeps/unix/common/syscalls.list.
63659         (fchmod): Likewise.
63660         (fchown): Likewise.
63661         (ftruncate): Likewise.
63662         (getrusage): Likewise.
63663         (gettimeofday): Likewise.
63664         (setpgid): Likewise.
63665         (setregid): Likewise.
63666         (setreuid): Likewise.
63667         (sigaction): Likewise.
63668         (truncate): Likewise.
63669         (vhangup): Likewise.
63670         * sysdeps/unix/common/syscalls.list: Remove file.
63671         * sysdeps/unix/bsd/Implies: Don't include unix/common.
63672         * sysdeps/unix/sysv/linux/Implies: Likewise.
63674 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
63676         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
63677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
63678         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
63679         Moved to ...
63680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
63681         Here.
63682         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
63683         to ...
63684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
63685         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
63686         to ...
63687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
63688         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
63689         to ...
63690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
63691         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
63692         to ...
63693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
63694         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
63695         to ...
63696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
63697         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
63698         to ...
63699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
63700         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
63701         to ...
63702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63703         Here.
63704         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
63705         to ...
63706         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
63707         Here.
63708         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
63709         to ...
63710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
63711         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
63712         Moved to ...
63713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
63714         Here.
63715         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
63716         to ...
63717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
63719 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63721         * sysdeps/unix/common/bits/dirent.h: Remove file.
63722         * sysdeps/unix/common/bits/fcntl.h: Likewise.
63724         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
63725         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
63726         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
63727         * sysdeps/unix/bsd/isatty.c: Likewise.
63728         * sysdeps/unix/bsd/tcdrain.c: Likewise.
63729         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
63730         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
63732 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63734         [BZ #13563]
63735         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
63736         long double comparison inaccuracies.
63737         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63740 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
63742         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
63743         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
63745 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63747         [BZ #14049]
63748         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
63749         nonzero digits before rounding a hex value.
63750         * stdlib/tst-strtod.c (tests): Add another test.
63752 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63754         * sysdeps/s390/fpu/libm-test-ulps: Update.
63756 2012-05-03  Andreas Jaeger  <aj@suse.de>
63758         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
63759         does not get optimized out.
63760         (malloc_opt_barrier): New.
63762 2012-05-03  Andreas Jaeger  <aj@suse.de>
63763             Roland McGrath  <roland@hack.frob.com>
63765         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
63766         intermediate file deletion.
63767         (generated): Add .symlist files.
63769 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
63771         [BZ #13775]
63772         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
63773         Redirect under this condition.
63774         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63775         [__USE_GNU] (__dprintf_chk): Not under this condition.
63776         [__USE_GNU] (__vdprintf_chk): Likewise.
63777         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
63778         under this condition.
63779         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63780         [__USE_XOPEN2K8] (dprintf): Define under this condition.
63781         [__USE_XOPEN2K8] (vdprintf): Likewise.
63782         [__USE_GNU] (__dprintf_chk): Not under this condition.
63783         [__USE_GNU] (__vdprintf_chk): Likewise.
63784         [__USE_GNU] (dprintf): Likewise.
63785         [__USE_GNU] (vdprintf): Likewise.
63787 2012-05-03  Roland McGrath  <roland@hack.frob.com>
63789         * elf/Makefile (common-generated): Set this instead of generated for
63790         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
63791         $(all-built-dso)-derived lists.
63793 2012-05-03  Andreas Jaeger  <aj@suse.de>
63795         * sysdeps/i386/fpu/libm-test-ulps: Update.
63797         * FAQ: Removed.
63798         * FAQ.in: Likewise.
63799         * scripts/gen-FAQ.pl: Likewise.
63800         * manual/install.texi (Installation): Point to online location of
63801         FAQ.
63802         * Makefile (files-for-dist): Remove FAQ.
63803         (FAQ): Remove.
63805 2012-05-02  Allan McRae  <allan@archlinux.org>
63807         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
63808         (LDFLAGS-reldepmod5.so): Likewise.
63809         (LDFLAGS-reldep6mod1.so): Likewise.
63810         (LDFLAGS-reldep6mod4.so): Likewise.
63811         (LDFLAGS-reldep8mod3.so): Likewise.
63812         (LDFLAGS-unload4mod1.so): Likewise.
63813         (LDFLAGS-unload4mod2.so): Likewise.
63814         (LDFLAGS-tst-initorder): Likewise.
63815         (LDFLAGS-tst-initordera2.so): Likewise.
63816         (LDFLAGS-tst-initordera3.so): Likewise.
63817         (LDFLAGS-tst-initordera4.so): Likewise.
63818         (LDFLAGS-tst-initorderb2.so): Likewise.
63819         (LDFLAGS-noload): Likewise.
63820         (LDFLAGS-next): Likewise.
63821         (LDFLAGS-order2mod1.so): Likewise.
63822         (LDFLAGS-order2mod2.so): Likewise.
63823         (LDFLAGS-tst-initorder2): Likewise.
63824         (LDFLAGS-tst-initorder2a.so): Likewise.
63825         (LDFLAGS-tst-initorder2b.so): Likewise.
63826         (LDFLAGS-tst-initorder2c.so): Likewise.
63827         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
63829 2012-05-02  David S. Miller  <davem@davemloft.net>
63831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63833 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
63835         [BZ #14055]
63836         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
63838 2012-05-02  Andreas Jaeger  <aj@suse.de>
63840         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
63841         since we manipulate rounding mode.
63842         (CPPFLAGS-test-idouble.c): Likewise.
63843         (CPPFLAGS-test-ifloat.c): Likewise.
63844         (CFLAGS-test-ldouble.c): Likewise.
63845         (CFLAGS-test-double.c): Likewise.
63846         (CFLAGS-test-float.c): Likewise.
63847         (CFLAGS-test-misc.c): Likewise.
63848         (CFLAGS-test-test-fenv.c): Likewise.
63850 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63852         [BZ #2550]
63853         [BZ #2570]
63854         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
63855         comparisons to determine direction to adjust input.
63857 2012-05-01  Roland McGrath  <roland@hack.frob.com>
63859         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
63860         output to the target.
63862         * scripts/localplt.awk: New file.
63863         * elf/Makefile ($(objpfx)check-localplt): Target removed.
63864         (check-localplt-CFLAGS): Variable removed.
63865         ($(all-built-dso:=.jmprel)): New static pattern rule.
63866         (generated): Add those targets.
63867         (localplt-built-dso): New variable.
63868         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
63870         * elf/check-localplt.c: File removed.
63872         * scripts/check-execstack.awk: New file.
63873         * elf/Makefile ($(objpfx)check-execstack): Target removed.
63874         (check-execstack-CFLAGS): Variable removed.
63875         ($(objpfx)check-execstack.h): Target removed.
63876         ($(objpfx)execstack-default): New target.
63877         (generated): Add that instead of check-execstack.h.
63878         ($(all-built-dso:=.phdr)): New static pattern rule.
63879         (generated): Add those targets.
63880         * elf/check-execstack.c: File removed.
63882         * scripts/check-textrel.awk: New file.
63883         * elf/Makefile ($(objpfx)check-textrel): Target removed.
63884         (check-textrel-CFLAGS): Variable removed.
63885         (all-built-dso): Use := to define.o
63886         ($(all-built-dso:=.dyn)): New static pattern rule.
63887         (generated): Add those targets.
63888         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
63889         * config.make.in (READELF): New substituted variable.
63890         * elf/check-textrel.c: File removed.
63892 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63894         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63895         allow.
63896         * conform/data/ctype.h-data [C99-based standards] (isblank):
63897         Expect function.
63898         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
63899         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
63900         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63901         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
63902         Specify type.  Require positive value.
63903         (EILSEQ): Likewise.
63904         (ERANGE): Likewise.
63905         [ISO || POSIX] (EILSEQ): Do not expect.
63906         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
63907         Specify type.  Require positive value.
63908         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
63909         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
63910         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
63911         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
63912         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
63913         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
63914         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
63915         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
63916         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
63917         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
63918         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
63919         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
63920         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
63921         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
63922         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
63923         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
63924         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
63925         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
63926         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
63927         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
63928         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
63929         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
63930         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
63931         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
63932         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
63933         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
63934         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
63935         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
63936         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
63937         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
63938         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
63939         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
63940         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
63941         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
63942         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
63943         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
63944         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
63945         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
63946         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
63947         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
63948         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
63949         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
63950         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
63951         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
63952         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
63953         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
63954         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
63955         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
63956         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
63957         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
63958         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
63959         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
63960         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
63961         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
63962         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
63963         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
63964         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
63965         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
63966         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
63967         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
63968         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
63969         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
63970         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
63971         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
63972         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
63973         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
63974         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
63975         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
63976         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
63977         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
63978         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
63979         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
63980         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
63981         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
63982         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
63983         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
63984         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
63985         Require >= 2.
63986         (FLT_ROUNDS): Expect as macro, not constant.
63987         (FLT_MANT_DIG): Use macro-int-constant.
63988         (DBL_MANT_DIG): Likewise.
63989         (LDBL_MANT_DIG): Likewise.
63990         (FLT_DIG): Likewise.
63991         (DBL_DIG): Likewise.
63992         (LDBL_DIG): Likewise.
63993         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
63994         (DBL_MIN_EXP): Likewise.
63995         (LDBL_MIN_EXP): Likewise.
63996         (FLT_MAX_EXP): Use macro-int-constant.
63997         (DBL_MAX_EXP): Likewise.
63998         (LDBL_MAX_EXP): Likewise.
63999         (FLT_MAX_10_EXP): Likewise.
64000         (DBL_MAX_10_EXP): Likewise.
64001         (LDBL_MAX_10_EXP): Likewise.
64002         (FLT_MAX): Use macro-constant.
64003         (DBL_MAX): Likewise.
64004         (LDBL_MAX): Likewise.
64005         (FLT_EPSILON): Use macro-constant.  Give upper bound.
64006         (DBL_EPSILON): Likewise.
64007         (LDBL_EPSILON): Likewise.
64008         (FLT_MIN): Likewise.
64009         (DBL_MIN): Likewise.
64010         (LDBL_MIN): Likewise.
64011         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
64012         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
64013         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
64014         [ISO11] (FLT_HAS_SUBNORM): Likewise.
64015         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
64016         [ISO11] (DBL_DECIMAL_DIG): Likewise.
64017         [ISO11] (FLT_DECIMAL_DIG): Likewise.
64018         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
64019         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
64020         [ISO11] (FLT_TRUE_MIN): Likewise.
64021         [ISO11] (LDBL_TRUE_MIN): Likewise.
64022         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64023         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
64024         (SCHAR_MIN): Use macro-int-constant.  Specify type.
64025         (SCHAR_MAX): Likewise.
64026         (UCHAR_MAX): Likewise.
64027         (CHAR_MIN): Likewise.
64028         (CHAR_MAX): Likewise.
64029         (MB_LEN_MAX): Use macro-int-constant.
64030         (SHRT_MIN): Use macro-int-constant.  Specify type.
64031         (SHRT_MAX): Likewise.
64032         (USHRT_MAX): Likewise.
64033         (INT_MAX): Likewise.
64034         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
64035         bound negative.
64036         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64037         bound with "U".
64038         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64039         bound with "L".
64040         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
64041         bound negative.  Suffix upper bound with "L".
64042         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
64043         bound with "UL".
64044         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
64045         Specify type.
64046         [C99-based standards] (LLONG_MAX): Likewise.
64047         [C99-based standards] (ULLONG_MAX): Likewise.
64048         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
64049         == 0.
64050         [ISO11] (max_align_t): Require type.
64051         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64053         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
64054         from $CFLAGS, without defining away __attribute__ calls.
64055         (checknamespace): Use $CFLAGS_namespace.
64057         * conform/conformtest.pl (@keywords): Only include C99 keywords
64058         for standards based on C99 or C11.
64060         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
64061         Disable tests.
64062         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
64063         UNIX98]: Likewise.
64065         * conform/conformtest.pl: Handle "macro-int-constant" and test for
64066         usability of symbols in #if.
64068         * conform/conformtest.pl: If macro or constant types start
64069         "promoted:", expect the symbol to be of the following type
64070         promoted by the integer promotions.
64072         * conform/conformtest.pl: Parse all "constant" and "macro" lines
64073         in one place.  Also handle "macro-constant".
64075         * conform/conformtest.pl: Only accept expected macro values with
64076         "==".  Parse all "macro" lines in one place.
64077         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
64079         * conform/conformtest.pl: Handle braced types on "constant" lines
64080         instead of handling "typed-constant".
64081         * conform/data/signal.h-data: Use "constant" instead of
64082         "typed-constant".
64084         * conform/conformtest.pl: Handle "optional-" at start of lines in
64085         one place rather than duplicating several cases.  Handle each
64086         format of "macro" line with initial "optional-".
64088         * conform/conformtest.pl: Only accept expected constant or
64089         optional-constant values with "==".  Parse all "constant" lines in
64090         one place.  Parse all "optional-constant" lines in one place.
64091         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
64092         * conform/data/fmtmsg.h-data: Likewise.
64093         * conform/data/netinet/in.h-data: Likewise.
64094         * conform/data/tar.h-data: Likewise.
64095         * conform/data/limits.h-data: Use "==" form on "constant" and
64096         "optional-constant" lines.
64098         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
64099         Use -std=c99 for XOPEN2K.
64100         (@knownproblems): Remove.
64101         (newtoken): Don't check %isknown.
64103         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
64104         Do not expect macro.
64105         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
64106         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
64107         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
64108         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
64109         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
64110         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
64111         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
64112         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
64113         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
64114         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
64115         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
64116         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
64117         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
64118         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
64119         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
64120         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
64121         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
64122         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
64123         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
64124         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
64125         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
64126         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
64127         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
64128         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
64129         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
64130         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
64131         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
64132         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
64133         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
64134         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
64135         [XPG3] (acosh): Likewise.
64136         [XPG3] (asinh): Likewise.
64137         [XPG3] (atanh): Likewise.
64138         [XPG3] (cbrt): Likewise.
64139         [XPG3] (expm1): Likewise.
64140         [XPG3] (ilogb): Likewise.
64141         [XPG3] (log1p): Likewise.
64142         [XPG3] (logb): Likewise.
64143         [XPG3] (nextafter): Likewise.
64144         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
64145         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
64146         [XPG3] (remainder): Likewise.
64147         [XPG3] (rint): Likewise.
64148         [XPG3 || XPG4 || UNIX98] (round): Likewise.
64149         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
64150         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
64151         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
64152         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
64153         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
64154         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
64155         [UNIX98 || XOPEN2K] (scalb): Expect.
64156         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
64157         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
64158         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
64159         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
64160         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
64161         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
64162         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
64163         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
64164         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
64165         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
64166         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
64167         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
64168         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
64169         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
64170         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
64171         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
64172         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
64173         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
64174         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
64175         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
64176         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
64177         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
64178         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
64179         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
64180         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
64181         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
64182         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
64183         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
64184         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
64185         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
64186         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
64187         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
64188         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
64189         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
64190         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
64191         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
64192         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
64193         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
64194         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
64195         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
64196         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
64197         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
64198         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
64199         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
64200         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
64201         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
64202         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
64203         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
64204         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
64205         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
64206         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
64207         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
64208         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
64209         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
64210         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
64211         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
64212         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
64213         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
64214         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
64215         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
64216         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
64217         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
64218         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
64219         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
64220         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
64221         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
64222         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
64223         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
64224         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
64225         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
64226         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
64227         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
64228         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
64229         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
64230         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
64231         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
64232         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
64233         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
64234         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
64235         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
64236         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
64237         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
64238         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
64239         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
64240         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
64241         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
64242         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
64243         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
64244         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
64245         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
64246         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
64247         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
64248         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
64249         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
64250         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
64251         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
64252         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
64253         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
64254         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
64255         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
64256         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
64257         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
64258         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
64259         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
64260         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
64261         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
64262         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
64263         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
64264         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
64265         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
64266         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
64267         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
64268         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
64269         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
64270         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
64271         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
64272         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
64273         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
64274         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
64275         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
64276         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
64277         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
64278         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
64279         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
64280         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
64281         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
64282         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
64283         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
64284         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
64285         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
64286         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
64287         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
64288         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
64289         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
64290         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
64291         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
64292         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
64294         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
64295         _XOPEN_SOURCE_EXTENDED for XPG4.
64297         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
64299         * Makeconfig (localtime): Remove variable.
64300         (inst_localtime-file): Likewise.
64302 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
64305         Update.
64306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64307         Update.
64308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
64309         Update.
64310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64311         Update.
64312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
64313         Update.
64314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
64315         Update.
64316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64317         Update.
64318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
64319         Update.
64320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64321         Update.
64323 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64325         [BZ #2550]
64326         [BZ #2570]
64327         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
64328         comparisons to determine direction to adjust input.
64329         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
64330         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
64331         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
64332         Likewise.
64333         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
64334         Likewise.
64335         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
64336         Likewise.
64337         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
64338         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
64339         Likewise.
64340         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
64341         Likewise.
64342         * math/libm-test.inc (nexttoward_test): Add more tests.
64344 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64346         [BZ #14040]
64347         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
64348         in version GLIBC_2.1, not GLIBC_2.0.
64349         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
64350         Likewise.
64352 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
64354         [BZ #13942]
64355         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
64356         (1 - x) * (1 + x).
64357         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64358         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
64359         * math/libm-test.inc (acos_test): Add more tests.
64360         (asin_test): Likewise.
64361         * sysdeps/i386/fpu/libm-test-ulps: Update.
64362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64364         [BZ #14034]
64365         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
64366         of square root.
64367         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
64368         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64369         * math/libm-test.inc (acos_test_tonearest): New function.
64370         (acos_test_towardzero): Likewise.
64371         (acos_test_downward): Likewise.
64372         (acos_test_upward): Likewise.
64373         (asin_test_tonearest): Likewise.
64374         (asin_test_towardzero): Likewise.
64375         (asin_test_downward): Likewise.
64376         (asin_test_upward): Likewise.
64377         (main): Call the new functions.
64378         * sysdeps/i386/fpu/libm-test-ulps: Update.
64379         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64381         [BZ #13884]
64382         [BZ #13924]
64383         * math/e_exp10.c: Include <float.h>.
64384         (__ieee754_exp10): Handle underflow here rather than multiplying
64385         large negative argument by M_LN10.
64386         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
64387         of __ieee754_expf.
64388         * math/e_exp10l.c: Include <float.h>.
64389         (__ieee754_exp10l): Handle underflow here rather than multiplying
64390         large negative argument by M_LN10l.
64391         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
64392         spurious overflow exception on underflow.
64394 2012-04-29  Marek Polacek  <polacek@redhat.com>
64396         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
64397         (__fortify_function): New macro.
64398         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
64399         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
64400         __extern_always_inline.
64401         * libio/bits/stdio2.h: Likewise.
64402         * libio/bits/stdio.h: Likewise.
64403         * string/string.h: Likewise.
64404         * string/bits/string3.h: Likewise.
64405         * include/stdio.h: Likewise.
64406         * stdlib/bits/stdlib.h: Likewise.
64407         * stdlib/stdlib.h: Likewise.
64408         * rt/bits/mqueue2.h: Likewise.
64409         * rt/mqueue.h: Likewise.
64410         * posix/bits/unistd.h: Likewise.
64411         * posix/unistd.h: Likewise.
64412         * io/bits/poll2.h: Likewise.
64413         * io/bits/fcntl2.h: Likewise.
64414         * io/fcntl.h: Likewise.
64415         * io/sys/poll.h: Likewise.
64416         * misc/bits/syslog.h: Likewise.
64417         * misc/bits/syslog-ldbl.h: Likewise.
64418         * misc/sys/syslog.h: Likewise.
64419         * socket/bits/socket2.h: Likewise.
64420         * socket/sys/socket.h: Likewise.
64421         * debug/tst-chk1.c: Likewise.
64422         * wcsmbs/bits/wchar2.h: Likewise.
64423         * wcsmbs/bits/wchar-ldbl.h: Likewise.
64424         * wcsmbs/wchar.h: Likewise.
64426 2012-04-29  Andreas Jaeger  <aj@suse.de>
64428         * Makerules (tests): Remove enable-check-abi protection.
64429         (check-abi-warn): Remove.
64430         (check-abi-%): Remove check-abi-warn usage.
64432         * configure.in: Remove check-abi configure option.
64433         * configure: Regenerated.
64434         * config.make.in (enable-check-abi): Remove.
64436 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
64438         [BZ #14033]
64439         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
64440         double functions to double *_finite functions.
64442         [BZ #13941]
64443         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
64444         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
64445         LDBL_MIN_EXP.
64446         * stdio-common/Makefile (tests): Add tst-sprintf3.
64447         * stdio-common/tst-sprintf3.c: New file.
64449         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
64450         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
64452 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64454         * conform/conformtest.pl: Remove duplicate typed-constant
64455         handling.
64457 2012-04-28  David S. Miller  <davem@davemloft.net>
64459         * Makerules (%.abilist): Add vpath on sysdep_dirs.
64460         (check-abi-%): Remove AWK script prerequisite and explicit
64461         abilist directory.
64462         (check-abi): Rewrite to just diff the symlist with the abilist.
64463         (config-tls, config-abi-config): Delete, no longer used.
64464         (update-abi-%): Remove AWK script and explicit abilist directory.
64465         (update-abi): Rewrite to simply compare and conditionally copy the
64466         symlist and the sysdep abilist file.  Remove update-abi-config
64467         checks.
64468         * abilist/ld.abilist: Remove.
64469         * abilist/libBrokenLocale.abilist: Remove.
64470         * abilist/libanl.abilist: Remove.
64471         * abilist/libcrypt.abilist: Remove.
64472         * abilist/libdl.abilist: Remove.
64473         * abilist/librt.abilist: Remove.
64474         * abilist/libthread_db.abilist: Remove.
64475         * abilist/libutil.abilist: Remove.
64476         * scripts/extract-abilist.awk: Remove.
64477         * scripts/merge-abilist.awk: Remove.
64478         * sysdeps/generic/libcidn.abilist: New file.
64479         * sysdeps/generic/libnss_compat.abilist: New file.
64480         * sysdeps/generic/libnss_db.abilist: New file.
64481         * sysdeps/generic/libnss_dns.abilist: New file.
64482         * sysdeps/generic/libnss_files.abilist: New file.
64483         * sysdeps/generic/libnss_hesiod.abilist: New file.
64484         * sysdeps/generic/libnss_nis.abilist: New file.
64485         * sysdeps/generic/libnss_nisplus.abilist: New file.
64486         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
64487         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
64488         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
64489         file.
64490         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
64491         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
64492         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
64493         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
64494         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
64495         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
64496         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
64497         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
64498         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
64499         file.
64500         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
64501         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
64502         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
64503         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
64504         file.
64505         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
64506         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
64507         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
64508         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
64509         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
64510         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
64511         file.
64512         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
64513         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
64514         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
64515         file.
64516         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
64517         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
64518         New file.
64519         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
64520         New file.
64521         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
64522         New file.
64523         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
64524         New file.
64525         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
64526         New file.
64527         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
64528         New file.
64529         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
64530         New file.
64531         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
64532         New file.
64533         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
64534         New file.
64535         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
64536         New file.
64537         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
64538         New file.
64539         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
64540         New file.
64541         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
64542         New file.
64543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
64544         file.
64545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
64546         New file.
64547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
64548         New file.
64549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
64550         file.
64551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
64552         New file.
64553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
64554         New file.
64555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
64556         file.
64557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
64558         New file.
64559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64560         New file.
64561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
64562         New file.
64563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
64564         New file.
64565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
64566         New file.
64567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
64568         New file.
64569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
64570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
64571         file.
64572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
64573         New file.
64574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
64575         file.
64576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
64577         file.
64578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
64579         file.
64580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
64581         file.
64582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
64583         file.
64584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64585         New file.
64586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
64587         file.
64588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
64589         file.
64590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
64591         New file.
64592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
64593         file.
64594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
64595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
64596         file.
64597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
64598         New file.
64599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
64600         file.
64601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
64602         file.
64603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
64604         file.
64605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
64606         file.
64607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
64608         file.
64609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64610         New file.
64611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
64612         file.
64613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
64614         file.
64615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
64616         New file.
64617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
64618         file.
64619         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64620         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
64621         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
64622         file.
64623         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
64624         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
64625         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
64626         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
64627         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
64628         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
64629         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
64630         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
64631         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
64632         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
64633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
64634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
64635         file.
64636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
64637         New file.
64638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
64639         file.
64640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
64641         file.
64642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
64643         file.
64644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
64645         file.
64646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
64647         file.
64648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64649         New file.
64650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
64651         New file.
64652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
64653         file.
64654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
64655         New file.
64656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
64657         file.
64658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
64659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
64660         file.
64661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
64662         New file.
64663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
64664         file.
64665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
64666         file.
64667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
64668         file.
64669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
64670         file.
64671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
64672         file.
64673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64674         New file.
64675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
64676         New file.
64677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
64678         file.
64679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
64680         New file.
64681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
64682         file.
64684 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64686         * conform/conformtest.pl: Fix typo in handling typed-constant from
64687         allow-header.
64689 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64691         * README: Cut down references to pre-2.6 Linux kernels and
64692         Linuxthreads.  Update lists of configurations in libc and ports
64693         and sort alphabetically.  Say "or newer" with Linux kernel version
64694         requirements.
64696         * config.h.in [IS_IN_build]: Allow compiling without optimization.
64698 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64700         [BZ #887]
64701         * math/libm-test.inc (logb_test_downward): New test to expose
64702         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
64703         rounding mode.
64705 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64707         [BZ #14027]
64708         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
64709         to be done.
64710         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
64711         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
64713 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
64715         * sysdeps/unix/i386/brk.S: Remove file.
64716         * sysdeps/unix/i386/dl-brk.S: Likewise.
64717         * sysdeps/unix/i386/pipe.S: Likewise.
64718         * sysdeps/unix/i386/sigreturn.S: Likewise.
64719         * sysdeps/unix/i386/syscall.S: Likewise.
64720         * sysdeps/unix/i386/vfork.S: Likewise.
64721         * sysdeps/unix/i386/wait.S: Likewise.
64723         * sysdeps/unix/common/tcsendbrk.c: Move to ...
64724         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
64726         * configure.in (arm*-none*): Do not allow without
64727         --enable-hacker-mode.
64728         (netbsd*): Remove case setting base_os.
64729         (386bsd*): Likewise.
64730         (freebsd*): Likewise.
64731         (bsdi*): Likewise.
64732         (osf*): Likewise.
64733         (sunos*): Likewise.
64734         (ultrix*): Likewise.
64735         (newsos*): Likewise.
64736         (dynix*): Likewise.
64737         (*bsd*): Likewise.
64738         (sysv*): Likewise.
64739         (isc*): Likewise.
64740         (esix*): Likewise.
64741         (sco*): Likewise.
64742         (minix*): Likewise.
64743         (irix4*): Likewise.
64744         (irix6*): Likewise.
64745         (solaris[2-9]*): Likewise.
64746         (none): Likewise.
64747         * configure: Regenerated.
64749 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64751         [BZ #11521]
64752         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
64753         overflow or cancellation in calculating denominator.
64754         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
64755         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
64756         down expression to avoid unexpected rounding in newer GCCs.
64757         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
64759 2012-04-26  David S. Miller  <davem@davemloft.net>
64761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
64762         long-double compat symbols.
64763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
64767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
64769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
64770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
64771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
64772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
64773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
64774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
64775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64777 2012-04-25  David S. Miller  <davem@davemloft.net>
64779         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
64780         HWCAP_* values only after the memory barriers have been defined.
64781         (atomic_full_barrier): Define.
64782         (atomic_read_barrier): Define.
64783         (atomic_write_barrier): Define.
64785 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64787         * shlib-versions: Add libgcc_s version information.
64788         * sysdeps/generic/libgcc_s.h: Remove.
64789         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
64790         libgcc_s.h.
64791         * sysdeps/gnu/unwind-resume.c: Likewise.
64792         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
64794 2012-04-25  David S. Miller  <davem@davemloft.net>
64796         * sysdeps/unix/sparc/brk.S: Delete.
64797         * sysdeps/unix/sparc/dl-brk.S: Delete.
64798         * sysdeps/unix/sparc/pipe.S: Delete.
64799         * sysdeps/unix/sparc/sysdep.S: Delete.
64800         * sysdeps/unix/sparc/sysdep.h: Delete.
64801         * sysdeps/unix/sparc/vfork.S: Delete.
64802         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
64803         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
64804         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
64805         (ret_ERRVAL, r0, r1, MOVE): Define.
64806         (JUMPTARGET): Remove.
64807         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
64808         sysdeps/unix/sparc/sysdep.h
64809         (ENTRY, END): Remove.
64810         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64812 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
64814         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
64815         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
64816         -DIS_IN_build.
64818         * timezone/README: Update upstream location and email address for
64819         tzcode and tzdata.
64820         * timezone/zdump.c: Update from tzcode 2012b.
64821         * timezone/zic.c: Likewise.
64823         * configure.in (libc_cv_as_needed): Remove test.
64824         * configure: Regenerated.
64825         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
64826         conditional definition.
64827         [$(have-as-needed) != yes] (no-as-needed): Likewise.
64828         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
64829         * config.make.in (have-as-needed): Remove variable.
64831 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64832             Paul Pluzhnikov  <ppluzhnikov@google.com>
64834         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
64835         strings correctly.
64837 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
64839         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
64840         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
64841         * sysdeps/sh/strlen.S: Likewise.
64843 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64845         * sysdeps/unix/fork.S: Remove file.
64846         * sysdeps/unix/i386/fork.S: Likewise.
64847         * sysdeps/unix/sparc/fork.S: Likewise.
64849         * sysdeps/unix/system.c: Remove file.
64850         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
64852         * sysdeps/unix/getegid.S: Remove file.
64853         * sysdeps/unix/geteuid.S: Likewise.
64855 2012-04-24  Roland McGrath  <roland@hack.frob.com>
64857         * scripts/check-localplt.awk: New file.
64858         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
64859         of diff.
64860         * scripts/data/localplt-generic.data: Add a comment.
64862         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
64863         NODE when __dir_mkfile failed.
64864         * sysdeps/mach/hurd/symlinkat.c: Likewise.
64865         Reported by Ludovic Courtès <ludo@gnu.org>.
64867 2012-04-24  Andreas Jaeger  <aj@suse.de>
64869         * Makerules (common-clean): Also remove gen-as-const-headers
64870         files.
64872 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64874         * Makerules (native-compile): Do not change working directory for
64875         build.  Use $(OUTPUT_OPTION) in command.
64876         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
64878 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64880         [BZ #13886]
64881         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
64882         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
64883         * math/libm-test.inc (floor_test): Add more tests.
64884         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
64886 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64888         * sysdeps/unix/getdents.c: Remove file.
64889         * sysdeps/unix/sysv/getdents.c: Likewise.
64890         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
64892         * sysdeps/unix/syscalls.list (madvise): Add syscall from
64893         sysdeps/unix/mman/syscalls.list.
64894         (mmap): Likewise.
64895         (mprotect): Likewise.
64896         (msync): Likewise.
64897         (munmap): Likewise.
64898         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
64899         * sysdeps/unix/mman/syscalls.list: Remove.
64900         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
64902         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
64903         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
64904         * configure: Regenerated.
64905         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
64906         $(libgcc_s_suffix).
64907         * config.make.in (libgcc_s_suffix): Remove variable.
64909 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
64911         * sysdeps/unix/sysv/gethostname.c: Move to ...
64912         * sysdeps/posix/gethostname.c: ... here.
64914         * sysdeps/unix/execve.S: Remove file.
64916         * sysdeps/unix/_exit.S: Remove file.
64918 2012-04-23  Andreas Jaeger  <aj@suse.de>
64920         [BZ #13739]
64921         * manual/Makefile: Remove make dist support, there's no
64922         need for a stand-alone documentation tar ball.
64923         (TEXI2DVI): Define always, it's not in Makeconfig.
64924         (dist): Removed.
64925         (tar-it): Removed.
64926         (edition): Removed.
64927         (glibc-doc-$(edition).tar): Removed
64928         (%.Z): Removed.
64929         (%.gz): Removed.
64930         (%.uu): Removed.
64931         (ETAGS): Remove, it's in Makeconfig.
64932         (move-if-change): Remove, it's in Makeconfig.
64934 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
64936         [BZ #13970]
64937         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
64938         (strtod, strtof, strtold, strtol, strtoul, strtoq)
64939         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
64940         (strtod_l, strtof_l, strtold_l): Remove __wur.
64941         It is not necessarily an error to ignore strtol's return value.
64942         One can reliably look at the stored endptr to decide whether
64943         the number had valid syntax.
64945 2012-04-21  Andreas Jaeger  <aj@suse.de>
64947         [BZ #13739]
64948         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
64950 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
64952         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
64953         * sysdeps/unix/sysv/Versions: Remove file.
64955 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
64957         [BZ #13927]
64958         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64960 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
64962         [BZ #7064]
64963         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
64964         version from __vm86.
64966 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
64968         * sysdeps/unix/common/lxstat.c: Remove file.
64969         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
64971         * sysdeps/unix/sysv/Makefile: Remove file.
64973         * sysdeps/unix/sysv/direct.h: Remove file.
64975         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
64976         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
64977         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
64978         * sysdeps/unix/sysv/bits/signum.h: Likewise.
64979         * sysdeps/unix/sysv/bits/stat.h: Likewise.
64980         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
64981         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
64983         * sysdeps/unix/sysv/setrlimit.c: Remove file.
64985         * sysdeps/unix/xmknod.c: Remove file.
64986         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
64988         * sysdeps/unix/sysv/settimeofday.c: Remove file.
64990         * sysdeps/unix/sysv/i386/time.S: Remove file.
64992         * sysdeps/unix/fxstat.c: Remove file.
64993         * sysdeps/unix/xstat.c: Likewise.
64994         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
64996         * sysdeps/unix/sysv/sigaction.c: Remove file.
64998         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
64999         (sysdep_headers): Remove variable.
65000         [termio.h not in sysdep_headers] (generated): Likewise.
65001         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
65002         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
65003         * sysdeps/unix/sysv/tcdrain.c: Likewise.
65004         * sysdeps/unix/sysv/tcflow.c: Likewise.
65005         * sysdeps/unix/sysv/tcflush.c: Likewise.
65006         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
65007         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
65008         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
65009         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
65010         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
65012         * sysdeps/unix/siglist.c: Remove file.
65014         * sysdeps/unix/getppid.S: Remove file.
65016         * sysdeps/unix/mkdir.c: Remove file.
65017         * sysdeps/unix/rmdir.c: Likewise.
65019 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
65021         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
65022         ERR_MAX value.
65023         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
65024         errlist-compat value.
65026 2012-04-18  David S. Miller  <davem@davemloft.net>
65028         * sysdeps/generic/memcopy.h (reg_char): Delete.
65029         * debug/strcat_chk.c: Use char, not reg_char.
65030         * debug/strcpy_chk.c: Likewise.
65031         * debug/strncat_chk.c: Likewise.
65032         * debug/strncpy_chk.c: Likewise.
65033         * string/memchr.c: Likewise.
65034         * string/memrchr.c: Likewise.
65035         * string/rawmemchr.c: Likewise.
65036         * string/strcat.c: Likewise.
65037         * string/strchr.c: Likewise.
65038         * string/strchrnul.c: Likewise.
65039         * string/strcmp.c: Likewise.
65040         * string/strcpy.c: Likewise.
65041         * string/strncat.c: Likewise.
65042         * string/strncmp.c: Likewise.
65043         * string/strncpy.c: Likewise.
65045 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65047         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
65048         __builtin_memcopy is called when src and dest ranges are known to not
65049         overlap.
65051 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65053         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
65054         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
65055         fwd_align_merge macro call.
65056         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
65057         bwd_align_merge macro call.
65058         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65060 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
65062         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
65063         bwd_align_merge macros.
65064         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
65065         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
65066         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65068 2012-04-18  David S. Miller  <davem@davemloft.net>
65070         * sysdeps/sparc/sparc64/memcopy.h: Delete.
65072 2012-04-18  Andreas Jaeger  <aj@suse.de>
65074         [BZ# 6794]
65075         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
65076         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
65077         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65079         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
65080         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
65081         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65083         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
65084         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
65085         Adjust for changed ldbl-128 files.
65087         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
65088         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
65089         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65091 2012-04-17  David S. Miller  <davem@davemloft.net>
65093         * sysdeps/sparc/sparc32/memcopy.h: Delete.
65095 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
65097         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
65098         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
65099         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
65100         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
65101         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
65102         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
65104 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65106         [BZ #6794]
65107         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
65108         * math/libm-test.inc: Add ilogb errno and exception tests.
65109         * math/w_ilogb.c: New file: ilogb wrapper.
65110         * math/w_ilogbf.c: New file: ilogbf wrapper.
65111         * math/w_ilogbl.c: New file: ilogbl wrapper.
65112         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
65113         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
65114         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
65115         exception being thrown with 0.0 as argument.
65116         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
65117         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
65118         exception being thrown with 0.0 as argument.
65119         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
65120         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65121         exception being thrown with 0.0 as argument.
65122         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
65123         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65124         exception being thrown with 0.0 as argument.
65125         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
65126         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
65127         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
65128         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
65129         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
65130         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
65131         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
65132         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
65133         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
65135 2012-04-17  Petr Baudis  <pasky@ucw.cz>
65137         * include/sys/uio.h: Change __vector to __iovec to avoid clash
65138         with altivec.
65140 2012-04-16  Marek Polacek  <polacek@redhat.com>
65142         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
65144 2012-04-16  Marek Polacek  <polacek@redhat.com>
65146         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
65147         operands of fdivp instruction.
65149 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65151         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
65152         * elf/tst-auditmod3b.c: Likewise.
65153         * elf/tst-auditmod4b.c: Likewise.
65154         * elf/tst-auditmod5b.c: Likewise.
65155         * elf/tst-auditmod6b.c: Likewise.
65156         * elf/tst-auditmod6c.c: Likewise.
65157         * elf/tst-auditmod7b.c: Likewise.
65158         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
65159         * sysdeps/x86_64/preconfigure.in: Likewise.
65160         * sysdeps/x86_64/preconfigure: Regenerated.
65162 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
65164         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
65165         __ILP32__.
65167 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
65169         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65170         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
65172 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
65174         [BZ #13973]
65175         * locale/iso-639.def: Fix gl language name. Spotted by
65176         Yaron Shahrabani.
65178 2012-04-12  Roland McGrath  <roland@hack.frob.com>
65180         [BZ #2074]
65181         * libio/libio.h (__io_write_fn): Update comment.
65183 2012-04-12  Petr Baudis  <pasky@ucw.cz>
65185         [BZ #2074]
65186         * stdio.texi (Hook Functions): The user provided writer function
65187         is not allowed to return -1.
65189 2012-04-11  David S. Miller  <davem@davemloft.net>
65191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65193 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
65195         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
65196         Add a leading slash to rtkaio.
65198 2012-04-11  Jim Meyering  <meyering@redhat.com>
65200         [BZ #11959]
65201         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
65202         It is not necessarily an error to ignore fwrite's return
65203         value.  One can reliably use ferror to test for errors after
65204         the fact.
65206 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65208         * bits/types.h (__snseconds_t): New type.
65209         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
65211         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
65212         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65213         (__SNSECONDS_T_TYPE): Likewise.
65214         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65215         (__SNSECONDS_T_TYPE): Likewise.
65216         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65217         (__SNSECONDS_T_TYPE): Likewise.
65219 2012-04-10  Andreas Jaeger  <aj@suse.de>
65221         [BZ #2636]
65222         * manual/time.texi (Processor Time): Return type of times is
65223         elapsed real time since an arbitrary point in the past.
65224         (CPU Time): Move CLK_TCK from here...
65225         (Processor Time): ...to here.  Correct description.
65226         * manual/conf.texi (Constants for Sysconf): Correct description of
65227         _SC_CLK_TCK.
65229 2012-04-10  David S. Miller  <davem@davemloft.net>
65231         [BZ #13967]
65232         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
65233         where the is a gap between DT_REL(A) and DT_JMPREL.
65235 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65237         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
65238         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65239         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65241 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65243         * elf/dl-support.c (_dl_inhibit_cache): New variable.
65244         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
65245         (dl_main): Handle --inhibit-cache.
65246         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
65247         _dl_inhibit_cache.
65248         * elf/dl-load.c (_dl_map_object): Use it.
65249         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
65251 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65253         [BZ #13872]
65254         * sysdeps/i386/fpu/e_powl.S (p78): New object.
65255         (__ieee754_powl): Saturate large exponents rather than testing for
65256         overflow of y*log2(x).
65257         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65258         * math/libm-test.inc (pow_test): Do not permit spurious overflow
65259         exceptions.
65261         [BZ #11521]
65262         * math/s_ctan.c: Include <float.h>.
65263         (__ctan): Avoid internal overflow or cancellation in calculating
65264         denominator.
65265         * math/s_ctanf.c: Likewise.
65266         * math/s_ctanl.c: Likewise.
65267         * math/s_ctanh.c: Likewise.
65268         * math/s_ctanhf.c: Likewise.
65269         * math/s_ctanhl.c: Likewise.
65270         * math/libm-test.inc (ctan_test): Add more tests.
65271         (ctanh_test): Likewise.
65272         * sysdeps/i386/fpu/libm-test-ulps: Update.
65273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65275 2012-04-09  Andreas Jaeger  <aj@suse.de>
65277         [BZ #6894]
65278         * manual/filesys.texi (Directory Entries): Mention that d_namlen
65279         is an optional BSD extension.
65281         [BZ #10254]
65282         * manual/stdio.texi (Opening Streams): Document additional fopen
65283         parameters.
65285 2012-04-09  Roland McGrath  <roland@hack.frob.com>
65287         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
65288         %eax without telling the compiler.
65290 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
65292         [BZ # 13963]
65293         * manual/install.texi: Use sourceware.org.
65295 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65297         [BZ #13873]
65298         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
65299         (__ieee754_pow): Generate overflow and underflow using huge*huge
65300         and tiny*tiny rather than just returning constant infinity or zero
65301         for large exponents.
65302         * math/libm-test.inc (pow_test): Require overflow exceptions for
65303         applicable cases of large exponents.
65305         [BZ #706]
65306         * sysdeps/i386/fpu/e_pow.S (p10): New object.
65307         (__ieee754_pow): Use iterative multiplication algorithm only for
65308         integer exponents with absolute value below 1024.  Check for odd
65309         integer exponents when using algorithm for real exponents.
65310         * math/libm-test.inc (pow_test): Add more tests.
65311         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65313 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
65315         [BZ #13705]
65316         * math/libm-test.inc (exp_test): Do not allow overflow exception
65317         on underflow test.
65319 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
65321         [BZ #13705]
65322         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
65323         instead of __kernel_standard_f.
65325 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
65327         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
65328         * sysdeps/x86_64/memset_chk.S: Likewise.
65330 2012-04-08  Andreas Jaeger  <aj@suse.de>
65332         [BZ #10153]
65333         * manual/startup.texi (Environment Access): Describe return value
65334         for putenv and setenv.
65336         [BZ #6895]
65337         * manual/filesys.texi (Directory Entries): Add description for
65338         DT_LNK.
65340         [BZ #6890]
65341         * manual/filesys.texi (Directory Entries): Clarify that it's file
65342         system not operating system in the description of DT_UNKNOWN.
65344         [BZ #6578]
65345         * manual/syslog.texi (closelog): Fix reference, it's openlog.
65347 2012-04-08  Stephen Compall  <s11@member.fsf.org>
65349         [BZ #6649]
65350         * manual/llio.texi (Opening and Closing Files): Add cross
65351         reference to explain mode argument.
65353 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
65355         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
65356         * sysdeps/x86_64/memset_chk.S: Likewise.
65358 2012-04-07  David S. Miller  <davem@davemloft.net>
65360         * elf/elf.h (R_SPARC_WDISP10): Define.
65361         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
65362         R_SPARC_SIZE32.
65363         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
65364         R_SPARC_SIZE64 and R_SPARC_H34.
65366 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
65368         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
65369         conditions and remove no longer applicable assertion.
65371 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65373         * bits/byteswap.h: Include <features.h>.
65374         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65375         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65377 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65379         * bits/byteswap.h (__bswap_16): Removed.
65380         Include <bits/byteswap-16.h> to get __bswap_16.
65381         * sysdeps/i386/bits/byteswap.h: Likewise.
65382         * sysdeps/s390/bits/byteswap.h: Likewise.
65383         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65384         * bits/byteswap-16.h: New file.
65385         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65386         * sysdeps/s390/bits/byteswap-16.h: Likewise.
65387         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
65388         * string/Makefile (headers): Add bits/byteswap-16.h.
65390 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
65392         [BZ #13895]
65393         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
65394         extra indirection.
65395         * nss/Makefile (tests-static, tests): Add tst-nss-static.
65396         * nss/tst-nss-static.c: New.
65398 2012-04-06  Robert Millan  <rmh@gnu.org>
65400         [BZ #6486]
65401         * manual/llio.texi (File Position Primitive): lseek
65402         refers to WHENCE when it really means OFFSET.
65404 2012-04-06  Andreas Jaeger  <aj@suse.de>
65406         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
65407         strncmp declarations.
65409         * abilist/libc.abilist: Add __poll and __ppoll.
65411 2012-04-05  David S. Miller  <davem@davemloft.net>
65413         * scripts/check-local-headers.sh: Accept a host triplet in the
65414         path matched by the exclude regexp.
65416         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
65417         definition.
65418         * sysdeps/powerpc/powerpc32/dl-machine.h
65419         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
65420         * sysdeps/s390/s390-32/dl-machine.h
65421         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65422         * sysdeps/sparc/sparc32/dl-machine.h
65423         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65424         * sysdeps/sparc/sparc64/dl-machine.h
65425         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65427         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
65428         lazy binding.
65429         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
65430         undefined symbol errors.
65432         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
65433         DT_NEEDED entries.
65435 2012-04-05  Michael Matz  <matz@suse.de>
65437         [BZ #13592]
65438         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
65440 2012-04-05  Andreas Jaeger  <aj@suse.de>
65442         [BZ #13908]
65443         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
65444         comment.
65446 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65448         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
65449         which ROUND is no valid rounding mode.
65451 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65453         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
65454         read again.
65455         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
65457 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65459         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
65460         an exception using FPU order intentionally.
65462 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65464         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
65465         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
65466         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
65467         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
65469 2012-04-05  Simon Josefsson  <simon@josefsson.org>
65471         [BZ #12340]
65472         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
65473         EINVAL when BUFLEN is too smal.
65475 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65477         [BZ #13553]
65478         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
65479         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
65481 2012-04-03  Andreas Jaeger  <aj@suse.de>
65483         [BZ #13938]
65484         * manual/setjmp.texi (System V contexts): Fix sentence.
65486         [BZ #13926]
65487         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
65488         New macro for this case.
65489         [!__GNUC__] (__bswap_64): New inline function for this case.
65490         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65491         * bits/byteswap.h: Likewise.
65492         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
65493         ull, guard with __GLIBC_HAVE_LONG_LONG.
65495         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
65496         __GLIBC_HAVE_LONG_LONG.
65498         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
65499         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
65501 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65503         [BZ #13691]
65504         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
65505         inptr and inend, rather than using last_ch.
65507 2012-04-02  David S. Miller  <davem@davemloft.net>
65509         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
65510         * stdio-common/printf-parse.h (read_int): Change return type to
65511         'int', return -1 on INT_MAX overflow.
65512         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
65513         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
65514         overflows INT_MAX.  Check for overflow of in-format-string precision
65515         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
65516         SIZE_MAX not INT_MAX for integer overflow test.
65517         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
65518         skip the construct in the format string but do not record anything.
65519         * stdio-common/bug22.c: Adjust to test both width/prevision
65520         INT_MAX overflow as well as total length INT_MAX overflow.  Check
65521         explicitly for proper errno values.
65523 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65525         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
65526         CHAR_MAX.
65527         * string/test-strcmp.c [! WIDE]: Likewise.
65528         * time/tst-mktime2.c: Likewise for INT_MAX.
65529         * string/test-string.h: #include <sys/param.h> for MIN.
65531         * csu/init-first.c (__libc_init_first): Call __ctype_init.
65532         * sysdeps/i386/init-first.c (init): Likewise.
65533         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
65534         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
65535         * sysdeps/sh/init-first.c (init): Likewise.
65537 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
65539         * po/ru.po: Update from translation team.
65540         * po/vi.po: Likewise.
65542 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65544         * resolv/nss_dns/dns-host.c: Merge copyright years.
65546 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65548         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65549         Optimize memcpy with prefetch if
65550         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
65551         src, dst pointers have unequal 16 byte alignments.
65553 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65555         [BZ #13928]
65556         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
65557         from a CNAME entry and return the minimum ttl for the query.
65558         (gaih_getanswer_slice): Likewise.
65560 2012-03-30  Jeff Law  <law@redhat.com>
65562         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
65563         due to long keys.
65564         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
65565         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
65567         * resolv/nss_dns/dns-host.c: Update copyright year.
65569 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
65571         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
65572         requests to save a system call.  Fix check that all bytes are sent.
65574         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
65575         comments for sendmmsg.
65577 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65579         [BZ #13691]
65580         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
65581         with only 1 character between 0x0041 and 0x01b0.
65582         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
65583         * wcsmbs/tst-mbsnrtowcs.c: New file.
65585 2012-03-29  David S. Miller  <davem@davemloft.net>
65587         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
65588         small copies by hand.
65590 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65592         [BZ #13761]
65593         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
65594         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
65595         group memberships.
65597 2012-03-28  David S. Miller  <davem@davemloft.net>
65599         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
65600         that branches into memcpy.
65601         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65602         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
65603         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65604         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
65605         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
65606         bits.
65607         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
65608         implementation too.
65609         * sysdeps/sparc/mempcpy.S: New file.
65611         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
65612         the IFUNC routine in the libc case.
65613         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65615         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
65616         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
65617         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
65618         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
65619         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
65620         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
65621         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
65622         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
65624         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
65625         loop to 256 bytes instead of 64 bytes and fix test signedness.
65627         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
65628         * sysdeps/sparc/sparc32/Makefile: rather than here...
65629         * sysdeps/sparc/sparc64/Makefile: and here.
65631 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
65633         * malloc/mallocbug.c: Avoid warnings about unused variables.
65635 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65637         [BZ #13760]
65638         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
65639         in the right place. Discard and retry query if response is
65640         larger than input buffer size.
65642 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
65644         [BZ #369]
65645         [BZ #2678]
65646         [BZ #3866]
65647         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
65648         x for large integer exponent.
65649         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
65650         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
65651         sign of result as needed afterwards.
65652         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
65653         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
65654         result for underflowing pow the same as for overflow.
65655         (__kernel_standard_l): Handle powl overflow and underflow here
65656         rather than calling __kernel_standard.
65657         * math/libm-test.inc (pow_test): Add more tests.
65659         [BZ #3868]
65660         [BZ #13879]
65661         [BZ #13910]
65662         [BZ #13911]
65663         [BZ #13912]
65664         [BZ #13913]
65665         [BZ #13915]
65666         [BZ #13916]
65667         [BZ #13917]
65668         [BZ #13918]
65669         [BZ #13919]
65670         [BZ #13920]
65671         [BZ #13921]
65672         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
65673         * sysdeps/ieee754/k_standard.c: Include <float.h>.
65674         (__kernel_standard_l): New function.
65675         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
65676         __kernel_standard.
65677         * math/w_acosl.c (__acosl): Likewise.
65678         * math/w_asinl.c (__asinl): Likewise.
65679         * math/w_atan2l.c (__atan2l): Likewise.
65680         * math/w_atanhl.c (__atanhl): Likewise.
65681         * math/w_coshl.c (__coshl): Likewise.
65682         * math/w_exp10l.c (__exp10l): Likewise.
65683         * math/w_exp2l.c (__exp2l): Likewise.
65684         * math/w_fmodl.c (__fmodl): Likewise.
65685         * math/w_hypotl.c (__hypotl): Likewise.
65686         * math/w_j0l.c (__j0l, __y0l): Likewise.
65687         * math/w_j1l.c (__j1l, __y1l): Likewise.
65688         * math/w_jnl.c (__jnl, __ynl): Likewise.
65689         * math/w_lgammal.c (__lgammal): Likewise.
65690         * math/w_log10l.c (__log10l): Likewise.
65691         * math/w_log2l.c (__log2l): Likewise.
65692         * math/w_logl.c (__logl): Likewise.
65693         * math/w_powl.c (__powl): Likewise.
65694         * math/w_remainderl.c (__remainderl): Likewise.
65695         * math/w_scalbl.c (sysv_scalbl): Likewise.
65696         * math/w_sinhl.c (__sinhl): Likewise.
65697         * math/w_sqrtl.c (__sqrtl): Likewise.
65698         * math/w_tgammal.c (__tgammal): Likewise.
65699         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
65700         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
65701         * math/libm-test.inc (acos_test): Add more tests.
65702         (acosh_test): Likewise.
65703         (asin_test): Likewise.
65704         (atanh_test): Likewise.
65705         (exp_test): Likewise.
65706         (exp10_test): Likewise.
65707         (exp2_test): Likewise.
65708         (expm1_test): Likewise.
65709         (lgamma_test): Likewise.
65710         (log_test): Likewise.
65711         (log10_test): Likewise.
65712         (log1p_test): Likewise.
65713         (log2_test): Likewise.
65714         (pow_test): Do not allow some spurious overflow exceptions.
65715         (sqrt_test): Add more tests.
65716         (tgamma_test): Likewise.
65717         (y0_test): Likewise.
65718         (y1_test): Likewise.
65719         (yn_test): Likewise.
65721 2012-03-27  Anton Blanchard  <anton@samba.org>
65723         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
65724         MAP_HUGETLB.
65725         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65726         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
65727         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65729 2012-03-27  David S. Miller  <davem@davemloft.net>
65731         * conform/Makefile: Run run-conformtest.sh using $(BASH).
65733         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
65734         have-as-vis3 check.
65736 2012-03-27  Andreas Jaeger  <aj@suse.de>
65738         * sysdeps/x86_64/elf/configure.in: Moved to ...
65739         * sysdeps/x86_64/configure.in: ... here.
65740         * sysdeps/x86_64/elf/start.S: Moved to ...
65741         * sysdeps/x86_64/start.S: ... here.
65742         * sysdeps/x86_64/elf/configure: Delete.
65744         * sysdeps/x86_64/configure.in: Merge contents from
65745         sysdeps/i386/configure.in (without i686 check).
65747         * sysdeps/i386/elf/Versions: Merge into ...
65748         * sysdeps/i386/Versions: ... this.
65749         * sysdeps/i386/elf/Versions: Delete file.
65750         * sysdeps/i386/elf/start.S: Moved to ...
65751         * sysdeps/i386/start.S: ...here.
65752         * sysdeps/i386/elf/configure.in: Merge into...
65753         * sysdeps/i386/configure.in: ...here.
65754         * sysdeps/i386/elf/configure.in: Delete file.
65755         * sysdeps/i386/elf/configure: Delete file.
65757         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
65758         * debug/backtracesyms.c: ... here.
65759         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
65760         * debug/backtracesymsfd.c: ... here.
65761         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
65762         * sysdeps/generic/ifunc-sel.h: ... here.
65764         * sysdeps/unix/i386/start.c: Delete file.
65765         * sysdeps/unix/sparc/start.c: Delete file.
65766         * sysdeps/unix/start.c: Delete file.
65768         * sysdeps/sh/elf/configure.in: Moved to ...
65769         * sysdeps/sh/configure.in: ... here.
65770         * sysdeps/sh/elf/start.S: Moved to ...
65771         * sysdeps/sh/start.S: ... here.
65772         * sysdeps/sh/elf/configure: Delete file.
65774         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
65775         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
65776         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
65777         * sysdeps/powerpc/powerpc64/entry.h: ... here.
65778         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
65779         * sysdeps/powerpc/powerpc64/start.S: here.
65780         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
65781         * sysdeps/powerpc/powerpc64/Makefile: ... this.
65782         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
65783         * sysdeps/powerpc/powerpc64/configure.in: ... this.
65784         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
65786         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
65787         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
65788         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
65789         * sysdeps/powerpc/powerpc32/start.S: ... here.
65790         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
65791         * sysdeps/powerpc/powerpc32/configure.in: ... this.
65792         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
65794         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
65795         * sysdeps/powerpc/ifunc-sel.h: ... here.
65796         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
65797         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
65799         * sysdeps/sparc/elf/configure.in: Moved to ...
65800         * sysdeps/sparc/configure.in: ... here.
65801         * sysdeps/sparc/elf/configure: Delete file.
65802         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
65803         * sysdeps/sparc/sparc32/start.S: ... here.
65804         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
65805         * sysdeps/sparc/sparc64/start.S: ... here.
65806         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
65807         * sysdeps/sparc/sparc32/Makefile: ... this.
65808         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
65809         * sysdeps/sparc/sparc64/Makefile: ... this.
65811         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
65812         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
65813         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
65814         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
65815         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
65816         * sysdeps/s390/s390-32/setjmp.S: ... here.
65817         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
65818         * sysdeps/s390/s390-32/configure.in: ... here.
65819         * sysdeps/s390/s390-32/elf/configure: Delete file.
65820         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
65821         * sysdeps/s390/s390-32/start.S: ... here.
65823         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
65824         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
65825         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
65826         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
65827         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
65828         * sysdeps/s390/s390-64/setjmp.S: ... here.
65829         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
65830         * sysdeps/s390/s390-64/configure.in: ... here
65831         * sysdeps/s390/s390-64/elf/configure: Delete file.
65832         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
65833         * sysdeps/s390/s390-64/start.S: ... here.
65834         * sysdeps/s390/s390-64/elf/configure: Delete.
65836         * configure.in: Remove support for elf directories in sysdeps.
65838         * configure: Regenerated.
65839         * sysdeps/i386/configure: Regenerated.
65840         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65841         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65842         * sysdeps/s390/s390-32/configure: Regenerated.
65843         * sysdeps/s390/s390-64/configure: Regenerated.
65844         * sysdeps/sh/configure: Regenerated.
65845         * sysdeps/sparc/configure: Regenerated.
65846         * sysdeps/x86_64/configure: Regenerated.
65848 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
65850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65852         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
65853         denormal result into account.
65855 2012-03-25  Roland McGrath  <roland@hack.frob.com>
65857         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
65858         Reported by Allan McRae <allan@archlinux.org>.
65860 2012-03-23  Jeff Law  <law@redhat.com>
65862         * nss/getnssent.c (__nss_getent): Fix typo.
65864 2012-03-23  David S. Miller  <davem@davemloft.net>
65866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65868 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
65870         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
65871         to pad to uint64_t for each field.
65872         (dl_tls_index): Replace unsigned long with uint64_t.
65874 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
65875         Paul Pluzhnikov  <ppluzhnikov@google.com>
65877         [BZ #6528]
65878         * grp/Makefile (otherlibs): Don't set it.
65879         * inet/Makefile (otherlibs): Likewise.
65880         * login/Makefile (otherlibs): Likewise.
65881         * nscd/Makefile (otherlibs): Likewise.
65882         * posix/Makefile (otherlibs): Likewise.
65883         * pwd/Makefile (otherlibs): Likewise.
65884         * rt/Makefile (otherlibs): Likewise.
65885         * sunrpc/Makefile (otherlibs): Likewise.
65886         * nss/Makefile (otherlibs): Likewise.
65887         Add libnss_files to routines and static-only-routines.
65888         ($(objpfx)getent): Remove rule.
65889         * resolv/Makefile: Add libnss_dns and libresolv to routines and
65890         static-only-routines.
65892 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65894         [BZ #13892]
65895         * math/s_cexp.c: Include <float.h>.
65896         (__cexp): Handle exp result overflowing not necessarily
65897         overflowing both real and imaginary parts of result.
65898         * math/s_cexpf.c: Likewise.
65899         * math/s_cexpl.c: Likewise.
65900         * math/libm-test.inc (cexp_test): Add more tests.
65901         * sysdeps/i386/fpu/libm-test-ulps: Update.
65902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65904 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65906         * include/link.h (ELFW): New macro.
65907         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
65908         Replace ELF64_R_TYPE with ELFW(R_TYPE).
65910 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65912         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
65913         with uint64_t.
65915 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65917         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
65918         declaration.
65919         (struct La_x32_retval): Likewise.
65921 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65923         * sysdeps/x86_64/preconfigure.in: New file.
65924         * sysdeps/x86_64/preconfigure: New generated file.
65926 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65928         [BZ #13824]
65929         * math/e_exp2l.c: Include <float.h>.
65930         (__ieee754_exp2l): Handle overflow and underflow cases
65931         separately.  Only pass fractional part of argument to
65932         __ieee754_expl.
65933         * math/libm-test.inc (exp2_test): Add more tests.
65935         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
65936         negating x to take absolute value.
65937         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
65938         Likewise.
65939         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
65940         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
65941         Likewise.
65942         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
65943         computing low part if x was negated.
65944         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
65946 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65948         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
65949         la_x32_gnu_pltexit.
65950         (pltexit): Cast int_retval to ptrdiff_t.
65951         * elf/tst-auditmod3b.c: Likewise.
65952         * elf/tst-auditmod4b.c: Likewise.
65953         * elf/tst-auditmod5b.c: Likewise.
65954         * elf/tst-auditmod6b.c: Likewise.
65955         * elf/tst-auditmod6c.c: Likewise.
65956         * elf/tst-auditmod7b.c: Likewise.
65958         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
65959         and x32_gnu_pltexit.
65961         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
65962         __ELF_NATIVE_CLASS.
65963         (La_x32_regs): New macro.
65964         (La_x32_retval): Likewise.
65965         (la_x32_gnu_pltenter): New function prototype.
65966         (la_x32_gnu_pltexit): Likewise.
65968 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
65970         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
65971         exponent.
65973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65975         * configure.in (libc_cv_cc_nofma): Check for option to disable
65976         generation of FMA instructions.
65977         * configure: Regenerate.
65978         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
65979         * sysdeps/ieee754/dbl-64/Makefile: New file.
65980         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
65981         Remove brandred-fma4.
65982         (CFLAGS-brandred-fma4.c): Remove.
65983         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
65984         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
65985         define.
65986         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
65987         define.
65989 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65991         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65992         LLONG_MAX != LONG_MAX.
65993         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65994         (_fitoa_word): Likewise.
65995         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
65996         LLONG_MAX != LONG_MAX.
65997         * stdio-common/_itowa.h: Include <_itoa.h>.
65998         (_itowa_word): Use _ITOA_WORD_TYPE on value.
65999         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
66000         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
66001         only if not defined.
66002         (_ITOA_WORD_TYPE): Likewise.
66003         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66004         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
66006 2012-03-21  David S. Miller  <davem@davemloft.net>
66008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66010 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
66012         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
66013         of x86_64 when setting libc_cv_slibdir, libdir and
66014         libc_cv_localedir.
66015         * sysdeps/unix/sysv/linux/configure: Regenerated.
66017 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66019         * manual/lang.texi (Old Varargs): Remove section.
66020         (How Variadic): Update menu.
66021         (va_start): Do not mention varargs.h.
66023 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66024             Joseph Myers  <joseph@codesourcery.com>
66026         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
66027         link test.
66028         * configure: Regenerated.
66030 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66032         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
66033         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
66034         conformtest.pl
66036 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66038         * NOTES: Remove.
66039         * Makefile (files-for-dist): Remove NOTES.
66040         (NOTES): Remove rule.
66041         * README: Don't refer to NOTES.
66042         * manual/creature.texi: Don't include macros.texi.
66043         * manual/intro.texi (creature.texi): Remove comment referring to
66044         NOTES.
66046         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
66047         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
66048         * configure: Regenerated.
66049         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
66050         LIBC_TRY_CC_OPTION.
66051         (libc_cv_as_i686): Likewise.
66052         (libc_cv_cc_avx): Likewise.
66053         (libc_cv_cc_sse2avx): Likewise.
66054         (libc_cv_cc_fma4): Likewise.
66055         (libc_cv_cc_novzeroupper): Likewise.
66056         * sysdeps/i386/configure: Regenerated.
66058         [BZ #13883]
66059         * sysdeps/i386/fpu/s_cexp.S: Remove.
66060         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66061         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66062         * math/libm-test.inc (cexp_test): Add more tests.
66063         * sysdeps/i386/fpu/libm-test-ulps: Update.
66064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66066 2012-03-21  Allan McRae  <allan@archlinux.org>
66068         * timezone/Makefile: Do not install iso3166.tab and zone.tab
66070 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
66072         [BZ #13871]
66073         * math/w_exp2.c: Do not include <float.h>.
66074         (o_threshold, u_threshold): Remove.
66075         (__exp2): Calculate result before checking finiteness and calling
66076         __kernel_standard.
66077         * math/w_exp2f.c: Likewise.
66078         * math/w_exp2l.c: Likewise.
66079         * math/libm-test.inc (exp2_test): Require overflow exception for
66080         1e6 input.
66082         [BZ #3866]
66083         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
66084         range of signed 64-bit integers before using fistpll.  Remove
66085         checks for whether integers fit in mantissa bits.
66086         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
66087         the range of signed 32-bit integers before using fistpl.  Remove
66088         checks for whether integers fit in mantissa bits.
66089         * sysdeps/i386/fpu/e_powl.S (p64): New object.
66090         (__ieee754_powl): Test for y outside the range of signed 64-bit
66091         integers before using fistpll.  Reduce 64-bit values to 63-bit
66092         ones as needed.
66093         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
66094         divide-by-zero is raised for zero to large negative powers.
66095         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
66096         (__ieee754_powl): Test for y outside the range of signed 64-bit
66097         integers before using fistpll.  Reduce 64-bit values to 63-bit
66098         ones as needed.
66099         * math/libm-test.inc (pow_test): Add more tests.
66101 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66103         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
66104         <stdio-common/_itoa.h>.
66105         * debug/segfault.c: Likewise.
66106         * elf/dl-cache.c: Likewise.
66107         * elf/dl-minimal.c: Likewise.
66108         * elf/dl-misc.c: Likewise.
66109         * elf/dl-sysdep.c: Likewise.
66110         * elf/dl-version.c: Likewise.
66111         * elf/rtld.c: Likewise.
66112         * hurd/hurdsock.c: Likewise.
66113         * hurd/lookup-retry.c: Likewise.
66114         * malloc/malloc.c: Likewise.
66115         * malloc/mtrace.c: Likewise.
66116         * nscd/nscd_getgr_r.c: Likewise.
66117         * nscd/nscd_getpw_r.c: Likewise.
66118         * nscd/nscd_getserv_r.c: Likewise.
66119         * posix/getopt_init.c: Likewise.
66120         * posix/wordexp.c: Likewise.
66121         * stdio-common/_itoa.c: Likewise.
66122         * stdio-common/printf_fphex.c: Likewise.
66123         * stdio-common/vfprintf.c: Likewise.
66124         * string/_strerror.c: Likewise.
66125         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
66126         * sysdeps/i386/i686/hp-timing.h: Likewise.
66127         * sysdeps/mach/_strerror.c: Likewise.
66128         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
66129         * sysdeps/mach/hurd/sethostid.c: Likewise.
66130         * sysdeps/mach/hurd/xmknodat.c: Likewise.
66131         * sysdeps/mach/xpg-strerror.c: Likewise.
66132         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66133         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66134         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
66135         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
66136         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66137         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
66138         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
66139         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
66140         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
66141         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
66142         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
66143         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
66144         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
66145         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66146         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66147         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
66148         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
66149         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
66150         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
66151         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
66152         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
66154         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
66156         * stdio-common/_itoa.h: Moved to ...
66157         * sysdeps/generic/_itoa.h: Here.
66159         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
66161         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
66162         instead of "_itoa.h" and "_itowa.h".
66163         * stdio-common/vfprintf.: Likewise.
66165 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66167         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
66168         <bits/wordsize.h>.
66169         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
66170         (__signbit): Likwise.
66171         (llrintf): Likwise.
66172         (llrint): Likwise.
66174 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66176         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
66177         __WORDSIZE != 64.
66179 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
66181         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
66182         OVERFLOW_EXCEPTION_OK.
66183         * math/libm-test.inc ("Philosophy"): Update comment about
66184         exception testing.
66185         (OVERFLOW_EXCEPTION): Define.
66186         (OVERFLOW_EXCEPTION_OK): Likewise.
66187         (INVALID_EXCEPTION_OK): Renumber.
66188         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66189         (IGNORE_ZERO_INF_SIGN): Likewise.
66190         (test_exceptions): Handle FE_OVERFLOW.
66191         (exp10_test): Expect overflow exceptions.
66192         (exp2_test): Likewise.
66193         (expm1_test): Likewise.
66194         (nextafter_test): Likewise.
66195         (pow_test): Likewise.
66196         (scalbn_test): Likewise.
66197         (scalbln_test): Likewise.
66199 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66201         * sysdeps/x86_64/bits/atomic.h
66202         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
66203         64bit integer.
66204         (atomic_exchange_acq): Likewise.
66205         (__arch_exchange_and_add_body): Likewise.
66206         (__arch_add_body): Likewise.
66207         (atomic_add_negative): Likewise.
66208         (atomic_add_zero): Likewise.
66210 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66212         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
66213         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
66215 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66217         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
66218         Check __x86_64__ instead of __WORDSIZE.
66220 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66222         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
66224 2012-03-19  David S. Miller  <davem@davemloft.net>
66226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66228         * sysdeps/sparc/fpu/fenv_private.h: New file.
66229         * sysdeps/sparc/fpu/math_private.h: Use it.
66230         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
66231         Remove.
66232         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
66233         (libc_feholdexcept_setroundl): Remove.
66234         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
66235         Remove.
66236         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
66237         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
66239 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66241         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
66242         int64_t instead of long int.
66243         (INSERT_WORDS64): Likwise.
66245 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66247         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
66248         _Unwind_GetCFA return to _Unwind_Ptr first.
66250 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
66252         [BZ #13629]
66253         * math/s_clog.c: Include <float.h>.
66254         (__clog): Scale large or subnormal inputs.
66255         * math/s_clogf.c: Likewise.
66256         * math/s_clogl.c: Likewise.
66257         * math/s_clog10.c: Include <float.h>.
66258         (M_LOG10_2): Define.
66259         (__clog10): Scale large or subnormal inputs.
66260         * math/s_clog10f.c: Likewise.
66261         * math/s_clog10l.c: Likewise.
66262         * math/libm-test.inc (clog_test): Add more tests.
66263         (clog10_test): Likewise.
66264         * sysdeps/i386/fpu/libm-test-ulps: Update.
66265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66267         [BZ #11451]
66268         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
66269         x and y.
66270         * math/libm-test.inc (atan2_test): Add another test.
66272         * Makerules (common-objdir-compile): Remove.
66273         * sysdeps/unix/Makefile (config-generated): Do not add
66274         $(unix-generated) to variable.
66275         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
66276         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
66277         Remove rule.
66278         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
66279         Likewise.
66280         [generic bits/local_lim.h] (before-compile): Do not append to
66281         variable.
66282         [generic bits/local_lim.h] (common-generated): Likewise.
66283         [generic sys/param.h] (before-compile): Do not append to variable.
66284         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
66285         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
66286         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
66287         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
66288         include.
66289         [generic sys/param.h] (sys/param.h-includes): Remove variable.
66290         [generic sys/param.h] (sys/param.h-includes): Remove rule.
66291         [generic sys/param.h] ($(addprefix
66292         $(common-objpfx),$(sys/param.h-includes))): Likewise.
66293         [generic sys/param.h] (common-generated): Do not append to
66294         variable.
66295         [generic sys/param.h] (sysdep_headers): Likewise.
66296         [generic bits/errno.h] (before-compile): Do not append to
66297         variable.
66298         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
66299         rule.
66300         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
66301         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
66302         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
66303         [generic bits/errno.h] (common-generated): Do not append to
66304         variable.
66305         [generic bits/ioctls.h] (before-compile): Do not append to
66306         variable.
66307         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
66308         rule.
66309         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
66310         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
66311         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
66312         rule.
66313         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
66314         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
66315         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
66316         [generic bits/ioctls.h] (common-generated): Do not append to
66317         variable.
66318         [generic sys/syscall.h] (syscall.h): Remove variable.
66319         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
66320         rule.
66321         [generic sys/syscall.h] (before-compile): Do not append to
66322         variable.
66323         [generic sys/syscall.h] (common-generated): Likewise.
66324         * sysdeps/unix/errnos-tmpl.c: Remove file.
66325         * sysdeps/unix/errnos.awk: Likewise.
66326         * sysdeps/unix/ioctls-tmpl.c: Likewise.
66327         * sysdeps/unix/ioctls.awk: Likewise.
66328         * sysdeps/unix/mk-local_lim.c: Likewise.
66329         * sysdeps/unix/snarf-ioctls: Likewise.
66331 2012-03-19  Richard Henderson  <rth@twiddle.net>
66333         * sysdeps/i386/fpu/fenv_private.h: New file.
66334         * sysdeps/i386/fpu/math_private.h: Use it.
66335         (math_opt_barrier, math_force_eval): Remove.
66336         (libc_feholdexcept_setround_53bit): Remove.
66337         (libc_feupdateenv_53bit): Remove.
66338         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66339         (math_opt_barrier, math_force_eval): Remove.
66340         (libc_feholdexcept): Remove.
66341         (libc_feholdexcept_setround): Remove.
66342         (libc_fetestexcept, libc_fesetenv): Remove.
66343         (libc_feupdateenv_test): Remove.
66344         (libc_feupdateenv, libc_feholdsetround): Remove.
66345         (libc_feresetround): Remove.
66347         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
66348         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
66350         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
66351         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
66352         (libc_feupdateenv_testl): New.
66353         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
66354         (libc_feupdateenv_testf): New.
66355         (libc_feupdateenv): Use libc_feupdateenv_test.
66356         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
66357         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
66359         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
66360         (libc_feholdsetroundf, libc_feholdsetroundl): New.
66361         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
66362         (libc_feresetround_noex): New.
66363         (libc_feresetround_noexf): New.
66364         (libc_feresetround_noexl): New.
66365         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
66366         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
66367         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
66368         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
66369         SET_RESTORE_ROUND.
66370         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66371         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
66372         (__cos): Likewise.
66373         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
66374         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
66375         SET_RESTORE_ROUND_NOEX.
66376         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
66377         SET_RESTORE_ROUND_NOEXF.
66378         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
66379         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
66380         (libc_feholdsetroundf): New.
66381         (libc_feresetround, libc_feresetroundf): New.
66383         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
66384         (libc_feholdexcept_setround_53bit): Convert from macro to function.
66385         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
66387         * sysdeps/generic/math_private.h: Include <fenv.h>.
66388         (default_libc_feholdexcept): New.
66389         (default_libc_feholdexcept_setround): New.
66390         (default_libc_fesetenv, default_libc_feupdateenv): New.
66391         (libc_feholdexcept): Only define if undefined.
66392         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
66393         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
66394         (libc_feholdexcept_setroundl): Likewise.
66395         (libc_feholdexcept_setround_53bit): Likewise.
66396         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
66397         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
66398         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
66399         (libc_feupdateenv_53bit): Likewise.
66400         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
66401         (libc_feholdexcept): Convert from macro to inline function.
66402         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
66403         (libc_fesetenv, libc_feupdateenv): Likewise.
66405         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
66406         not previously defined.
66407         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
66408         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
66409         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
66410         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
66411         * sysdeps/ieee754/flt-32/math_private.h: New file.
66412         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
66413         math_private.h below SET_FLOAT_WORD.
66414         (__isnan, __isinf_ns, __finite): Remove.
66415         (__isnanf, __isinf_nsf, __finitef): Remove.
66417 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
66419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66421 2012-03-17  David S. Miller  <davem@davemloft.net>
66423         [BZ #6471]
66424         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
66425         for 2.16.
66427 2012-03-16  David S. Miller  <davem@davemloft.net>
66429         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
66430         warnings.
66432         [BZ #6471]
66433         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
66434         properly.
66435         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
66436         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
66437         sysdep_routines when subdir is sysvipc.
66438         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
66439         __getshmlba helper.
66441         * sysdeps/sparc/fpu/libm-test/ulps: Update.
66443 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66445         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
66446         [__LP64__].
66448 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66450         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
66451         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
66452         (__lround): Renamed to ...
66453         (__llround): This.  Replace long int with long long int.
66454         Define lround functions as aliases of llround functions.
66455         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
66457 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66459         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
66460         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
66461         adresses to uintptr_t.  Replace "long int" and "unsigned long
66462         int" with "greg_t" on va_arg.
66464 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66466         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
66467         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
66469         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
66470         Move e_machine check before EI_CLASS check.  Handle x32
66471         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
66472         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
66473         SKIP_EM_IA_64 and include
66474         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
66476         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
66477         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
66478         (add_system_dir): New macro.
66480         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
66481         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
66483 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66485         [BZ #2551]
66486         [BZ #2552]
66487         [BZ #2553]
66488         [BZ #2554]
66489         [BZ #2562]
66490         [BZ #2563]
66491         [BZ #2565]
66492         [BZ #2566]
66493         [BZ #2576]
66494         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
66495         (y0): Likewise.
66496         * math/w_j0f.c (j0f): Likewise.
66497         (y0f): Likewise.
66498         * math/w_j0l.c (__j0l): Likewise.
66499         (__y0l): Likewise.
66500         * math/w_j1.c (j1): Likewise.
66501         (y1): Likewise.
66502         * math/w_j1f.c (j1f): Likewise.
66503         (y1f): Likewise.
66504         * math/w_j1l.c (__j1l): Likewise.
66505         (__y1l): Likewise.
66506         * math/w_jn.c (jn): Likewise.
66507         (yn): Likewise.
66508         * math/w_jnf.c (jnf): Likewise.
66509         (ynf): Likewise.
66510         * math/w_jnl.c (__jnl): Likewise.
66511         (__ynl): Likewise.
66512         * math/libm-test.inc (j0_test): Add more tests.
66513         (j1_test): Likewise.
66514         (jn_test): Likewise.  Add trailing semicolon to existing test.
66515         (y0_test): Likewise.
66516         (y1_test): Likewise.
66517         * sysdeps/i386/fpu/libm-test-ulps: Update.
66518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66520         [BZ #13851]
66521         [BZ #13854]
66522         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
66523         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
66524         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
66525         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
66526         (__tanl): Set errno for infinite argument.
66527         * sysdeps/i386/fpu/mptan.c: Remove.
66528         * sysdeps/i386/fpu/s_tan.S: Likewise.
66529         * sysdeps/i386/fpu/s_tanl.S: Likewise.
66530         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
66531         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
66532         * math/libm-test.inc (tan_test): Add more tests and enable more
66533         tests for double and long double.
66534         * sysdeps/i386/fpu/libm-test-ulps: Update.
66535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66537 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
66539         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
66540         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
66542 2012-03-16  Roland McGrath  <roland@hack.frob.com>
66544         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
66545         * configure.in: Use it for both main tree and add-ons.
66546         * configure: Regenerated.
66548 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66550         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
66552 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66554         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
66555         in comment.
66557         [BZ #13851]
66558         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
66559         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
66560         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
66561         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
66562         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
66563         infinite argument.
66564         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
66565         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
66566         != 0 for prec == 2.
66567         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
66568         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
66569         * sysdeps/i386/fpu/s_cosl.S: Likewise.
66570         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
66571         * sysdeps/i386/fpu/s_sinl.S: Likewise.
66572         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
66573         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
66574         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
66575         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
66576         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
66577         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
66578         * math/libm-test.inc (cos_test): Add more tests and enable more
66579         tests for long double.
66580         (sin_test): Likewise.
66581         (sincos_test): Likewise.
66582         * sysdeps/i386/fpu/libm-test-ulps: Update.
66583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66585 2012-03-16  David S. Miller  <davem@davemloft.net>
66587         * sysdeps/sparc/fpu/math_private.h: New file.
66589 2012-03-15  David S. Miller  <davem@davemloft.net>
66591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
66592         file.
66593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
66594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
66595         file.
66596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
66597         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
66598         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
66599         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
66600         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
66601         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
66602         sysdep routines.
66603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66605         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
66606         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
66608         * sysdeps/sparc/sparc-ifunc.h: New file.
66609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
66610         sparc-ifunc.h
66611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
66613         Likewise.
66614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
66615         Likewise.
66616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
66617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
66618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66620         Likewise.
66621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
66623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
66625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
66626         Likewise.
66627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
66628         Likewise.
66629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
66631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
66632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
66633         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66634         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66635         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
66636         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
66637         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66638         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66639         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
66640         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
66641         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
66642         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
66643         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
66644         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
66645         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
66646         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
66647         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
66648         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
66649         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
66650         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
66651         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
66652         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
66654 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66656         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
66657         scaling.
66658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66660 2012-03-15  Andreas Jaeger  <aj@suse.de>
66662         [BZ #13852]
66663         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
66664         ieee754/flt-32 implementation for sin, cos and sincos.
66665         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
66666         * sysdeps/i386/fpu/s_cosf.S: Likewise.
66667         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
66668         * sysdeps/i386/fpu/s_sinf.S: Likewise.
66669         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
66670         ieee754/flt-32 implementation for tan.
66672         * math/libm-test.inc (cos_test): Enable some large input tests for
66673         float as well
66674         (sin_test): Likewise.
66675         (sincos_test): Likewise.
66676         (tan_test): Add tests for large input.
66678         * sysdeps/i386/fpu/libm-test-ulps: Update.
66680 2012-03-15  Andreas Jaeger  <aj@suse.de>
66682         [BZ #13658]
66683         * math/libm-test.inc (cos_test): Add more test cases.
66684         (sin_test): Likewise.
66685         (sincos_test): Likewise.
66687 2012-03-15  Andreas Jaeger  <aj@suse.de>
66689         [BZ #13837]
66690         * math/libm-test.inc (cos_test): Add a test case for large input
66691         value.
66692         (sin_test): Likewise.
66693         (sincos_test): Likewise.
66695 2012-03-15  Andreas Jaeger  <aj@suse.de>
66696             Joseph Myers  <joseph@codesourcery.com>
66698         [BZ #13658]
66699         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
66700         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
66701         * sysdeps/i386/fpu/branred.c: Likewise.
66702         * sysdeps/i386/fpu/dosincos.c: Likewise.
66703         * sysdeps/i386/fpu/mpa.c: Likewise.
66704         * sysdeps/i386/fpu/s_cos.S: Likewise.
66705         * sysdeps/i386/fpu/s_sin.S: Likewise.
66706         * sysdeps/i386/fpu/s_sincos.S: Likewise.
66707         * sysdeps/i386/fpu/sincos32.c: Likewise.
66709         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
66710         Define.
66711         (libc_feupdateenv_53bit): Define.
66712         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
66713         Define.
66714         (libc_feupdateenv_53bit): Define.
66716         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
66717         53 bit (without extend i386 double precision).
66719         * math/libm-test.inc (sincos_test): Add tests for large input.
66720         (sin): Likewise.
66721         (cos): Likewise.
66723         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
66725 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66729 2012-03-15  David S. Miller  <davem@davemloft.net>
66731         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
66732         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
66733         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
66734         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
66735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
66736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
66737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
66738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
66739         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
66740         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
66741         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
66742         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
66743         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
66744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
66745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
66746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
66747         file.
66748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
66749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
66750         file.
66751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
66752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
66753         file.
66754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
66755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
66756         file.
66757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
66758         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
66759         fmin/fmax sysdep routines.
66760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66762 2012-03-14  David S. Miller  <davem@davemloft.net>
66764         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
66765         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
66766         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
66767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
66768         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
66769         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
66770         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
66771         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
66772         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
66773         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
66774         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
66775         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
66776         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
66777         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
66778         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
66779         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
66780         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
66781         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
66782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
66783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
66784         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
66785         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
66786         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
66787         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
66788         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
66789         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
66790         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
66791         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
66792         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
66793         routines.
66794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
66795         file.
66796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
66797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
66798         file.
66799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
66800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
66801         file.
66802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
66803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
66804         file.
66805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
66806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
66807         file.
66808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
66809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
66810         file.
66811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
66812         file.
66813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
66814         file.
66815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
66816         file.
66817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
66818         New file.
66819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
66820         file.
66821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
66822         file.
66823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
66824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
66825         file.
66826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
66827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
66828         file.
66829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
66830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
66831         file.
66832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
66833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
66834         VIS3 routines.
66836         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66837         New file.
66839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66841         * sysdeps/sparc/configure.in: New file.
66842         * sysdeps/sparc/configure: Generate.
66843         * configure.in (libc_cv_sparc_as_vis3): Substitute.
66844         * configure: Regenerate.
66845         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
66846         * config.make.in (have-as-vis3): New.
66847         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
66848         available use -Av9d instead of -Av9a.
66849         * sysdeps/sparc/sparc64/Makefile: Likewise.
66850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
66851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
66852         New file.
66853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
66854         file.
66855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
66856         New file.
66857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
66858         file.
66859         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
66860         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
66861         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
66862         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
66863         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
66865         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
66866         fzeros/fnegs to load 0x80000000 into a float register instead of
66867         using the stack.
66868         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
66870 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66872         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66873         bits/syscall.h.
66874         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
66875         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
66876         ($(inst_includedir)/bits/syscall.h): Remove rule.
66877         ($(objpfx)bits/syscall.d): Include instead of
66878         $(objpfx)syscall-list.d.
66879         (generated): Change syscall-list.h and syscall-list.d to
66880         bits/syscall.h and bits/syscall.d.
66882 2012-03-14  Roland McGrath  <roland@hack.frob.com>
66884         [BZ #13846]
66885         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
66887 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66889         [BZ #13841]
66890         * math/s_csqrt.c: Include <float.h>.
66891         (__csqrt): Scale large or subnormal inputs.
66892         * math/s_csqrtf.c: Likewise.
66893         * math/s_csqrtl.c: Likewise.
66894         * math/libm-test.inc (csqrt_test): Add more tests.
66895         * sysdeps/i386/fpu/libm-test-ulps: Update.
66896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66898         [BZ #13840]
66899         * math/libm-test.inc (hypot_test): Add more tests.
66901 2012-03-13  David S. Miller  <davem@davemloft.net>
66903         [BZ #13840]
66904         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
66905         double-precision for the calculation instead of scaling.
66907 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
66909         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
66910         manipulate bits before adding and subtracting TWO52[sx].
66911         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
66912         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
66913         Likewise.
66914         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
66916 2012-03-13  David S. Miller  <davem@davemloft.net>
66918         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
66919         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
66920         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
66921         rtld-global-offsets.h
66922         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66924         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
66925         large parameters.
66927         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
66929         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
66930         'err' in the ifdef scope in which it is actually used.
66932         * nss/nss_db/db-init.c: Include string.h
66934 2012-03-12  David S. Miller  <davem@davemloft.net>
66936         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
66937         masking out of the most significant byte of random value used.
66938         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66939         Fix coding style in previous change.
66941         * sysdeps/unix/sysv/linux/kernel-features.h
66942         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
66943         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
66944         expression.
66945         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
66946         later.
66948 2012-03-11  David S. Miller  <davem@davemloft.net>
66950         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66951         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
66952         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
66953         for 'resultvar' otherwise things get truncated on 64-bit.
66955         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66956         Fix masking out of the most significant byte of random value used.
66958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66960 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
66962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66964 2012-03-09  David S. Miller  <davem@davemloft.net>
66966         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
66967         variables with appropriate CPP guards.
66968         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
66969         from the frame pointer, not the stack pointer.  Correct layout
66970         comments.  Fix test on resulting framesize and the management of
66971         the outregs buffer for pltexit.  Preserve floating point return
66972         values across _dl_call_pltexit call.
66973         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
66974         framesize and the management of the outregs buffer for pltexit.
66975         Preserve floating point return values across _dl_call_pltexit
66976         call.
66977         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
66978         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
66979         (la_sparc64_gnu_pltexit): New functions.
66980         (print_exit): Fix format string for return register value.
66982 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
66984         * sunrpc/Makefile (others): Add rpcgen.
66985         ($(objpfx)rpcgen): Remove special build rule and dependency on
66986         libc.
66987         * sunrpc/rpcgen.c: New file.
66989 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
66991         [BZ #13673]
66992         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
66993         * stdio-common/bug-vfprintf-nargs.c: Likewise.
66994         * sysdeps/i386/crti.S: Likewise.
66995         * sysdeps/i386/crtn.S: Likewise.
66996         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
66997         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
66998         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
66999         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
67000         * sysdeps/sh/crti.S: Likewise.
67001         * sysdeps/sh/crtn.S: Likewise.
67002         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67004         [BZ #13673]
67005         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
67006         with URL.
67007         * locale/programs/locfile-kw.gperf: Likewise.
67008         * locale/programs/charmap-kw.h: Regenerated.
67009         * locale/programs/locfile-kw.h: Likewise.
67011         [BZ #13673]
67012         * intl/plural.y: Replace FSF snail mail address with URL.
67013         * intl/plural.c: Regenerated.
67015 2012-03-09  Richard Henderson  <rth@twiddle.net>
67017         * include/math_private.h: Remove file.
67018         * math/math_private.h: Move file ...
67019         * sysdeps/generic/math_private.h: ... here.
67021         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
67022         * sysdeps/powerpc/fpu/math_private.h: Likewise.
67023         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67025         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
67026         and <math_private.h>.
67027         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67028         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67029         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67030         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67031         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67032         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
67033         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67034         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67035         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67036         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67037         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67038         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67039         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67040         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67041         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67042         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67043         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67044         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67045         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67046         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67047         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67048         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67049         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67050         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67051         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
67052         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67053         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67054         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67055         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67056         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67057         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67058         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67059         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
67060         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67061         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67062         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67063         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67064         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67065         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67066         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67067         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
67068         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67069         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67070         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
67071         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
67072         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67073         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
67074         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
67075         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67076         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67077         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
67078         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
67079         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
67080         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67081         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
67082         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67083         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67084         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
67085         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
67086         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
67087         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67088         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
67089         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67090         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67091         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
67092         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67093         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67094         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67095         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
67096         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
67097         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67098         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67099         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67100         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67101         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
67102         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
67103         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
67104         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67105         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
67106         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
67107         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67108         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
67109         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67110         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67111         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67112         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
67113         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
67114         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
67115         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67116         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67117         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67118         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67119         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67120         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67121         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67122         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67123         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67124         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67125         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67126         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67127         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67128         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67129         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67130         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67131         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67132         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67133         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67134         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67135         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67136         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67137         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67138         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67139         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67140         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67141         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
67142         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67143         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67144         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67145         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67146         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67147         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67148         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67149         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67150         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
67151         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67152         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67153         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67154         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
67155         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67156         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
67157         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
67158         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67159         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67160         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
67161         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
67162         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67163         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67164         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67165         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
67166         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67167         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67168         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67169         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67170         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
67171         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
67172         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67173         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67174         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67175         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
67176         * sysdeps/ieee754/k_standard.c: Likewise.
67177         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67178         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67179         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67180         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67181         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67182         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67183         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67184         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67185         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67186         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67187         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67188         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67189         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67190         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67191         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67192         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67193         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
67194         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67195         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67196         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
67197         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
67198         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
67199         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67200         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67201         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
67202         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
67203         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67204         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67205         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67206         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67207         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
67208         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67209         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67210         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67211         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
67212         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67213         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67214         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
67215         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
67216         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67217         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
67218         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
67219         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
67220         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67221         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
67222         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
67223         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67224         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67225         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67226         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67227         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67228         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
67229         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67230         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
67231         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67232         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67233         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
67234         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
67235         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67236         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67237         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67238         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
67239         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67240         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67241         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67242         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67243         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67244         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67245         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67246         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67247         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67248         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67249         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67250         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67251         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67252         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67253         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
67254         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67255         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67256         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
67257         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
67258         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
67259         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67260         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67261         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
67262         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67263         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67264         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
67265         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67266         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67267         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
67268         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67269         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
67270         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
67271         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67272         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67273         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
67274         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
67275         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
67276         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
67277         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67278         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67279         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67280         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67281         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
67282         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67283         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67284         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
67285         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
67286         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67287         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67288         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67289         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67290         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67291         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67292         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67293         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67294         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67295         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67296         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67297         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67298         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67299         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67300         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67301         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67302         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
67303         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67304         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67305         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67306         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67307         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67308         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67309         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67310         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
67311         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67312         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67313         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
67314         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
67315         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67316         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
67317         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
67318         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67319         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
67320         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
67321         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67322         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67323         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67324         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67325         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67326         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
67327         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67328         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67329         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67330         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67331         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
67332         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
67333         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67334         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67335         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67336         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
67337         * sysdeps/ieee754/s_lib_version.c: Likewise.
67338         * sysdeps/ieee754/s_matherr.c: Likewise.
67339         * sysdeps/ieee754/s_signgam.c: Likewise.
67340         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67341         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67342         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
67343         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
67344         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
67345         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67346         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
67347         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
67348         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
67349         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
67350         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
67351         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
67352         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67353         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67354         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
67355         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67356         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67357         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67358         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67359         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67360         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67362 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67364         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
67365         * sunrpc/rpc_main.c: Likewise.
67366         * sunrpc/rpc_svcout.c: Likewise.
67368 2012-03-09  David S. Miller  <davem@davemloft.net>
67370         * include/math_private.h: New file.
67372 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67374         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
67375         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
67376         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
67377         from <bits/socket_type.h>.
67378         (enum __socket_type): Don't define here.
67379         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
67380         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67381         bits/socket_type.h.
67383         [BZ #13566]
67384         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
67385         checking __USE_GNU.
67387         * Makerules ($(inst_includedir)/%.h): New rule.
67388         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
67389         (install-others): Remove variable setting.
67390         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
67392 2012-03-08  Richard Henderson  <rth@twiddle.net>
67394         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
67395         from macro to inline function; merge with the
67396         !__LIBC_INTERNAL_MATH_INLINES version.
67397         (__ieee754_sqrtf): Likewise.
67399         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
67400         to inline function.
67401         (__rintf, __floor, __floorf): Likewise.
67403         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
67404         macro to inline function.
67405         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
67407         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
67408         not <math/math_private.h>.
67410 2012-03-08  David S. Miller  <davem@davemloft.net>
67412         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
67413         copyright year.
67414         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
67416 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
67418         * resolv/gai_misc.c (handle_requests): Fix struct timespec
67419         normalization.
67420         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
67421         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
67423 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
67425         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
67426         be defined individually, they must be defined as a block.  Define
67427         S for printing a string instead of hidint the different by using a
67428         macro for adding the 'l'.
67429         * stdio-common/tst-fphex-wide.c: Adjust.
67431 2012-03-07  Marek Polacek  <polacek@redhat.com>
67433         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
67435 2012-03-08  Marek Polacek  <polacek@redhat.com>
67437         [BZ #13806]
67438         * stdio-common/Makefile (tests): Add tst-fphex-wide.
67439         * stdio-common/tst-fphex.c: Define a few macros to make the
67440         test reusable.  Use them.
67441         * stdio-common/tst-fphex-wide.c: New file.
67443 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
67445         [BZ #6911]
67446         * manual/macros.texi (gnusystems): New macro.
67447         (nongnusystems): Likewise.
67448         (gnulinuxhurdsystems): Likewise.
67449         (gnuhurdsystems): Likewise..
67450         (gnulinuxsystems): Likewise.
67451         * manual/charset.texi: Use new macros or @theglibc{} to refer to
67452         variants of the GNU system, not "GNU system".
67453         * manual/conf.texi: Likewise.
67454         * manual/errno.texi: Likewise.  Update example of errno macro
67455         expansion.
67456         * manual/filesys.texi: Likewise.
67457         (getumask): Document as specific to GNU/Hurd.
67458         * manual/install.texi: Likewise.  Reword some references to
67459         GNU/Linux.
67460         * manual/intro.texi: Likewise.
67461         * manual/io.texi: Likewise.
67462         (File Name Portability): Detail which constraints are inapplicable
67463         to all GNU systems and which are only inapplicable to GNU/Hurd.
67464         * manual/job.texi: Likewise.
67465         * manual/llio.texi: Likewise.
67466         (O_NOCTTY): Document as present on GNU/Linux.
67467         * manual/maint.texi: Likewise.
67468         * manual/memory.texi: Likewise.
67469         * manual/pattern.texi: Likewise.
67470         * manual/pipe.texi: Likewise.
67471         * manual/process.texi: Likewise.
67472         * manual/resource.texi: Likewise.
67473         (RUSAGE_CHILDREN): Remove statement about specifying a particular
67474         child on GNU/Hurd.
67475         * manual/setjmp.texi: Likewise.
67476         * manual/signal.texi: Likewise.
67477         * manual/startup.texi: Likewise.
67478         * manual/stdio.texi: Likewise.
67479         * manual/terminal.texi: Likewise.
67480         (ONLCR): Document as POSIX.
67481         (OXTABS): Document availability on GNU/Linux as XTABS.
67482         (ONOEOT): Document availability separately from other bits.
67483         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
67484         * manual/time.texi: Likewise.
67485         * manual/users.texi: Likewise.
67486         * INSTALL: Regenerated.
67487         * sysdeps/gnu/errlist.c: Regenerated.
67489         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
67490         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
67491         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
67492         puts.
67493         * configure: Regenerated.
67495 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
67497         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
67498         default includes instead of AC_HEADER_CHECK.
67499         * sysdeps/i386/configure: Regenerated.
67501         [BZ #10716]
67502         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
67503         * math/s_cacoshf.c (__cacoshf): Likewise.
67504         * math/s_cacoshl.c (__cacoshl): Likewise.
67505         * math/s_casinh.c (__casinh): Set signs of result from argument.
67506         * math/s_casinhf.c (__casinhf): Likewise.
67507         * math/s_casinhl.c (__casinhl): Likewise.
67508         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
67509         (casinh_test): Add more tests.
67510         * sysdeps/i386/fpu/libm-test-ulps: Update.
67511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67513 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
67515         * po/zh_TW.po: Update from translation team.
67517         * login/Makefile (distribute): Remove variable.
67518         * catgets/Makefile: Likewise.
67519         * mach/Makefile: Likewise.
67520         * malloc/Makefile: Likewise.
67521         * misc/Makefile: Likewise.
67522         * iconv/Makefile: Likewise.
67523         * nscd/Makefile: Likewise.
67524         * hurd/Makefile: Likewise.
67525         * manual/Makefile: Likewise.
67526         * locale/Makefile: Likewise.
67527         * intl/Makefile: Likewise.
67528         * conform/Makefile: Likewise.
67529         * nss/Makefile: Likewise.
67530         * time/Makefile: Likewise.
67531         * soft-fp/Makefile: Likewise.
67532         * dirent/Makefile: Likewise.
67533         * gmon/Makefile: Likewise.
67534         * po/Makefile: Likewise.
67535         * rt/Makefile: Likewise.
67536         * socket/Makefile: Likewise.
67537         * math/Makefile: Likewise.
67538         * signal/Makefile: Likewise.
67539         * debug/Makefile: Likewise.
67540         * elf/Makefile: Likewise.
67541         * timezone/Makefile: Likewise.
67542         * stdlib/Makefile: Likewise.
67543         * iconvdata/Makefile: Likewise.
67544         * sunrpc/Makefile: Likewise.
67545         * io/Makefile: Likewise.
67546         * argp/Makefile: Likewise.
67547         * inet/Makefile: Likewise.
67548         * hesiod/Makefile: Likewise.
67549         * grp/Makefile: Likewise.
67550         * csu/Makefile: Likewise.
67551         * wctype/Makefile: Likewise.
67552         * crypt/Makefile: Likewise.
67553         * libio/Makefile: Likewise.
67554         * string/Makefile: Likewise.
67555         * nis/Makefile: Likewise.
67556         * resolv/Makefile: Likewise.
67557         * stdio-common/Makefile: Likewise.
67558         * wcsmbs/Makefile: Likewise.
67559         * dlfcn/Makefile: Likewise.
67560         * posix/Makefile: Likewise.
67562         [BZ #6959]
67563         * timezone/Makefile: Don't install timezone files, just the programs
67564         and scripts.
67566 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
67568         * nss/databases.def: Add missing gshadow entry.
67570         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
67572 2012-03-06  Marek Polacek  <polacek@redhat.com>
67574         [BZ #13726]
67575         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
67576         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
67577         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
67578         * stdio-common/tst-long-dbl-fphex.c: New file.
67580 2012-03-06  David S. Miller  <davem@davemloft.net>
67582         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67583         (set_obp_int): New function.
67584         (get_obp_int): New function.
67585         (__get_clockfreq_via_dev_openprom): Likewise.
67586         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
67587         Avoid unused variable warnings on 'val' and use builtin_expect.
67588         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
67589         __builtin_expect.
67590         (INLINE_CLONE_SYSCALL): Likewise.
67592 2012-03-05  David S. Miller  <davem@davemloft.net>
67594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67596 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
67598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67600         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
67601         only for |x| >= 40.
67602         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67604 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
67606         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
67607         Replace gettimeofday with __vdso_gettimeofday.
67609         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67610         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
67611         __vdso_clock_gettime and __vdso_getcpu.
67613         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
67614         time with __vdso_time.
67616 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67618         * manual/lang.texi (size_t): Note types to which size_t may be
67619         equivalent with the GNU C Library, but do not describe when
67620         differences between them are significant.
67622 2012-03-05  Andreas Jaeger  <aj@suse.de>
67624         * sysdeps/i386/fpu/libm-test-ulps: Update.
67626 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67628         [BZ #3976]
67629         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
67630         (__ieee754_pow): Save and restore rounding mode and use
67631         round-to-nearest for main computations.
67632         * math/libm-test.inc (pow_test_tonearest): New function.
67633         (pow_test_towardzero): Likewise.
67634         (pow_test_downward): Likewise.
67635         (pow_test_upward): Likewise.
67636         (main): Call the new functions.
67637         * sysdeps/i386/fpu/libm-test-ulps: Update.
67638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67640         [BZ #3976]
67641         * math/libm-test.inc (cosh_test_tonearest): New function.
67642         (cosh_test_towardzero): Likewise.
67643         (cosh_test_downward): Likewise.
67644         (cosh_test_upward): Likewise.
67645         (sinh_test_tonearest): Likewise.
67646         (sinh_test_towardzero): Likewise.
67647         (sinh_test_downward): Likewise.
67648         (sinh_test_upward): Likewise.
67649         (main): Call the new functions.
67650         * sysdeps/i386/fpu/libm-test-ulps: Update.
67651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67653 2012-03-05  Tom de Vries  <tom@codesourcery.com>
67655         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
67656         default stack guard is set in last bytes.
67657         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
67659 2012-03-05  Kees Cook  <keescook@chromium.org>
67661         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
67663         [BZ #13656]
67664         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
67665         possibly allocate from heap instead of stack.
67666         * stdio-common/bug-vfprintf-nargs.c: New file.
67667         * stdio-common/Makefile (tests): Add nargs overflow test.
67669 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
67671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67673 2012-03-03  Marek Polacek  <polacek@redhat.com>
67675         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
67676         * math/math_private.h: Likewise.
67677         * stdlib/tst-strtod.c: Likewise.
67678         * sysdeps/i386/i486/bits/atomic.h: Likewise.
67679         * sysdeps/x86_64/bits/atomic.h: Likewise.
67681 2012-03-02  David S. Miller  <davem@davemloft.net>
67683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
67684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
67685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
67686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
67687         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
67688         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
67689         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
67690         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
67692 2012-03-02  Roland McGrath  <roland@hack.frob.com>
67694         [BZ #13792]
67695         * manual/examples/README: New file, says the example source files
67696         can be used under GPL>=2.
67697         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
67698         line containing just "*/".
67699         * manual/examples/add.c: Add copyright header (GPL>=2).
67700         * manual/examples/argp-ex1.c: Likewise.
67701         * manual/examples/argp-ex2.c: Likewise.
67702         * manual/examples/argp-ex3.c: Likewise.
67703         * manual/examples/argp-ex4.c: Likewise.
67704         * manual/examples/atexit.c: Likewise.
67705         * manual/examples/db.c: Likewise.
67706         * manual/examples/dir.c: Likewise.
67707         * manual/examples/dir2.c: Likewise.
67708         * manual/examples/execinfo.c: Likewise.
67709         * manual/examples/filecli.c: Likewise.
67710         * manual/examples/filesrv.c: Likewise.
67711         * manual/examples/fmtmsgexpl.c: Likewise.
67712         * manual/examples/genpass.c: Likewise.
67713         * manual/examples/inetcli.c: Likewise.
67714         * manual/examples/inetsrv.c: Likewise.
67715         * manual/examples/isockad.c: Likewise.
67716         * manual/examples/longopt.c: Likewise.
67717         * manual/examples/memopen.c: Likewise.
67718         * manual/examples/memstrm.c: Likewise.
67719         * manual/examples/mkfsock.c: Likewise.
67720         * manual/examples/mkisock.c: Likewise.
67721         * manual/examples/mygetpass.c: Likewise.
67722         * manual/examples/pipe.c: Likewise.
67723         * manual/examples/popen.c: Likewise.
67724         * manual/examples/rprintf.c: Likewise.
67725         * manual/examples/search.c: Likewise.
67726         * manual/examples/select.c: Likewise.
67727         * manual/examples/setjmp.c: Likewise.
67728         * manual/examples/sigh1.c: Likewise.
67729         * manual/examples/sigusr.c: Likewise.
67730         * manual/examples/stpcpy.c: Likewise.
67731         * manual/examples/strdupa.c: Likewise.
67732         * manual/examples/strftim.c: Likewise.
67733         * manual/examples/strncat.c: Likewise.
67734         * manual/examples/subopt.c: Likewise.
67735         * manual/examples/swapcontext.c: Likewise.
67736         * manual/examples/termios.c: Likewise.
67737         * manual/examples/testopt.c: Likewise.
67738         * manual/examples/testpass.c: Likewise.
67739         * manual/examples/timeval_subtract.c: Likewise.
67741         [BZ #13792]
67742         * manual/time.texi (Elapsed Time): Move timeval_subtract example
67743         function to ...
67744         * manual/timeval_subtract.c.texi: ... here, new file.
67746 2012-03-02  David S. Miller  <davem@davemloft.net>
67748         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
67750 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
67752         [BZ #3976]
67753         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
67754         (__sin): Save and restore rounding mode and use round-to-nearest
67755         for all computations.
67756         (__cos): Save and restore rounding mode and use round-to-nearest
67757         for all computations.
67758         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
67759         <fenv.h>.
67760         (tan): Save and restore rounding mode and use round-to-nearest for
67761         all computations.
67762         * math/libm-test.inc (cos_test_tonearest): New function.
67763         (cos_test_towardzero): Likewise.
67764         (cos_test_downward): Likewise.
67765         (cos_test_upward): Likewise.
67766         (sin_test_tonearest): Likewise.
67767         (sin_test_towardzero): Likewise.
67768         (sin_test_downward): Likewise.
67769         (sin_test_upward): Likewise.
67770         (tan_test_tonearest): Likewise.
67771         (tan_test_towardzero): Likewise.
67772         (tan_test_downward): Likewise.
67773         (tan_test_upward): Likewise.
67774         (main): Call the new functions.
67775         * sysdeps/i386/fpu/libm-test-ulps: Update.
67776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67778         [BZ #10135]
67779         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
67780         small n, then large n, before computing and testing k+n.
67781         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
67782         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
67783         Likewise.
67784         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
67785         Likewise.
67786         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
67787         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
67788         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
67789         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
67790         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
67791         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
67792         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
67793         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
67794         * math/libm-test.inc (scalbn_test): Add more tests.
67795         (scalbln_test): Likewise.
67797         * manual/filesys.texi (mode_t): Describe constraints on size and
67798         signedness, not exact equivalence to a particular type.
67799         (ino_t): Likewise.
67800         (ino64_t): Likewise.
67801         (dev_t): Likewise.
67802         (nlink_t): Likewise.
67803         (blkcnt_t): Likewise.
67804         (blkcnt64_t): Likewise.
67805         * manual/llio.texi (off_t): Likewise.
67807         [BZ #3976]
67808         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
67809         (__ieee754_exp): Save and restore rounding mode and use
67810         round-to-nearest for all computations.
67811         * math/libm-test.inc (exp_test_tonearest): New function.
67812         (exp_test_towardzero): Likewise.
67813         (exp_test_downward): Likewise.
67814         (exp_test_upward): Likewise.
67815         (main): Call the new functions.
67816         * sysdeps/i386/fpu/libm-test-ulps: Update.
67817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67819 2012-03-01  Chris Demetriou  <cgd@google.com>
67821         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
67822         have predictable order.
67824 2012-03-01  David S. Miller  <davem@davemloft.net>
67826         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
67828         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
67829         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
67830         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
67831         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
67833         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
67834         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
67835         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
67836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
67837         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
67838         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
67839         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
67840         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
67841         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
67843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67845         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
67846         * sysdeps/sparc/fpu/libm-test-ulps: to here.
67847         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
67849         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
67850         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67851         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67852         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
67853         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
67854         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
67855         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
67856         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67857         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67858         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
67859         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
67860         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67861         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67862         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67863         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67864         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67865         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
67866         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
67867         * sysdeps/sparc/elf/configure: Regenerated.
67869 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
67871         * configure.in (AS, LD): Require binutils 2.20 or later.
67872         * configure: Regenerated.
67873         * manual/install.texi (Tools for Compilation): Give binutils 2.20
67874         as required minimum version.
67875         * INSTALL: Regenerated.
67877         [BZ #2541]
67878         [BZ #4108]
67879         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
67880         before squaring exponent.
67881         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
67882         bottom long double and 27 bits of top long double before squaring
67883         exponent.
67884         * math/libm-test.inc (erfc_test): Add more tests.
67885         * sysdeps/i386/fpu/libm-test-ulps: Update.
67886         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67889 2012-03-01  Kai Tietz  <ktietz@redhat.com>
67891         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
67892         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
67893         containing bit-fields.
67894         * soft-fp/extended.h (_FP_UNION_E): Likewise.
67895         * soft-fp/single.h (_FP_UNION_S): Likewise.
67896         * soft-fp/double.h (_FP_UNION_D): Likewise.
67898 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67900         [BZ #13786]
67901         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
67902         not include ../strcmp.S.
67903         [USE_AS_STRNCASECMP_L]: Likewise.
67904         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
67905         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
67906         * sysdeps/i386/i686/multiarch/strncase_l-c.c
67907         (__strncasecmp_l_ia32): Define as alias to
67908         __strncasecmp_l_nonascii.
67910         [BZ #5794]
67911         * math/libm-test.inc (expm1_test): Add test for bug 5794.
67912         * sysdeps/i386/fpu/libm-test-ulps: Update.
67913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67915         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
67916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67918 2012-02-29  Jeff Law  <law@redhat.com>
67920         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
67921         out of bounds read.
67923 2012-02-29  Marek Polacek  <polacek@redhat.com>
67925         [BZ #13706]
67926         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
67927         * elf/Makefile: Add rules to run tst-unused-dep.out.
67929 2012-02-28  David S. Miller  <davem@davemloft.net>
67931         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
67932         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
67933         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
67934         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
67935         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
67936         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
67938 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67940         * math/libm-test.inc (llround_test): Move one test from
67941         lround_test.  Use TEST_f_L in moved test.
67942         (lround_test): Move misplaced test to llround_test.  Add testcase
67943         from bug 2561.
67945 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
67947         * sysdeps/x86_64/fpu/e_expf.S: New file.
67948         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
67950 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
67952         [BZ #13637]
67953         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
67954         of remain_len that may cause incomplete multi-byte character and
67955         false match.
67956         * posix/bug-regex33.c: New file.
67957         * posix/Makefile (tests): Add bug-regex33.
67959 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
67961         * manual/macros.texi: New file.
67962         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
67963         * manual/libc.texinfo: Include macros.texi.
67964         * manual/creatute.texi: Likewise.
67965         * manual/install.texi: Likewise.
67966         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
67967         @glibcadj{} in references to the GNU C Library.
67968         * manual/charset.texi: Likewise.
67969         * manual/conf.texi: Likewise.
67970         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
67971         when not using those macros.
67972         * manual/creature.texi: Likewise.
67973         * manual/crypt.texi: Likewise.
67974         * manual/errno.texi: Likewise.
67975         * manual/filesys.texi: Likewise.
67976         * manual/header.texi: Likewise.
67977         * manual/install.texi: Likewise.
67978         * manual/intro.texi: Likewise.
67979         * manual/io.texi: Likewise.
67980         * manual/job.texi: Likewise.
67981         * manual/lang.texi: Likewise.
67982         * manual/libc.texiinfo: Likewise.
67983         * manual/llio.texi: Likewise.
67984         * manual/locale.texi: Likewise.
67985         * manual/maint.texi: Likewise.
67986         * manual/math.texi: Likewise.
67987         * manual/memory.texi: Likewise.
67988         * manual/message.texi: Likewise.
67989         * manual/nss.texi: Likewise.
67990         * manual/pattern.texi: Likewise.
67991         * manual/process.texi: Likewise.
67992         * manual/resource.texi: Likewise.
67993         * manual/search.texi: Likewise.
67994         * manual/setjmp.texi: Likewise.
67995         * manual/signal.texi: Likewise.
67996         * manual/socket.texi: Likewise.
67997         * manual/startup.texi: Likewise.
67998         * manual/stdio.texi: Likewise.
67999         * manual/string.texi: Likewise.
68000         * manual/sysinfo.texi: Likewise.
68001         * manual/syslog.texi: Likewise.
68002         * manual/terminal.texi: Likewise.
68003         * manual/time.texi: Likewise.
68004         * manual/users.texi: Likewise.
68005         * INSTALL: Regenerated.
68006         * NOTES: Regenerated.
68007         * sysdeps/gnu/errlist.c: Regenerated.
68009 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
68011         * include/dirent.h: Include <dirstream.h> before
68012         <dirent/dirent.h>.
68014 2012-02-28  David S. Miller  <davem@davemloft.net>
68016         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
68017         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
68018         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
68019         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
68021 2012-02-27  David S. Miller  <davem@davemloft.net>
68023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
68024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
68025         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
68026         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
68028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
68029         frame pointer instead of stack pointer relative arg slot.
68030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68031         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68032         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68034 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
68036         [BZ #3992]
68037         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
68039 2012-02-27  David S. Miller  <davem@davemloft.net>
68041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
68042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
68045         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68046         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68047         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
68048         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
68050 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68052         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
68053         later.  Allow versions 5-9.
68054         * configure: Regenerated.
68055         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
68056         required minimum version and 4.6 as recommended version.  Do not
68057         mention bugs in GCC 2.7 and 2.8.
68058         * INSTALL: Regenerated.
68060 2012-02-27  David S. Miller  <davem@davemloft.net>
68062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
68063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
68064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
68065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
68066         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
68067         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
68068         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
68069         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
68071         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
68072         manipulate bits before adding and subtracting TWO112[sx].
68073         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68075 2012-02-27  Roland McGrath  <roland@hack.frob.com>
68077         [BZ #13775]
68078         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
68079         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
68080         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
68081         being in POSIX, because they are in 1003.1-2008.
68083         * rt/tst-aio.c: Include <fcntl.h>.
68084         * rt/tst-aio7.c: Likewise.
68085         * rt/tst-aio64.c: Likewise.
68087         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
68089 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
68091         * manual/install.texi (--with-headers): Describe headers as
68092         interface headers, not private headers.
68093         (Specific advice for GNU/Linux systems): Describe use of headers
68094         from "make headers_install", not private headers from older
68095         kernels.
68096         * INSTALL: Regenerated.
68097         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
68098         Change to 2.6.19.
68099         * sysdeps/unix/sysv/linux/configure: Regenerated.
68101         * manual/llio.texi (fclean): Remove documentation.
68103         * manual/Makefile (libc-texi-generated): New variable.  Include
68104         version.texi.
68105         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
68106         $(libc-texi-generated), not duplicated list of files.
68107         (version.texi, stamp-version): New rules.
68108         (realclean): Remove $(libc-texi-generated), not individual files
68109         from that list.  Do not remove dir-add.texinfo.
68110         * manual/libc.texinfo: Comment out uses of edition numbers and
68111         references to printed manual.  Remove last-updated dates.
68112         (EDITION): Comment out.
68113         (ISBN): Likewise.
68114         (VERSION, UPDATED): Remove.
68115         (version.texi): Include.
68117 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
68119         * sysdeps/posix/spawni.c: Include <signal.h>.
68120         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
68121         * sysdeps/pthread/aio_fsync.c: Likewise.
68123 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
68125         * conform/Makefile (tests): Run only when not cross-compiling and
68126         when fast-check is not defined.
68128         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
68129         * conform/data/limits.h-data: Fixes for POSIX2008.
68130         * conform/run-conformtest.sh: Run all tests.
68131         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
68132         headers.
68133         * include/bits/dlfcn.h: Likewise.
68134         * include/langinfo.h: Likewise.
68135         * include/monetary.h: Likewise.
68136         * include/sys/poll.h: Likewise.
68138         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
68139         for __USE_GNU.
68140         * posix/spawn.h: Define __need_sigset_t.
68141         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
68142         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
68143         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
68144         to get sigevent_t only.
68145         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
68146         only for __USE_GNU.
68147         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68148         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68149         process_vm_writev only for __USE_GNU.
68150         * termios/termios.h: Declare tcgetsid also for POSIX2008.
68152         * conform/Makefile: For now ignore errors from run-conformtest.
68153         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
68154         POSIX to avoid namespace pollution.  Don't prepend headers.
68155         * conform/data/aio.h-data: Fixes for POSIX testing.
68156         * conform/data/fcntl.h-data: Likewise.
68157         * conform/data/glob.h-data: Likewise.
68158         * conform/data/grp.h-data: Likewise.
68159         * conform/data/pthread.h-data: Likewise.
68160         * conform/data/pwd.h-data: Likewise.
68161         * conform/data/signal.h-data: Likewise.
68162         * conform/data/spawn.h-data: Likewise.
68163         * conform/data/stdio.h-data: Likewise.
68164         * conform/data/stdlib.h-data: Likewise.
68165         * conform/data/stropts.h-data: Likewise.
68166         * conform/data/sys/mman.h-data: Likewise.
68167         * conform/data/sys/stat.h-data: Likewise.
68168         * conform/data/sys/types.h-data: Likewise.
68169         * conform/data/sys/wait.h-data: Likewise.
68170         * conform/data/time.h-data: Likewise.
68171         * conform/data/unistd.h-data: Likewise.
68172         * conform/data/utime.h-data: Likewise.
68174         * io/sys/stat.h: fchmod was always in POSIX.
68175         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
68176         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
68177         * rt/aio.h: Define __need_timespec before including <time.h>.
68178         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
68179         struct.  Add forward declaration of pthread_attr_t and use it in
68180         sigevent.
68181         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68182         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68183         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
68184         always remove CLK_TCK definition.
68186 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
68188         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
68190 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
68192         * conform/run-conformtest.sh: New file.
68193         * conform/Makefile: Run run-conformtest for tests.
68194         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
68195         support.
68197         * conform/data/uchar.h-data: New file.
68198         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
68199         * conform/data/arpa/inet.h-data: Likewise.
68200         * conform/data/assert.h-data: Likewise.
68201         * conform/data/complex.h-data: Likewise.
68202         * conform/data/cpio.h-data: Likewise.
68203         * conform/data/ctype.h-data: Likewise.
68204         * conform/data/dirent.h-data: Likewise.
68205         * conform/data/dlfcn.h-data: Likewise.
68206         * conform/data/errno.h-data: Likewise.
68207         * conform/data/fcntl.h-data: Likewise.
68208         * conform/data/float.h-data: Likewise.
68209         * conform/data/fmtmsg.h-data: Likewise.
68210         * conform/data/fnmatch.h-data: Likewise.
68211         * conform/data/ftw.h-data: Likewise.
68212         * conform/data/glob.h-data: Likewise.
68213         * conform/data/grp.h-data: Likewise.
68214         * conform/data/iconv.h-data: Likewise.
68215         * conform/data/inttypes.h-data: Likewise.
68216         * conform/data/langinfo.h-data: Likewise.
68217         * conform/data/libgen.h-data: Likewise.
68218         * conform/data/limits.h-data: Likewise.
68219         * conform/data/locale.h-data: Likewise.
68220         * conform/data/math.h-data: Likewise.
68221         * conform/data/monetary.h-data: Likewise.
68222         * conform/data/mqueue.h-data: Likewise.
68223         * conform/data/ndbm.h-data: Likewise.
68224         * conform/data/net/if.h-data: Likewise.
68225         * conform/data/netdb.h-data: Likewise.
68226         * conform/data/netinet/in.h-data: Likewise.
68227         * conform/data/nl_types.h-data: Likewise.
68228         * conform/data/poll.h-data: Likewise.
68229         * conform/data/pthread.h-data: Likewise.
68230         * conform/data/pwd.h-data: Likewise.
68231         * conform/data/regex.h-data: Likewise.
68232         * conform/data/sched.h-data: Likewise.
68233         * conform/data/search.h-data: Likewise.
68234         * conform/data/semaphore.h-data: Likewise.
68235         * conform/data/setjmp.h-data: Likewise.
68236         * conform/data/signal.h-data: Likewise.
68237         * conform/data/spawn.h-data: Likewise.
68238         * conform/data/stdarg.h-data: Likewise.
68239         * conform/data/stdio.h-data: Likewise.
68240         * conform/data/stdlib.h-data: Likewise.
68241         * conform/data/string.h-data: Likewise.
68242         * conform/data/strings.h-data: Likewise.
68243         * conform/data/stropts.h-data: Likewise.
68244         * conform/data/sys/ipc.h-data: Likewise.
68245         * conform/data/sys/mman.h-data: Likewise.
68246         * conform/data/sys/msg.h-data: Likewise.
68247         * conform/data/sys/resource.h-data: Likewise.
68248         * conform/data/sys/select.h-data: Likewise.
68249         * conform/data/sys/sem.h-data: Likewise.
68250         * conform/data/sys/shm.h-data: Likewise.
68251         * conform/data/sys/socket.h-data: Likewise.
68252         * conform/data/sys/stat.h-data: Likewise.
68253         * conform/data/sys/statvfs.h-data: Likewise.
68254         * conform/data/sys/time.h-data: Likewise.
68255         * conform/data/sys/timeb.h-data: Likewise.
68256         * conform/data/sys/times.h-data: Likewise.
68257         * conform/data/sys/types.h-data: Likewise.
68258         * conform/data/sys/uio.h-data: Likewise.
68259         * conform/data/sys/un.h-data: Likewise.
68260         * conform/data/sys/utsname.h-data: Likewise.
68261         * conform/data/sys/wait.h-data: Likewise.
68262         * conform/data/syslog.h-data: Likewise.
68263         * conform/data/tar.h-data: Likewise.
68264         * conform/data/termios.h-data: Likewise.
68265         * conform/data/utime.h-data: Likewise.
68266         * conform/data/utmpx.h-data: Likewise.
68267         * conform/data/varargs.h-data: Likewise.
68268         * conform/data/wchar.h-data: Likewise.
68269         * conform/data/wctype.h-data: Likewise.
68270         * conform/data/wordexp.h-data: Likewise.
68272         * include/stropts.h: New file.
68273         * include/uchar.h: New file.
68274         * include/aio.h: Changes to allow conformtest.pl to use the headers.
68275         * include/assert.h: Likewise.
68276         * include/ctype.h: Likewise.
68277         * include/dirent.h: Likewise.
68278         * include/dlfcn.h: Likewise.
68279         * include/fcntl.h: Likewise.
68280         * include/fnmatch.h: Likewise.
68281         * include/glob.h: Likewise.
68282         * include/grp.h: Likewise.
68283         * include/libio.h: Likewise.
68284         * include/locale.h: Likewise.
68285         * include/math.h: Likewise.
68286         * include/net/if.h: Likewise.
68287         * include/netdb.h: Likewise.
68288         * include/netinet/in.h: Likewise.
68289         * include/pthread.h: Likewise.
68290         * include/pwd.h: Likewise.
68291         * include/regex.h: Likewise.
68292         * include/sched.h: Likewise.
68293         * include/search.h: Likewise.
68294         * include/setjmp.h: Likewise.
68295         * include/signal.h: Likewise.
68296         * include/stdio.h: Likewise.
68297         * include/stdlib.h: Likewise.
68298         * include/string.h: Likewise.
68299         * include/sys/cdefs.h: Likewise.
68300         * include/sys/mman.h: Likewise.
68301         * include/sys/msg.h: Likewise.
68302         * include/sys/resource.h: Likewise.
68303         * include/sys/select.h: Likewise.
68304         * include/sys/socket.h: Likewise.
68305         * include/sys/stat.h: Likewise.
68306         * include/sys/statvfs.h: Likewise.
68307         * include/sys/time.h: Likewise.
68308         * include/sys/times.h: Likewise.
68309         * include/sys/uio.h: Likewise.
68310         * include/sys/utsname.h: Likewise.
68311         * include/sys/wait.h: Likewise.
68312         * include/termios.h: Likewise.
68313         * include/time.h: Likewise.
68314         * include/ulimit.h: Likewise.
68315         * include/unistd.h: Likewise.
68316         * include/utime.h: Likewise.
68317         * include/wchar.h: Likewise.
68318         * include/wctype.h: Likewise.
68319         * include/wordexp.h: Likewise.
68321         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
68323         * time/time.h: TIME_UTC must be a macro.
68324         Make timespec_get available for ISO C11 only as well.
68326 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
68328         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
68329         Reported by Peng Haitao <penght@cn.fujitsu.com>.
68331 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68333         * configure.in: Use -o not -a in test for unsupported multi-arch.
68335 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68337         * manual/texinfo.tex: Update to version 2012-01-19.16.
68339 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68341         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
68343 2012-02-24  Roland McGrath  <roland@hack.frob.com>
68345         [BZ #13738]
68346         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
68347         * manual/fdl-1.3.texi: New file.
68348         * manual/fdl-1.1.texi: File removed.
68350         [BZ #13738]
68351         * manual/libc.texinfo (FDL_VERSION): New @set.
68352         Use it for mention of FDL in cover text.
68353         (Documentation License): Use it in @include file name.
68355 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68356             Roland McGrath  <roland@hack.frob.com>
68358         [BZ #5461]
68359         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
68360         (not LONG_LONG_MAX and LONG_LONG_MIN.
68361         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
68362         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
68363         name.
68364         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
68366 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68368         [BZ #2547]
68369         [BZ #11365]
68370         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
68371         manipulate bits before adding and subtracting TWO23[sx].
68372         * math/libm-test.inc (nearbyint_test): Add more tests.
68374 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68376         [BZ #2548]
68377         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
68378         bits before adding and subtracting TWO23[sx].
68379         * math/libm-test.inc (rint_test): Add more tests.
68380         (rint_test_tonearest): Likewise.
68381         (rint_test_towardzero): Likewise.
68382         (rint_test_downward): Likewise.
68383         (rint_test_upward: Likewise.
68385 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68387         [BZ #10110]
68388         * include/stdc-predef.h: New file.  Extracted from features.h.
68389         * include/features.h: Include stdc-predef.h.
68390         * Makefile (headers): Add stdc-predef.h.
68391         * CONFORMANCE (Compiler limitations): Update.
68393 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68395         * manual/libc.texinfo (VERSION, UPDATED): Revert.
68397 2012-02-21  David S. Miller  <davem@davemloft.net>
68399         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
68400         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68402 2012-02-20  David S. Miller  <davem@davemloft.net>
68404         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
68405         using a normal save/restore sequence, rather than allocating a
68406         dummy stack frame just to store a frame pointer and restore.
68407         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68409 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68411         * manual/install.texi: Fix stray word in line-wrapped comment.
68413 2012-02-20  David S. Miller  <davem@davemloft.net>
68415         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
68416         both binutils and gcc support GOTDATA.
68418         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
68419         "rd %pc" in the PIC register setup sequences.
68421         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
68422         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
68423         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68424         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
68425         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68426         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68427         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68428         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68429         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
68430         (SYSCALL_ERROR_HANDLER): Likewise.
68431         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68432         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68433         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
68434         (SYSCALL_ERROR_HANDLER): Likewise.
68436         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
68437         (HAVE_GCC_GOTDATA): New.
68438         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
68439         relocation support in both binutils and gcc.
68440         * sysdeps/sparc/elf/configure: Regenerate.
68442         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
68443         * sysdeps/sparc/sparc32/elf/configure: Delete.
68444         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
68445         * sysdeps/sparc/sparc64/elf/configure: Delete.
68446         * sysdeps/sparc/elf/configure.in: New file.
68447         * sysdeps/sparc/elf/configure: Generate.
68449         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
68450         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
68451         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68452         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
68453         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
68455 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68457         * manual/install.texi: Do not mention specific glibc version
68458         numbers.
68459         * manual/libc.texinfo (VERSION, UPDATED): Update.
68460         (@copying): Use @copyright{} and range of years.
68462 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68464         [BZ #13695]
68465         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
68466         [crti.S not in sysdirs] (generated): Do not append.
68467         [crti.S not in sysdirs] (omit-deps): Likewise.
68468         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
68469         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
68470         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
68471         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
68472         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
68473         Likewise.
68474         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
68475         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
68476         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
68477         * csu/defs.awk: Remove file.
68478         * sysdeps/generic/initfini.c: Likewise.
68479         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
68480         variable.
68481         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
68482         Likewise.
68484 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68486         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
68487         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
68488         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
68489         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
68490         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68491         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
68492         <bits/epoll.h>.
68493         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
68494         (__EPOLL_PACKED): Define to empty if not defined by
68495         <bits/epoll.h>.
68496         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
68497         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68498         bits/epoll.h.
68500 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68502         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
68503         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
68504         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
68505         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
68506         <bits/timerfd.h>.
68507         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
68508         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68509         bits/timerfd.h.
68511 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68513         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
68514         in C locale.
68515         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68516         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
68517         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
68518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68520 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
68522         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68523         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68525 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
68527         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
68528         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
68529         defined.
68530         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
68531         Likewise.
68532         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
68533         entry for 2.16.
68535 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
68537         * math/w_acos.c: Use non-signaling floating-point comparisons.
68538         * math/w_acosf.c: Likewise.
68539         * math/w_acosh.c: Likewise.
68540         * math/w_acoshf.c: Likewise.
68541         * math/w_acoshl.c: Likewise.
68542         * math/w_acosl.c: Likewise.
68543         * math/w_asin.c: Likewise.
68544         * math/w_asinf.c: Likewise.
68545         * math/w_asinl.c: Likewise.
68546         * math/w_atanh.c: Likewise.
68547         * math/w_atanhf.c: Likewise.
68548         * math/w_atanhl.c: Likewise.
68549         * math/w_exp2.c: Likewise.
68550         * math/w_exp2f.c: Likewise.
68551         * math/w_exp2l.c: Likewise.
68552         * math/w_j0.c: Likewise.
68553         * math/w_j0f.c: Likewise.
68554         * math/w_j0l.c: Likewise.
68555         * math/w_j1.c: Likewise.
68556         * math/w_j1f.c: Likewise.
68557         * math/w_j1l.c: Likewise.
68558         * math/w_jn.c: Likewise.
68559         * math/w_jnf.c: Likewise.
68560         * math/w_log.c: Likewise.
68561         * math/w_log10.c: Likewise.
68562         * math/w_log10f.c: Likewise.
68563         * math/w_log10l.c: Likewise.
68564         * math/w_log2.c: Likewise.
68565         * math/w_log2f.c: Likewise.
68566         * math/w_log2l.c: Likewise.
68567         * math/w_logf.c: Likewise.
68568         * math/w_logl.c: Likewise.
68569         * math/w_sqrt.c: Likewise.
68570         * math/w_sqrtf.c: Likewise.
68571         * math/w_sqrtl.c: Likewise.
68572         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68573         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
68574         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68575         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68576         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68578 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68580         [BZ #9739]
68581         * manual/string.texi (strnlen): Use correct parameter name in
68582         equivalent expression.
68584 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68586         [BZ #11174]
68587         * manual/users.texi (seteuid): Consistently use neweuid for
68588         argument name.
68590 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68592         [BZ #13704]
68593         * manual/nss.texi (Services in the NSS configuration): Correct
68594         list of services in example configuration file.
68596 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
68598         [BZ #11322]
68599         * manual/arith.texi: Remove statements about negative zero
68600         behaving identically to zero.
68602 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68604         [BZ #5993]
68605         * manual/install.texi: Do not document upgrading from libc5.
68607 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68609         [BZ #4596]
68610         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
68612 2012-02-18  David S. Miller  <davem@davemloft.net>
68614         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
68615         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
68616         %o7 across the call.
68617         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
68618         instead.
68619         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
68620         SETUP_PIC_REG_LEAF.
68621         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68622         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
68623         * sysdeps/sparc/crtn.S: Likewise.
68625 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
68627         * aout/Makefile: Remove.
68629 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
68631         [BZ #13058]
68632         * manual/examples/argp-ex1.c (main): Format definition in GNU
68633         style.
68634         * manual/examples/argp-ex2.c (main): Likewise.
68635         * manual/examples/argp-ex3.c (main): Likewise.
68636         * manual/examples/argp-ex4.c (main): Likewise.
68637         * manual/examples/longopt.c (main): Use new-style prototype
68638         definition.
68639         * manual/examples/strncat.c (main): Specify return type and use
68640         (void) for arguments.
68641         * manual/examples/subopt.c (main): Use char **argv argument.
68643 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68645         [BZ #5077]
68646         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
68647         rounding modes.
68649 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
68651         [BZ #6907]
68652         * manual/string.texi (strchr): Change when strchrnul is
68653         recommended.
68655 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
68657         [BZ #174]
68658         * manual/locale.texi (setlocale): Document LOCPATH.
68660 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68662         [BZ #10210]
68663         * manual/process.texi (execle): Move @dots{} before last argument.
68665 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
68667         [BZ #12047]
68668         * manual/charset.texi (Generic Charset Conversion): Fix typo
68669         (LC_TYPE -> LC_CTYPE).
68671 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
68673         [BZ #5805]
68674         * manual/arith.texi (scalbn): Use @var{} on parameter names.
68675         (scalbnf): Likewise.
68676         (scalbnl): Likewise.
68677         (scalbln): Likewise.
68678         (scalblnf): Likewise.
68679         (scalblnl): Likewise.
68680         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
68681         (vwarnx): Likewise.
68682         (verr): Likewise.
68683         (verrx): Likewise.
68684         * manual/filesys.texi (telldir): Use braces around return type.
68685         * manual/llio.texi (mmap): Add space after comma.
68686         (mmap64): Likewise.
68687         * manual/math.texi (jn): Use @var{} on parameter names.
68688         (jnf): Likewise.
68689         (jnl): Likewise.
68690         (yn): Likewise.
68691         (ynf): Likewise.
68692         (ynl): Likewise.
68693         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
68694         line.
68695         * manual/resource.texi (ulimit): Use @dots{} instead of literal
68696         "...".
68697         (sched_get_priority_min): Remove semicolon on @deftypefun line.
68698         (sched_get_priority_max): Likewise.
68699         * manual/signal.texi (sigvec): Add space after comma.
68700         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
68701         names.
68702         (if_indextoname): Likewise.
68703         (if_freenameindex): Likewise.
68704         (sendto): Use ',' instead of '.' in prototype.
68705         * manual/startup.texi (syscall): Use @dots{} instead of literal
68706         "...".
68707         * manual/stdio.texi (__fpending): Separate initial words of
68708         paragraph from @deftypefun line.
68709         * manual/syslog.texi (syslog): Use @dots{} instead of literal
68710         "...".
68711         (vsyslog): Use @var{} on parameter names.
68712         * manual/terminal.texi (stty): Use @var{} on parameter names.
68713         * manual/users.texi (getutmp): Use @var{} on parameter names.
68714         (getutmpx): Likewise.
68716 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68718         [BZ #6884]
68719         * manual/stdio.texi (fopen): Fix typos in description of
68720         ",ccs=STRING".
68722 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
68724         [BZ #4026]
68725         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
68726         get clock_id definition.
68728 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
68730         [BZ #4822]
68731         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
68732         (madvise): Cast every argument to void on its own.
68734 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68736         [BZ #9902]
68737         * manual/startup.texi (Exit Status): Fix typo.
68739 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68741         [BZ #10140]
68742         * manual/examples/argp-ex1.c: Include <stdlib.h>.
68743         * manual/examples/argp-ex2.c: Likewise.
68744         * manual/examples/argp-ex3.c: Likewise.
68746 2012-02-16  Richard Henderson  <rth@redhat.com>
68748         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
68749         * sysdeps/s390/s390-32/initfini.c: Remove.
68750         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
68751         * sysdeps/s390/s390-64/initfini.c: Remove.
68753 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68755         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
68756         compiler output for sysdeps/generic/initfini.c.
68757         * sysdeps/sh/elf/initfini.c: Remove file.
68759 2012-02-16  David S. Miller  <davem@davemloft.net>
68761         [BZ #11494]
68762         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
68764         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
68765         * sysdeps/sparc/crti.S: New file.
68766         * sysdeps/sparc/crtn.S: New file.
68767         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
68768         * sysdeps/sparc/sparc64/Makefile: Likewise.
68770 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
68772         [BZ #3335]
68773         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
68775 2012-02-15  Roland McGrath  <roland@hack.frob.com>
68777         [BZ #4822]
68778         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
68780         * mach/devstream.c (cookie_io_functions_t): Macro removed.
68781         (write, read, close): Likewise.
68782         Patch by Aurelien Jarno <aurelien@aurel32.net>.
68784 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
68786         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
68787         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
68788         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
68789         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
68790         <bits/signalfd.h>.
68791         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
68792         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68793         bits/signalfd.h.
68795 2012-02-14  Marek Polacek  <polacek@redhat.com>
68797         * sysdeps/x86_64/crti.S: New file.
68798         * sysdeps/x86_64/crtn.S: New file.
68799         * sysdeps/x86_64/elf/initfini.c: Remove file.
68801 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68803         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
68804         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
68805         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
68806         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
68807         <bits/inotify.h>.
68808         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
68809         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68810         bits/inotify.h.
68812 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68814         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
68815         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
68816         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
68817         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
68818         <bits/eventfd.h>.
68819         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
68820         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68821         bits/eventfd.h.
68823 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
68825         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
68826         __feraiseexcept instead of feraiseexcept.
68828         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
68829         nanosleep invocations.
68830         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
68831         strings, and add error checking for a nanosleep invocations.
68833 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
68835         Replace FSF snail mail address with URLs, as per GNU coding standards.
68836         Most of the snail mail addresses were wrong anyway, and omitting
68837         them makes the source code easier to maintain.  Almost all of the
68838         changes are to license notices and to locale LC_IDENTIFICATION
68839         addresses, except for this one:
68840         * manual/libc.texinfo: In "Published by", give the FSF's URL,
68841         not its snail mail address.
68843 2012-02-09  Richard Henderson  <rth@twiddle.net>
68845         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
68846         of kernel-features.h.
68848         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
68850 2012-02-08  Marek Polacek  <polacek@redhat.com>
68852         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
68853         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
68854         * sysdeps/gnu/_G_config.h: Likewise.
68855         * sysdeps/generic/_G_config.h: Likewise.
68857 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
68859         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
68860         tests.
68861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68863         * sysdeps/powerpc/powerpc32/crti.S: New file.
68864         * sysdeps/powerpc/powerpc32/crtn.S: New file.
68865         * sysdeps/powerpc/powerpc64/crti.S: New file.
68866         * sysdeps/powerpc/powerpc64/crtn.S: New file.
68868         * Makeconfig (have-initfini): Don't set.
68869         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
68870         * configure.in (nopic_initfini): Don't substitute.
68871         * config.h.in (HAVE_INITFINI): Don't #undef.
68872         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
68873         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
68875 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
68877         Support crti.S and crtn.S provided directly by architectures.
68878         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
68879         [crti.S in sysdirs] (omit-deps): Likewise.
68880         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
68881         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
68882         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
68883         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
68884         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
68885         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
68886         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
68887         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
68888         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
68889         compiler output for sysdeps/generic/initfini.c.
68890         * sysdeps/i386/elf/Makefile: Remove file.
68891         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
68893 2012-02-07  Marek Polacek  <polacek@redhat.com>
68895         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
68896         * sysdeps/gnu/_G_config.h: Likewise.
68897         * sysdeps/mach/hurd/_G_config.h: Likewise.
68899 2012-02-07  Marek Polacek  <polacek@redhat.com>
68901         * math/Makefile (tests): Add tst-CMPLX2.
68902         * math/tst-CMPLX2.c: New file.
68904 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
68906         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68908         * math/libm-test.inc (jn_test): Add missing L suffix.
68910 2012-02-06  Marek Polacek  <polacek@redhat.com>
68912         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
68913         * sysdeps/i386/fpu/e_powf.S: Likewise.
68914         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68915         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68916         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68917         * sysdeps/i386/fpu/e_pow.S: Likewise.
68918         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68919         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68920         * sysdeps/i386/fpu/s_expm1.S: Likewise.
68921         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68922         * sysdeps/i386/fpu/e_log2.S: Likewise.
68923         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68924         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68925         * sysdeps/i386/fpu/e_powl.S: Likewise.
68926         * sysdeps/i386/fpu/s_log1p.S: Likewise.
68927         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68928         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68929         * sysdeps/i386/fpu/e_logl.S: Likewise.
68930         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68931         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
68932         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68933         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68934         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68935         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68936         * sysdeps/i386/fpu/e_log.S: Likewise.
68937         * sysdeps/i386/fpu/s_cexp.S: Likewise.
68938         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68939         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
68940         * sysdeps/i386/fpu/e_logf.S: Likewise.
68941         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68942         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68943         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
68944         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68945         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68946         * sysdeps/i386/fpu/e_log10.S: Likewise.
68947         * sysdeps/i386/fpu/s_frexp.S: Likewise.
68948         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68949         * sysdeps/i386/fpu/s_asinh.S: Likewise.
68950         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68951         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68952         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68953         * sysdeps/i386/asm-syntax.h: Likewise.
68954         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68955         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68956         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68957         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
68958         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
68959         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68960         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68961         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68962         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68963         * sysdeps/powerpc/sysdep.h: Likewise.
68964         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
68965         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68967 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68969         [BZ #411]
68970         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
68972 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68974         * sysdeps/i386/sysdep.h: Include <features.h>.
68975         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
68976         version.
68978 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
68980         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
68981         Define.
68982         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
68983         LOAD_PIC_REG_STR.
68985 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68987         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
68988         (SETUP_PIC_REG): Use GET_PC_THUNK.
68989         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
68990         macro.
68992 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68994         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
68995         for non-PIC compilation.
68996         (SETUP_PIC_REG): Add .p2align directive.
68997         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
68998         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
68999         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69000         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69001         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
69002         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69003         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
69004         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69005         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69006         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69007         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69008         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69009         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69010         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69011         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69012         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
69013         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
69014         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69015         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69016         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69017         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69018         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
69019         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69020         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69021         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
69022         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
69023         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69024         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
69025         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69026         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69027         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69028         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69029         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69030         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69031         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69032         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69033         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69034         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69035         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69036         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69037         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69039 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
69041         * math/tst-CMPLX.c: Include <stdio.h>.
69043 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
69045         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
69046         float.
69047         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69048         * sysdeps/sparc/bits/mathdef.h: Likewise.
69050 2012-01-31  Marek Polacek  <polacek@redhat.com>
69052         * libio/libio.h: Don't define _PARAMS.
69053         * locale/programs/config.h: Don't define PARAMS.
69054         * stdlib/strtol_l.c: Likewise.
69055         (__strtol_l): Remove PARAMS from the prototype.
69057 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
69059         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
69060         names.  Just use the correct names.  Remove unnecessary wrapper
69061         functions.
69062         * malloc/arena.c: Likewise.
69063         * malloc/hooks.c: Likewise.
69065         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
69066         ARENA_TEST says not to.  Simplify test for creation of a new arena.
69067         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
69069 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
69071         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
69072         into tail calls.
69073         (update_get_addr): New function.
69074         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
69075         GET_ADDR_MODULE parameter.
69077 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69079         * crypt/cert.c: Remove __STDC__ conditionals.
69080         * crypt/crypt-entry.c: Likewise.
69081         * crypt/crypt_util.c: Likewise.
69082         * libio/filedoalloc.c: Likewise.
69083         * libio/fileops.c: Likewise.
69084         * libio/genops.c: Likewise.
69085         * libio/iofclose.c: Likewise.
69086         * libio/iofdopen.c: Likewise.
69087         * libio/iofopen.c: Likewise.
69088         * libio/iofopen64.c: Likewise.
69089         * libio/iogetdelim.c: Likewise.
69090         * libio/iopopen.c: Likewise.
69091         * libio/obprintf.c: Likewise.
69092         * libio/oldfileops.c: Likewise.
69093         * libio/oldiofclose.c: Likewise.
69094         * libio/oldiofdopen.c: Likewise.
69095         * libio/oldiofopen.c: Likewise.
69096         * libio/oldiopopen.c: Likewise.
69097         * libio/wfiledoalloc.c: Likewise.
69098         * libio/wgenops.c: Likewise.
69099         * locale/programs/xmalloc.c: Likewise.
69100         * misc/syslog.c: Likewise.
69101         * stdio-common/xbug.c: Likewise.
69102         * string/memchr.c: Likewise.
69103         * string/memcmp.c: Likewise.
69104         * string/memrchr.c: Likewise.
69105         * string/rawmemchr.c: Likewise.
69106         * sysdeps/posix/getcwd.c: Likewise.
69107         * time/strftime_l.c: Likewise.
69109 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
69111         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
69112         * config.make.in (config-cflags-sse2avx): Define.
69113         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
69114         Fix typo.
69116 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
69118         * scripts/config.guess: Update from upstream config git repository.
69119         * scripts/config.sub: Likewise.
69121 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
69123         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
69124         (EM_NUM): Update.
69125         (R_TILEPRO_*, R_TILEGX_*): New macros.
69127         * scripts/firstversions.awk: Fix bug in version range handling.
69129         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
69131         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
69133         * include/sys/epoll.h: New file.
69134         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
69135         libc_hidden_def.
69137 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
69139         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
69140         Avoid unnecessary __WORDSIZE == 64 test.
69141         (fmaxf): Use VEX format if possible.
69142         (fmax): Likewise.
69143         (fminf): Likewise.
69144         (fmin): Likewise.
69146         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
69147         * math/math_private.h: Remove libc_fegetround* and
69148         libc_fesetround*.
69149         * sysdeps/i386/configure.in: Check for -msse2avx.
69150         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
69151         also if SSE2AVX is defined.
69152         Remove libc_fegetround* and libc_fesetround*.
69153         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
69154         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
69155         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
69156         of HAS_YMM_USABLE.
69157         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69158         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69159         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69160         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69161         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69163         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
69165 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69167         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
69168         size is not set.
69169         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69171 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
69173         [BZ #13618]
69174         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
69175         relocation.
69176         * Makeconfig (libm): Define.
69177         * elf/Makefile: Add rules to build and run tst-relsort1.
69178         * elf/tst-relsort1.c: New file.
69179         * elf/tst-relsort1mod1.c: New file.
69180         * elf/tst-relsort1mod2.c: New file.
69182 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
69184         * math/s_ldexp.c: Remove __STDC__ conditionals.
69185         * math/s_ldexpf.c: Likewise.
69186         * math/s_ldexpl.c: Likewise.
69187         * math/s_nextafter.c: Likewise.
69188         * math/s_nexttowardf.c: Likewise.
69189         * math/s_significand.c: Likewise.
69190         * math/s_significandf.c: Likewise.
69191         * math/s_significandl.c: Likewise.
69192         * math/w_jnl.c: Likewise.
69193         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69194         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69195         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69196         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69197         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69198         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69199         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
69200         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69201         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69202         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69203         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69204         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69205         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69206         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69207         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69208         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69209         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69210         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69211         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69212         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69213         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69214         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69215         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69216         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69217         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69218         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69219         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69220         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69221         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69222         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69223         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69224         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69225         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69226         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69227         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69228         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69229         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69230         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69231         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69232         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69233         * sysdeps/ieee754/k_standard.c: Likewise.
69234         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69235         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69236         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69237         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69238         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69239         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69240         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69241         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69242         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69243         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69244         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69245         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69246         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69247         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69248         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69249         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69250         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69251         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69252         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69253         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69254         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69255         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69256         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69257         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69258         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69259         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69260         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69261         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69262         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69263         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69264         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69265         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
69266         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69267         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69268         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69269         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69270         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
69271         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69272         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69273         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
69274         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
69275         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69276         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
69277         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
69278         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69279         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
69280         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
69281         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69282         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69283         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
69284         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
69285         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69286         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69287         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69288         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69289         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69290         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
69291         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69292         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69293         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69294         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69295         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69296         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69297         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69298         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69299         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69300         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69301         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69302         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69303         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69304         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69305         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69306         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69307         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69308         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69309         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69310         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69311         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69312         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69313         * sysdeps/ieee754/s_matherr.c: Likewise.
69314         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69315         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69316         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69317         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69319 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69321         * crypt/md5.h: Remove __STDC__ conditionals.
69322         * libio/libioP.h: Likewise.
69323         * locale/programs/config.h: Likewise.
69324         * sysdeps/generic/sysdep.h: Likewise.
69325         * sysdeps/i386/asm-syntax.h: Likewise.
69326         * sysdeps/s390/asm-syntax.h: Likewise.
69327         * sysdeps/unix/sysdep.h: Likewise.
69328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
69329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69331 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69333         * libio/libio.h: Remove __STDC__ conditionals.
69334         * malloc/obstack.h: Likewise.
69335         * math/complex.h: Likewise.
69336         * math/math.h: Likewise.
69337         * sysdeps/generic/_G_config.h: Likewise.
69338         * sysdeps/gnu/_G_config.h: Likewise.
69339         * sysdeps/mach/hurd/_G_config.h: Likewise.
69340         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69341         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69342         * sysdeps/sparc/bits/mathdef.h: Likewise.
69344 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
69346         [BZ #13583]
69347         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
69348         Clean up HAS_* macros.
69349         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
69350         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
69351         possible.
69352         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
69353         HAS_AVX.
69354         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69355         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69356         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69357         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69358         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69360 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
69362         * elf/tst-unique3.cc (gets): Remove declaration.
69363         * elf/tst-unique3lib.cc (gets): Likewise.
69364         * elf/tst-unique3lib2.cc (gets): Likewise.
69365         * elf/tst-unique4.cc (gets): Likewise.
69367 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
69369         * include/stdio.h: Add C++ protection.  Add gets declarations and
69370         definitions.
69371         * debug/tst-chk1.c: Don't declare gets here.
69372         * stdio-common/tst-gets.c: Likewise.
69374 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69376         * posix/glob: Remove directory.
69378 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69380         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
69382 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
69384         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
69385         of the non-standard EPFNOSUPPORT.
69387 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69389         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
69390         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
69391         ANYWHERE set to 1 only on KERN_NO_SPACE error.
69393 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
69395         * wcsmbs/uchar.h: Test __STDC_VERSION__.
69397 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
69399         * nscd/aicache.c (addhstaiX): Do not cache negative results of
69400         transient errors.
69401         * nscd/grpcache.c (cache_addgr): Likewise.
69402         * nscd/hstcache.c (cache_addhst): Likewise.
69403         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69404         * nscd/pwdcache.c (cache_addpw): Likewise.
69405         * nscd/servicescache.c (cache_addserv): Likewise.
69407 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
69409         * malloc/malloc.c: Various cleanups.
69410         * malloc/hooks.c: Likewise.
69412         * stdlib/Makefile (tests): Add bug-fmtmsg1.
69413         * stdlib/bug-fmtmsg1.c: New file.
69415         * stdlib/fmtmsg.c (init): Add missing unlock.
69416         Patch by Peng Haitao <penght@cn.fujitsu.com>.
69418 2012-01-12  Marek Polacek  <polacek@redhat.com>
69420         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
69421         and _GNU_SOURCE.
69423 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69425         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
69426         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
69427         macro to ensure uniqueness of label name.
69428         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69429         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69431 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
69433         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
69435         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
69436         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69437         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69438         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
69440 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
69442         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
69444         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
69445         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69446         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69448         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
69450         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
69451         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69452         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69453         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
69455         * math/bits/math-finite.h: Add ldexp support.
69457 2012-01-10  Marek Polacek  <polacek@redhat.com>
69459         * locale/programs/localedef.h (show_archive_content): Add noreturn
69460         attribute.
69462 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
69464         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
69466 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69468         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
69470         * io/Makefile (headers): Add bits/poll2.h.
69472 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
69474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
69475         typo #include statement.
69477 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69479         * include/sys/cdefs.h: Define __attribute_alloc_size.
69480         * catgets/gencat.c: Add alloc_size attribute and apply consistently
69481         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
69482         * elf/pldd.c: Likewise.
69483         * iconv/iconv_charmap.c: Likewise.
69484         * iconv/iconvconfig.c: Likewise.
69485         * iconv/strtab.c: Likewise.
69486         * locale/programs/locale.c: Likewise.
69487         * locale/programs/localedef.h: Likewise.
69488         * locale/programs/simple-hash.c: Likewise.
69489         * nscd/nscd.h: Likewise.
69490         * nss/makedb.c: Likewise.
69491         * sysdeps/generic/ldconfig.h: Likewise.
69492         * locale/programs/localedef.c: Remove xmalloc prototype.
69493         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
69495 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69497         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
69498         appropriate.
69500 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69502         * math/Makefile (tests): Add tst-CMPLX.
69503         * math/tst-CMPLX.c: New file.
69505         * math/complex.h (CMPLXL): Fix typo.
69507         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
69508         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
69509         GLIBC_2.16.
69510         * debug/tst-chk1.c: Add poll and ppoll tests.
69511         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
69512         * include/sys/poll.h: Add hidden proto for ppoll.
69513         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
69514         * sysdeps/mach/hurd/ppoll.c: Likewise.
69515         * io/ppoll.c: Likewise.
69516         * debug/poll_chk.c: New file.
69517         * debug/ppoll_chk.c: New file.
69518         * include/bits/poll2.h: New file.
69519         * io/bits/poll2.h: New file.
69521         [BZ #1350]
69522         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
69524         * configure.in: static is always set to yes.  Remove.
69525         * config.make.in: Don't set build-static.
69526         * Makeconfig: Remove use of build-static.
69527         * dlfcn/Makefile: Likewise.
69528         * elf/Makefile: Likewise.
69529         * math/Makefile: Likewise.
69530         * misc/Makefile: Likewise.
69531         * nptl/Makefile: Likewise.
69532         * sysdeps/mach/hurd/Makefile: Likewise.
69534         * configure.in: PWD_P is not used anymore.
69535         * config.make.in: Remove PWD_P entry.
69537         * configure.in: Remove last remnants of RANLIB.
69538         No need to check for signed size_t anymore.
69539         Don't set libc_commonpagesize and libc_relro_required here for Alpha
69540         and IA-64.
69541         Remove __builtin_expect test because we require at least gcc 3.4.
69542         * aclocal.m4: Likewise.
69544         * wcsmbs/mbrtoc16.c: Implement using towc function.
69545         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
69546         * wcsmbs/wcsmbsload.c: Likewise.
69547         * iconv/gconv_simple.c: Likewise.
69548         * iconv/gconv_int.h: Likewise.
69549         * iconv/gconv_builtin.h: Likewise.
69550         * iconv/iconv_prog.c: Remove CHAR16 handling.
69552         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
69554         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
69556         * configure.in: Remove --with-elf and --enable-bounded options.
69557         Dont set base_machine for ia64.  More non-ELF conditions removed.
69558         Remove testing and setting of leading underscore information.
69559         * config.make.in (build-bounded): Set to no.
69560         * config.h.in: Remove NO_UNDERSCORES entry.
69561         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
69562         them.
69563         * csu/start.c: Remove !NO_UNDERSCORE code.
69564         * locale/localeinfo.h: Likewise.
69565         * sysdeps/generic/machine-gmon.h: Likewise.
69566         * sysdeps/generic/sysdep.h: Likewise.
69567         * sysdeps/i386/sysdep.h: Likewise.
69568         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69569         * sysdeps/mach/sysdep.h: Likewise.
69570         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69571         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69572         * sysdeps/sh/sysdep.h: Likewise.
69573         * sysdeps/sparc/sparc32/alloca.S: Likewise.
69574         * sysdeps/unix/i386/sysdep.S: Likewise.
69575         * sysdeps/unix/sparc/start.c: Likewise.
69576         * sysdeps/unix/sparc/sysdep.S: Likewise.
69577         * sysdeps/unix/sparc/sysdep.h: Likewise.
69578         * sysdeps/unix/start.c: Likewise.
69579         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69580         * sysdeps/x86_64/sysdep.h: Likewise.
69582 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
69584         [BZ #13553]
69585         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
69586         for non-gcc.
69587         * argp/argp-fmtstream.h: Use const instead __const.
69588         * argp/argp.h: Likewise.
69589         * assert/assert.h: Likewise.
69590         * bits/fenv.h: Likewise.
69591         * bits/sched.h: Likewise.
69592         * bits/sigset.h: Likewise.
69593         * bits/sigthread.h: Likewise.
69594         * catgets/nl_types.h: Likewise.
69595         * conform/data/pthread.h-data: Likewise.
69596         * crypt/crypt-private.h: Likewise.
69597         * crypt/crypt.h: Likewise.
69598         * crypt/crypt_util.c: Likewise.
69599         * ctype/ctype.h: Likewise.
69600         * debug/execinfo.h: Likewise.
69601         * debug/mbsnrtowcs_chk.c: Likewise.
69602         * debug/mbsrtowcs_chk.c: Likewise.
69603         * debug/wcsnrtombs_chk.c: Likewise.
69604         * debug/wcsrtombs_chk.c: Likewise.
69605         * debug/wcstombs_chk.c: Likewise.
69606         * dirent/dirent.h: Likewise.
69607         * dlfcn/dlfcn.h: Likewise.
69608         * elf/neededtest4.c: Likewise.
69609         * grp/grp.h: Likewise.
69610         * gshadow/gshadow.h: Likewise.
69611         * iconv/gconv.h: Likewise.
69612         * iconv/gconv_int.h: Likewise.
69613         * iconv/gconv_simple.c: Likewise.
69614         * iconv/iconv.h: Likewise.
69615         * iconv/loop.c: Likewise.
69616         * iconv/skeleton.c: Likewise.
69617         * include/aio.h: Likewise.
69618         * include/aliases.h: Likewise.
69619         * include/argz.h: Likewise.
69620         * include/arpa/inet.h: Likewise.
69621         * include/assert.h: Likewise.
69622         * include/dirent.h: Likewise.
69623         * include/dlfcn.h: Likewise.
69624         * include/execinfo.h: Likewise.
69625         * include/fcntl.h: Likewise.
69626         * include/fenv.h: Likewise.
69627         * include/glob.h: Likewise.
69628         * include/grp.h: Likewise.
69629         * include/libintl.h: Likewise.
69630         * include/mntent.h: Likewise.
69631         * include/netdb.h: Likewise.
69632         * include/pwd.h: Likewise.
69633         * include/rpc/netdb.h: Likewise.
69634         * include/sched.h: Likewise.
69635         * include/search.h: Likewise.
69636         * include/shadow.h: Likewise.
69637         * include/signal.h: Likewise.
69638         * include/stdio.h: Likewise.
69639         * include/stdlib.h: Likewise.
69640         * include/string.h: Likewise.
69641         * include/sys/socket.h: Likewise.
69642         * include/sys/stat.h: Likewise.
69643         * include/sys/statfs.h: Likewise.
69644         * include/sys/statvfs.h: Likewise.
69645         * include/sys/syslog.h: Likewise.
69646         * include/sys/time.h: Likewise.
69647         * include/sys/uio.h: Likewise.
69648         * include/time.h: Likewise.
69649         * include/unistd.h: Likewise.
69650         * include/utmp.h: Likewise.
69651         * include/wchar.h: Likewise.
69652         * include/wctype.h: Likewise.
69653         * inet/aliases.h: Likewise.
69654         * inet/arpa/inet.h: Likewise.
69655         * inet/netinet/ether.h: Likewise.
69656         * inet/netinet/in.h: Likewise.
69657         * intl/libintl.h: Likewise.
69658         * io/bits/fcntl2.h: Likewise.
69659         * io/fcntl.h: Likewise.
69660         * io/ftw.h: Likewise.
69661         * io/sys/poll.h: Likewise.
69662         * io/sys/stat.h: Likewise.
69663         * io/sys/statfs.h: Likewise.
69664         * io/sys/statvfs.h: Likewise.
69665         * io/utime.h: Likewise.
69666         * libio/bits/stdio.h: Likewise.
69667         * libio/bits/stdio2.h: Likewise.
69668         * libio/libio.h: Likewise.
69669         * libio/libioP.h: Likewise.
69670         * libio/stdio.h: Likewise.
69671         * locale/lc-ctype.c: Likewise.
69672         * locale/locale.h: Likewise.
69673         * login/utmp.h: Likewise.
69674         * malloc/arena.c: Likewise.
69675         * malloc/malloc.c: Likewise.
69676         * malloc/malloc.h: Likewise.
69677         * malloc/mcheck.c: Likewise.
69678         * malloc/mtrace.c: Likewise.
69679         * math/bits/mathcalls.h: Likewise.
69680         * math/fenv.h: Likewise.
69681         * math/math_private.h: Likewise.
69682         * misc/bits/error.h: Likewise.
69683         * misc/bits/syslog.h: Likewise.
69684         * misc/err.h: Likewise.
69685         * misc/error.h: Likewise.
69686         * misc/fstab.h: Likewise.
69687         * misc/mntent.h: Likewise.
69688         * misc/regexp.h: Likewise.
69689         * misc/search.h: Likewise.
69690         * misc/sgtty.h: Likewise.
69691         * misc/sys/mman.h: Likewise.
69692         * misc/sys/syslog.h: Likewise.
69693         * misc/sys/uio.h: Likewise.
69694         * misc/sys/xattr.h: Likewise.
69695         * misc/ttyent.h: Likewise.
69696         * nis/rpcsvc/ypclnt.h: Likewise.
69697         * nss/nss.h: Likewise.
69698         * posix/bits/unistd.h: Likewise.
69699         * posix/fnmatch.h: Likewise.
69700         * posix/glob.h: Likewise.
69701         * posix/sched.h: Likewise.
69702         * posix/spawn.h: Likewise.
69703         * posix/sys/wait.h: Likewise.
69704         * posix/unistd.h: Likewise.
69705         * posix/wordexp.h: Likewise.
69706         * pwd/pwd.h: Likewise.
69707         * resolv/netdb.h: Likewise.
69708         * resource/sys/resource.h: Likewise.
69709         * rt/aio.h: Likewise.
69710         * rt/bits/mqueue2.h: Likewise.
69711         * rt/mqueue.h: Likewise.
69712         * shadow/shadow.h: Likewise.
69713         * signal/signal.h: Likewise.
69714         * socket/send.c: Likewise.
69715         * socket/sendto.c: Likewise.
69716         * socket/sys/socket.h: Likewise.
69717         * stdio-common/printf.h: Likewise.
69718         * stdlib/bits/stdlib.h: Likewise.
69719         * stdlib/fmtmsg.h: Likewise.
69720         * stdlib/monetary.h: Likewise.
69721         * stdlib/stdlib.h: Likewise.
69722         * stdlib/ucontext.h: Likewise.
69723         * streams/stropts.h: Likewise.
69724         * string/argz.h: Likewise.
69725         * string/bits/string2.h: Likewise.
69726         * string/string.h: Likewise.
69727         * string/strings.h: Likewise.
69728         * sunrpc/rpc/auth.h: Likewise.
69729         * sunrpc/rpc/auth_des.h: Likewise.
69730         * sunrpc/rpc/clnt.h: Likewise.
69731         * sunrpc/rpc/netdb.h: Likewise.
69732         * sunrpc/rpc/pmap_clnt.h: Likewise.
69733         * sunrpc/rpc/xdr.h: Likewise.
69734         * sysdeps/generic/inttypes.h: Likewise.
69735         * sysdeps/generic/net/if.h: Likewise.
69736         * sysdeps/generic/sys/swap.h: Likewise.
69737         * sysdeps/gnu/net/if.h: Likewise.
69738         * sysdeps/gnu/utmpx.h: Likewise.
69739         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
69740         * sysdeps/i386/i486/bits/string.h: Likewise.
69741         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
69742         * sysdeps/s390/bits/string.h: Likewise.
69743         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
69744         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
69745         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
69746         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
69747         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
69748         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
69749         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
69750         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
69751         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
69752         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
69753         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
69754         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
69755         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
69756         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
69757         * sysdeps/unix/sysv/linux/readv.c: Likewise.
69758         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
69759         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
69760         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69761         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
69762         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
69763         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69764         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
69765         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
69766         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
69767         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
69768         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
69769         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
69770         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69771         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
69772         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
69773         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
69774         * sysvipc/sys/ipc.h: Likewise.
69775         * sysvipc/sys/msg.h: Likewise.
69776         * sysvipc/sys/sem.h: Likewise.
69777         * sysvipc/sys/shm.h: Likewise.
69778         * termios/termios.h: Likewise.
69779         * time/sys/time.h: Likewise.
69780         * time/time.h: Likewise.
69781         * wcsmbs/bits/wchar2.h: Likewise.
69782         * wcsmbs/uchar.h: Likewise.
69783         * wcsmbs/wchar.h: Likewise.
69784         * wctype/wctype.h: Likewise.
69786         [BZ #13551]
69787         * Makeconfig: Remove all but ELF support including AIX support.
69788         * Makerules: Likewise.
69789         * config.h.in: Likewise.
69790         * config.make.in: Likewise.
69791         * configure: Likewise.
69792         * configure.in: Likewise.
69793         * csu/Makefile: Likewise.
69794         * csu/version.c: Likewise.
69795         * debug/Makefile: Likewise.
69796         * dlfcn/Makefile: Likewise.
69797         * elf/Makefile: Likewise.
69798         * extra-lib.mk: Likewise.
69799         * iconv/Makefile: Likewise.
69800         * include/libc-symbols.h: Likewise.
69801         * include/shlib-compat.h: Likewise.
69802         * resolv/Makefile: Likewise.
69803         * resolv/res_libc.c: Likewise.
69804         * rt/Makefile: Likewise.
69805         * sysdeps/i386/asm-syntax.h: Likewise.
69806         * sysdeps/i386/sysdep.h: Likewise.
69807         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69808         * sysdeps/mach/sysdep.h: Likewise.
69809         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
69810         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
69811         * sysdeps/s390/asm-syntax.h: Likewise.
69812         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69813         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69814         * sysdeps/sh/sysdep.h: Likewise.
69815         * sysdeps/unix/sparc/sysdep.h: Likewise.
69816         * sysdeps/wordsize-32/divdi3.c: Likewise.
69817         * sysdeps/x86_64/sysdep.h: Likewise.
69819         * argp/Versions: Remove _argp_unlock_xxx.
69821         [BZ #13559]
69822         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
69823         * abilist/libBrokenLocale.abilist: Likewise.
69824         * abilist/libanl.abilist: Likewise.
69825         * abilist/libc.abilist: Likewise.
69826         * abilist/libcrypt.abilist: Likewise.
69827         * abilist/libdl.abilist: Likewise.
69828         * abilist/libm.abilist: Likewise.
69829         * abilist/libnsl.abilist: Likewise.
69830         * abilist/libpthread.abilist: Likewise.
69831         * abilist/libresolv.abilist: Likewise.
69832         * abilist/librt.abilist: Likewise.
69833         * abilist/libthread_db.abilist: Likewise.
69834         * abilist/libutil.abilist: Likewise.
69835         * abilist/libnss_db.abilist: New file.
69837         * scripts/abilist.awk: Add support for indirect functions.
69839         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
69841         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
69843         * shlib-versions: Remove entries for ports architectures.
69845         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
69846         files in ports.
69847         * elf/stackguard-macros.h: Remove support for IA-64.
69848         * elf/tst-auditmod1.c: Likewise.
69849         * sysdeps/generic/ldsodefs.h: Likewise.
69851         * sysdeps/unix/sysv/linux/configure.in: Ports should define
69852         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
69853         configure files.
69855         [BZ #13552]
69856         * configure.in: Remove --enable-omitfp support.
69857         * FAQ.in: Adjust.
69858         * config.make.in: Likewise.
69859         * Makeconfig: Likewise.
69860         * manual/install.texi: Likewise.
69862         In case anyone cares, the IA-64 architecture could move to ports.
69863         * sysdeps/ia64/*: Removed.
69864         * sysdeps/unix/sysv/linux/ia64/*: Removed.
69865         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
69867         [BZ #13555]
69868         * configure.in: Remove entries for unsupported architectures.
69870         [BZ #13533]
69871         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
69872         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
69873         routines.
69874         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
69875         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
69876         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
69877         fall back to using wcrtomb.
69878         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
69879         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
69880         renaming.
69881         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
69882         * wcsmbs/tst-c16c32-1.c: New file.
69884         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
69885         local variable.
69887         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
69889         * elf/tst-unique3.cc: Add explicit declaration of gets.
69890         * elf/tst-unique3lib.cc: Likewise.
69891         * elf/tst-unique3lib2.cc: Likewise.
69892         * elf/tst-unique4.cc: Likewise.
69894         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
69896 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
69898         [BZ #13566]
69899         * assert/assert.h (static_assert): Don't define for C++.
69900         * libio/stdio.h (gets): Do declare for C++ <= C++11.
69901         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
69903 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
69905         * iconv/loop.c (single loop): Fix assertion in storing of
69906         remaining bytes.
69908         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
69910 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
69912         * posix/getconf.c: Update copyright year.
69913         * nss/getent.c: Likewise.
69914         * nss/makedb.c: Likewise.
69915         * iconv/iconvconfig.c: Likewise.
69916         * iconv/iconv_prog.c: Likewise.
69917         * elf/ldconfig.c: Likewise.
69918         * elf/pldd.c: Likewise.
69919         * elf/sotruss.ksh: Likewise.
69920         * catgets/gencat.c: Likewise.
69921         * csu/version.c: Likewise.
69922         * elf/ldd.bash.in: Likewise.
69923         * elf/sprof.c (print_version): Likewise.
69924         * locale/programs/locale.c: Likewise.
69925         * locale/programs/localedef.c: Likewise.
69926         * login/programs/pt_chown.c: Likewise.
69927         * nscd/nscd.c (print_version): Likewise.
69928         * debug/xtrace.sh: Likewise.
69929         * malloc/memusage.sh: Likewise.
69930         * malloc/mtrace.pl: Likewise.
69931         * debug/catchsegv.sh: Likewise.
69933 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
69935         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
69936         pure attribute.
69938 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
69940         [BZ #13533]
69941         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
69942         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
69943         transformations.
69944         * iconv/gconv_int.h: Likewise.
69945         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
69946         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
69947         from libc for GLIBC_2.16.
69948         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
69949         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
69950         * wcsmbs/uchar.h: Really define mbstate_t.
69951         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
69952         * wcsmbs/c16rtomb.c: New file.
69953         * wcsmbs/mbrtoc16.c: New file.
69954         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
69955         for C/POSIX locale.
69956         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
69957         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
69959         * wcsmbs/wchar.h: Add missing __restrict.
69961 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69963         [BZ #13532]
69964         * time/Makefile (routines): Add timespec_get.
69965         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
69966         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
69967         timespec for ISO C11.
69968         * time/timespec_get.c: New file.
69969         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
69970         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
69972         [BZ #13531]
69973         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
69974         * stdlib/stdlib.h: Declare aligned_alloc.
69975         * Versions.def: Add GLIBC_2.16 for libc.
69976         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
69978         [BZ 13527]
69979         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
69980         ISO C11.
69982         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
69983         code.
69985         [BZ #13528]
69986         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
69988         [BZ #13529]
69989         * assert/assert.h (static_assert): Define.
69991         * version.h: Update for 2.16 development version.
69993         [BZ #13526]
69994         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
69995         _ISOC11_SOURCE.
69997         * version.h (RELEASE): Bump for 2.15 release.
69998         * include/features.h (__GLIBC_MINOR__): Bump to 15.
70000         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
70001         Patch by Marek Polacek <mpolacek@redhat.com>.
70003         * bits/byteswap.h: Protect long long constants with __extension__.
70004         * sysdeps/i386/bits/byteswap.h: Likewise.
70005         * sysdeps/ia64/bits/byteswap.h: Likewise.
70006         * sysdeps/s390/bits/byteswap.h: Likewise.
70007         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70009 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70011         [BZ #13540]
70012         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
70013         destination buffer.
70014         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
70016 2011-12-23  Marek Polacek  <polacek@redhat.com>
70018         * elf/dl-addr.c (determine_info): Add inline keyword.
70019         * elf/tst-auditmod4b.c (check_avx): Likewise.
70020         * elf/tst-auditmod6b.c (check_avx): Likewise.
70021         * elf/tst-auditmod6c.c (check_avx): Likewise.
70022         * elf/tst-auditmod7b.c (check_avx): Likewise.
70024 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
70026         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
70027         !__SSE_MATH__.
70029 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70031         [BZ #13540]
70032         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
70033         processing for last bytes.
70035 2011-08-06  Bruno Haible  <bruno@clisp.org>
70037         [BZ #13061]
70038         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
70039         U+0385, not to U+1FEE.
70041         [BZ #13062]
70042         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
70043         entry for U+00A5 U+0301.
70045 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70047         [BZ #13166]
70048         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
70049         buffer for the output is too small.
70051         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
70052         optimization.
70054         [BZ #13185]
70055         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
70056         SSE flags if possible.
70058 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70060         [BZ #13540]
70061         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
70062         processing for last bytes.
70064 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
70066         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
70067         (syscall-list-default-options, syscall-list-default-condition)
70068         (syscall-list-includes): Define.
70069         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
70070         list of ABIs and options and #if conditions for each ABI.  Do not
70071         handle common syscalls between ABIs specially.
70072         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
70073         Remove.
70074         (syscall-list-variants, syscall-list-32bit-options)
70075         (syscall-list-32bit-condition, syscall-list-64bit-options)
70076         (syscall-list-64bit-condition): Define.
70077         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
70078         (syscall-list-variants, syscall-list-32bit-options)
70079         (syscall-list-32bit-condition, syscall-list-64bit-options)
70080         (syscall-list-64bit-condition): Define.
70081         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
70082         Remove.
70083         (syscall-list-variants, syscall-list-32bit-options)
70084         (syscall-list-32bit-condition, syscall-list-64bit-options)
70085         (syscall-list-64bit-condition): Define.
70086         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
70087         Remove.
70088         (syscall-list-variants, syscall-list-32bit-options)
70089         (syscall-list-32bit-condition, syscall-list-64bit-options)
70090         (syscall-list-64bit-condition): Define.
70092 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
70094         * locale/iso-639.def: Add brx entry.
70096         [BZ #13328]
70097         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
70098         Proposed by Mariusz_Cukr <marcukr@op.pl>.
70100         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
70101         __feraiseexcept_renamed.
70103 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70105         [BZ #13538]
70106         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
70107         EPOLLET with unsigned values.
70108         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70109         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70111         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
70112         to large cancellation.
70113         * math/s_cacoshf.c: Likewise.
70114         * math/s_cacoshl.c: Likewise.
70116 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
70118         [BZ #13305]
70119         [BZ #12786]
70120         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
70121         * math/s_cacoshf.c: Likewise.
70122         * math/s_cacoshl.c: Likewise.
70124 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
70126         [BZ #13439]
70127         * iconv/gconv.h: Define __GCONV_SWAP.
70128         * iconvdata/unicode.c: The swap bit must be stored in __flags.
70129         * iconvdata/utf-16.c: Likewise.
70130         * iconvdata/utf-32.c: Likewise.
70132 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
70134         [BZ #13524]
70135         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
70136         numerator after shifting it by one limb.
70138 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
70140         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
70141         under [__USE_EXTERN_INLINES].
70143 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70145         [BZ #13446]
70146         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
70148 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70150         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
70151         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
70152         optimized code.
70153         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
70154         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
70155         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
70156         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
70157         for strncasecmp/strncasecmp_l compilation.
70158         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
70159         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
70161 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
70163         [BZ #13484]
70164         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
70165         of __asm__.
70167 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
70169         [BZ #13506]
70170         * time/tzfile.c (__tzfile_read): Check values from file header.
70172 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70174         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
70175         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
70176         * powerpc/powerpc32/dl-start.S: Likewise.
70177         * powerpc/powerpc32/elf/start.S: Likewise.
70178         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
70179         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
70180         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
70181         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
70182         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
70183         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
70184         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
70185         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
70186         * powerpc/powerpc32/fpu/s_round.S: Likewise.
70187         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
70188         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
70189         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
70190         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
70191         * powerpc/powerpc32/memset.S: Likewise.
70192         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
70193         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70194         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70195         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70196         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70197         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
70198         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
70199         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
70200         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
70201         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
70202         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
70203         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70204         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70206 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70208         * math/libm-test.inc: Added more nearbyint tests.
70209         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
70210         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
70211         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
70212         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
70214 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
70216         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
70217         FD_CLOEXEC.
70219 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70221         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
70222         Add wcscpy-ssse3 wcscpy-c.
70223         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
70224         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
70225         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
70226         * sysdeps/x86_64/wcschr.S: New file.
70227         * sysdeps/x86_64/wcsrchr.S: New file.
70228         * string/test-strcmp.c: Remove checking of wcscmp function for
70229         wrong alignments.
70230         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
70231         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
70232         wcsrchr-sse2 wcsrchr-c.
70233         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
70234         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
70235         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
70236         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
70237         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
70238         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
70239         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
70240         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
70241         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
70242         * wcsmbc/wcschr.c (WCSCHR): New macro.
70244 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70246         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
70247         * wcsmbs/test-wcsrchr.c: New file.
70248         * string/test-strrchr.c: Add wcsrchr support.
70249         (WIDE): New macro.
70250         * wcsmbs/test-wcscpy.c: New file.
70251         * string/test-strcpy.c: Add wcscpy support.
70252         (WIDE): New macro.
70254 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
70256         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
70257         the inner loop.
70259 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
70261         [BZ #13472]
70262         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
70264 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
70266         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
70267         Minor optimizations.
70269         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
70270         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
70271         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
70273 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
70275         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
70276         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
70277         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
70278         for gcc to avoid warnings.
70279         * inet/Makefile (tests): Add tst-checks.
70280         * inet/tst-checks.c: New file.
70282         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
70283         warning.
70285         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
70286         __wmemcmp_sse2.
70288         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
70289         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
70291         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
70293 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
70295         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
70296         problem.
70298         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
70300 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
70302         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
70303         conditional on GCC version.
70304         (__arch_compare_and_exchange_val_8_acq)
70305         (__arch_compare_and_exchange_val_16_acq)
70306         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
70307         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
70308         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
70310 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
70312         * sysdeps/sh/backtrace.c: New file.
70314 2011-12-02  Andreas Schwab  <schwab@redhat.com>
70316         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
70317         parenthesis.
70319 2011-12-01  Andreas Schwab  <schwab@redhat.com>
70321         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
70322         falling back to utime.
70324 2011-11-30  Andreas Schwab  <schwab@redhat.com>
70326         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
70327         expectations for float.
70329 2011-11-29  Andreas Schwab  <schwab@redhat.com>
70331         * locale/weight.h (findidx): Add parameter len.
70332         * locale/weightwc.h (findidx): Likewise.
70333         * posix/fnmatch_loop.c (FCT): Adjust caller.
70334         * posix/regcomp.c (build_equiv_class): Likewise.
70335         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
70336         * posix/regexec.c (check_node_accept_bytes): Likewise.
70337         * string/strcoll_l.c (STRCOLL): Likewise.
70338         * string/strxfrm_l.c (STRXFRM): Likewise.
70340 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
70342         * Makefile.in: Remove CVSOPT handling.
70343         * configure.in: Remove use of AC_REVISION.
70344         * iconvdata/Makefile (distribute): No need to filter out CVS.
70345         * scripts/list-sources.sh: Remove CVS, subversion and monotone
70346         handling.
70348 2011-11-16  Andreas Schwab  <schwab@redhat.com>
70350         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
70351         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
70352         [USE_AS_STRNCASECMP_L]: Likewise.
70353         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
70354         NO_TLS_DIRECT_SEG_REFS.
70355         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
70356         Fix argument offsets for non-PIC.
70357         [USE_AS_STRNCASECMP_L]: Likewise.
70358         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
70359         NO_TLS_DIRECT_SEG_REFS.
70361 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70363         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
70364         O_CLOEXEC.
70365         * locale/loadlocale.c (_nl_load_locale): Likewise.
70367 2011-11-15  Andreas Schwab  <schwab@redhat.com>
70369         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
70370         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
70371         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
70372         (SYSCALL_GETTIME): Set errno on error.
70374         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
70375         count references to noai6ai_cached.
70377 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70379         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
70381         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
70382         FD_CLOEXEC for /proc/self/maps.
70384         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
70385         FD_CLOEXEC for /proc/meminfo.
70387         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
70388         gai.conf.
70390         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
70391         FD_CLOEXEC for given file.
70393         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
70395         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
70396         FD_CLOEXEC for /etc/hosts.
70397         (_gethtent): Likewise.
70399         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
70401         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
70402         cancellation and set FD_CLOEXEC for /etc/netgroup.
70404         * nss/nss_files/files-key.c (search): Don't allow cancellation when
70405         reading /etc/publickey.
70407         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
70408         allow cancellation when reading /etc/group.
70410         * nss/nss_files/files-alias.c (internal_setent): Don't allow
70411         cancellation.
70412         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
70414         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
70415         when using data file.
70417         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
70419         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
70420         (write_nis_obj): Use "c" and "e" in fopen.
70422         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
70424         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
70426         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
70428         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
70430         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
70431         locale.alias.
70433         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
70435         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
70437         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
70439         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
70440         file parsing and set FD_CLOEXEC.
70442 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70444         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
70446 2011-11-14  Andreas Schwab  <schwab@redhat.com>
70448         * malloc/arena.c (arena_get2): Don't call reused_arena when
70449         _int_new_arena failed.
70451 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70453         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
70454         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
70455         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
70456         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70457         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70458         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
70459         to compile strcasecmp and strncasecmp.
70460         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
70461         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
70463         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
70465 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
70467         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
70468         locale-defines.sym to gen-as-const-headers.
70469         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
70470         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
70471         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
70472         to compile strcasecmp and strncasecmp.
70473         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
70474         strcasecmp_l and strncasecmp_l.
70475         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
70476         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
70477         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
70478         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
70479         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
70480         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
70481         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
70482         * sysdeps/i386/i686/multiarch/strncase.S: New file.
70483         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
70484         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
70485         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
70487 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
70489         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
70490         result of SYSDEP_GETTIME_CPU to retval.
70491         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
70492         parameter list to macro.  Remove trailing semicolon.  Adjust users.
70494         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
70495         variable.
70497         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
70498         mantissa words.
70499         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
70501         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
70502         from unused variable.
70504         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
70505         DWARF definitions.
70506         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
70507         for assembling.
70509         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
70510         over namespaces.
70512         * sunrpc/rpc_prot.c (rejected): Fix case value.
70514         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
70515         unsigned long long int to avoid warnings in shift.
70517         * posix/regex_internal.c (re_string_reconstruct): Actually use result
70518         of use of trans.
70519         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
70520         variable tmp.
70522         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
70523         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
70524         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
70526         * nis/nis_table.c (nis_list): Use variable of correct type for
70527         result of __follow_path call.
70529 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70531         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
70532         of math functions ceil, trunc, floor, round, and sqrt, when
70533         avaliable on the platform.
70534         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
70535         name clash.
70536         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70537         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70538         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70540 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
70542         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
70543         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70545 2011-11-11  Roland McGrath  <roland@hack.frob.com>
70547         * include/unistd.h: Fix __readlink return type.
70548         Reported by Chris Metcalf <cmetcalf@tilera.com>.
70550 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
70552         * stdlib/ucontext.h: Undo last change for makecontext.
70554 2011-11-11  Andreas Schwab  <schwab@redhat.com>
70556         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
70558         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
70559         * setjmp/setjmp.h: Mark functions as non-leaf.
70560         * setjmp/bits/setjmp2.h: Likewise.
70561         * stdlib/ucontext.h: Likewise.
70563 2011-11-10  Andreas Schwab  <schwab@redhat.com>
70565         * malloc/arena.c (_int_new_arena): Don't increment narenas.
70566         (reused_arena): Don't check arena limit.
70567         (arena_get2): Atomically check arena limit.
70569 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
70571         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
70572         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
70574         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
70575         instructions.
70577 2011-11-07  Andreas Schwab  <schwab@redhat.com>
70579         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
70580         handler when locking.
70582         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70583         Fix size of allocated buffer.
70585 2011-11-04  Andreas Schwab  <schwab@redhat.com>
70587         [BZ #10103]
70588         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
70589         declarations for long double functions.
70590         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
70592         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
70594 2011-11-03  Andreas Schwab  <schwab@redhat.com>
70596         * nscd/nscd.c (main): Don't start AVC thread until credentials are
70597         installed.
70599         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
70600         is disabled.
70602 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70604         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
70606 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70608         * include/alloca.h (stackinfo_alloca_round): Define.
70609         (extend_alloca): Use it.
70610         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
70611         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
70612         here.
70614         * scripts/check-local-headers.sh: Ignore libaudit.h.
70616         * nscd/Makefile (extra-objs): Make recursively expanded.
70618 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
70620         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
70621         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
70623         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
70624         * posix/tst-rfc3484-2.c: Likewise.
70625         * posix/tst-rfc3484-3.c: Likewise.
70627         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70628         process_vm_writev.
70629         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
70630         process_vm_writev.
70631         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
70632         process_vm_writev from libc using GLIBC_2.15 version.
70634         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
70636 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
70638         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
70639         stack usage.
70641 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
70643         [BZ #13367]
70644         * nss/getent.c (initgroups_keys): Show error message in case no group
70645         names are given.
70647         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
70648         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
70649         __bump_nl_timestamp.
70650         * nscd/connections (nscd_init): When host database is served open
70651         netlink socket and request notification about configuration changes.
70652         (main_loop_poll): Track netlink file descriptor and bump timestamp
70653         in case data becomes available.
70654         (main_loop_epoll): Likewise.
70655         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
70656         (database_pers_head): Add extra_data fileds.
70657         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
70658         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
70659         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
70660         Adjust caller.
70661         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
70662         in6ai data, call __free_in6ai.
70663         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
70664         Add -DHAVE_NETLINK.
70665         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
70666         interface information.  Reuse previous data if netlink timestamp
70667         is not changed.
70668         (__bump_nl_timestamp): New function.
70669         (__free_in6ai): New function.
70671 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
70673         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
70674         close_not_cancel_no_status here.
70675         (__check_pf): Reorganize code a bit to not call close twice if OOM.
70677 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70679         [BZ #13276]
70680         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
70681         return value.
70683         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
70684         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
70685         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
70687 2011-07-03  Andreas Jaeger  <aj@suse.de>
70689         [BZ #10709]
70690         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
70691         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
70692         * math/libm-test.inc (sin_test): Add test case.
70694 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70696         [BZ #13337]
70697         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
70698         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70700         * elf/chroot_canon.c (chroot_canon): Cleanups.
70702         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
70704         [BZ #13335]
70705         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
70706         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70708         * string/test-strchr.c: Make usable for strchrnul testing.
70709         * string/test-strchrnul.c: New file.
70710         * string/Makefile (strop-tests): Add strchrnul.
70712         * po/it.po: Update from translation team.
70713         * po/es.po: Likewise.
70715 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
70717         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
70718         the three constants needed as parameters.  Drop the others.
70719         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
70720         __m128i_strloadu_tolower.
70721         Create and initialize variable zero and use it in all the places
70722         where _mm_setzero_si128 was used.
70724         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
70725         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
70726         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
70727         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
70728         anymore.
70729         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
70730         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
70731         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
70732         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
70733         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
70734         __mpranred, __mptan.
70735         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
70736         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
70737         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
70738         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
70739         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
70740         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
70741         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
70742         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
70743         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
70745 2011-10-28  Andreas Schwab  <schwab@redhat.com>
70747         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
70748         redefine if SHARED.
70749         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
70751         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
70752         wide char related routines to wcsmbs subdir.
70754 2011-10-27  Andreas Schwab  <schwab@redhat.com>
70756         [BZ #13344]
70757         * misc/sys/cdefs.h (__THROWNL): Define.
70758         * posix/unistd.h: Use __THREADNL instead of __THREAD
70759         for memory synchronization functions.
70761 2011-10-26  Roland McGrath  <roland@hack.frob.com>
70763         [BZ #13349]
70764         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
70765         doesn't exist.
70766         * manual/stdio.texi (Obstack Streams): Node removed.
70768 2011-10-26  Andreas Schwab  <schwab@redhat.com>
70770         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
70771         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70772         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70774         * math/math_private.h (math_force_eval): Allow non-addressable
70775         arguments.
70776         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
70778 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70780         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
70781         file is not needed.
70783         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
70784         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
70785         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70786         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70787         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70788         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70789         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70790         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
70791         Add AVX variants.
70792         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
70793         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
70794         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
70795         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
70796         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
70797         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
70798         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
70799         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
70800         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
70801         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
70802         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
70803         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
70804         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
70805         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
70806         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
70807         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
70808         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
70809         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
70810         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
70812         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
70813         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
70815         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
70816         place.  Use VEX encoding when compiling for AVX.
70818 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70820         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
70821         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
70823         * string/test-strchr.c (do_test): Don't generate NUL bytes.
70825 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70827         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
70828         useless if() expression.
70829         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70830         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70831         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70832         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70833         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70834         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70835         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70836         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70837         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70838         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70839         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70840         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70841         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70842         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70843         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70844         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70845         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70846         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70847         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70849         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
70851 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70853         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
70854         condition.
70855         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70857 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70859         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
70860         .text section.  Avoid duplicate constants.
70861         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70862         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70863         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70864         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70865         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70866         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70867         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70868         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70869         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
70870         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
70871         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
70872         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70873         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
70874         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
70875         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
70876         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
70877         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
70878         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
70879         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70880         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70881         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70882         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70883         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70884         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
70885         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
70886         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
70887         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
70888         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
70889         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
70890         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
70891         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
70892         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
70893         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70894         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
70895         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
70896         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
70897         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
70898         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
70899         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
70900         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
70901         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
70902         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
70903         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
70904         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
70905         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
70907 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
70909         * sysdeps/x86_64/dla.h: Move to ...
70910         * sysdeps/x86_64/fpu/dla.h: ...here.
70911         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
70912         situations.  Use __builtin_fma only for gcc 4.6 and up.
70914         * config.make.in: Add have-mfma4 entry.
70915         * configure.in: Substitute libc_cv_cc_fma4.
70916         * math/Makefile (dbl-only-routines): Add sincostab.
70917         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
70918         Use __sincostab not sincos.
70919         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
70920         name is a macro.
70921         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70922         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70923         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70924         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
70925         using __copysign.
70926         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
70927         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
70928         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
70929         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
70930         and __inv.
70931         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
70932         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
70933         __copysign.
70934         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
70935         define aliases when function name is a macro.
70936         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
70937         sysdeps/ieee754/dbl-64/sincos.tbl.
70938         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
70939         fma4-enabled routines.
70940         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
70941         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
70942         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
70943         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
70944         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
70945         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
70946         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
70947         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
70948         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
70949         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
70950         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
70951         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
70952         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
70953         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
70954         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
70955         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
70956         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
70957         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
70958         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
70959         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
70960         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
70961         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
70962         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
70963         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
70964         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
70965         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
70966         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
70967         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
70968         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
70969         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
70971         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
70972         rename.
70973         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70974         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70975         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70976         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70977         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70978         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70979         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70980         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70982 2011-10-24  Andreas Schwab  <schwab@redhat.com>
70984         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
70986 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70988         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
70990         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
70991         prediction.
70992         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
70994         * string/strnlen.c: Don't define STRNLEN, reverse logic.
70995         Remove unused variable magic_bits.
70996         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
70998         * string/strnlen.c: Define and use STRNLEN macro.
70999         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
71000         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
71001         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
71002         * wcsmbs/wcslen.c: Define and use WCSLEN.
71003         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
71004         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
71005         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
71006         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
71007         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
71008         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
71009         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71011 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71013         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71014         strnlen-sse2-no-bsf.
71015         Rename strlen-no-bsf to strlen-sse2-no-bsf.
71016         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
71017         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
71018         Add strnlen support.
71019         (USE_AS_STRNLEN): New macro.
71020         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
71021         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
71022         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
71023         * sysdeps/x86_64/wcslen.S: New file.
71025 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
71027         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71028         XMM-moves are used for copying on small sizes.
71030 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71032         * wcsmbs/Makefile (strop-tests): Add wcschr.
71033         * wcsmbs/test-wcschr.c: New file.
71034         * string/test-strchr.c: Update.
71035         Add wcschr support.
71036         (WIDE): New macro.
71038 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71040         * wcsmbs/Makefile (strop-tests): Add wcslen.
71041         * wcsmbs/test-wcslen.c: New file.
71042         * string/test-strlen.c: Update.
71043         Add wcslen support.
71044         (WIDE): New macro.
71046 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71048         * po/it.po: Update from translation team.
71050 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71052         * sysdeps/x86_64/wcscmp.S: Update.
71053         Fix wrong comparison semantics.
71054         wcscmp shall use signed comparison not unsigned.
71055         Don't use substraction to avoid overflow bug.
71056         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
71057         * wcsmbc/wcscmp.c: Likewise.
71058         * string/test-strcmp.c: Likewise.
71059         Add new tests to check cases with negative values.
71061 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
71063         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
71064         * sysdeps/x86_64/dla.h: ...here.  New file.
71065         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
71066         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71067         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71068         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71069         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71070         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71071         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71072         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71073         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71075 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
71077         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
71078         __ynl_finite aliases.
71080 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71082         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71084         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
71085         define DLA_FMA.
71086         [DLA_FMA] (EMULV): Use DLA_FMA.
71087         [DLA_FMA] (MUL12): Use EMULV.
71088         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
71089         that are not needed.
71090         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71091         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71092         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71093         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71094         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71095         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71096         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71098 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
71100         * math/s_nan.c: Undef __nan.
71101         * math/s_nanf.c: Undef __nanf.
71102         * math/s_nanl.c: Undef __nanl.
71103         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
71104         "math_private.h".
71106 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
71108         * math/s_catan.c: Add branch predictions.
71109         * math/s_catanf.c: Likewise.
71110         * math/s_catanh.c: Likewise.
71111         * math/s_catanhf.c: Likewise.
71112         * math/s_catanhl.c: Likewise.
71113         * math/s_catanl.c: Likewise.
71114         * math/s_cexp.c: Likewise.
71115         * math/s_cexpf.c: Likewise.
71116         * math/s_cexpl.c: Likewise.
71117         * math/s_clog.c: Likewise.
71118         * math/s_clog10.c: Likewise.
71119         * math/s_clog10f.c: Likewise.
71120         * math/s_clog10l.c: Likewise.
71121         * math/s_clogf.c: Likewise.
71122         * math/s_clogl.c: Likewise.
71123         * math/s_csqrt.c: Likewise.
71124         * math/s_csqrtf.c: Likewise.
71125         * math/s_csqrtl.c: Likewise.
71126         * math/s_ctanf.c: Likewise.
71127         * math/s_ctanh.c: Likewise.
71128         * math/s_ctanhf.c: Likewise.
71129         * math/s_ctanhl.c: Likewise.
71130         * math/s_ctanl.c: Likewise.
71132         * math/math_private.h: Define __nan, __nanf, __nanl.
71133         * math/s_cacosh.c: Include <math_private.h>.
71134         * math/s_cacoshl.c: Likewise.
71135         * math/s_casinh.c: Likewise.
71136         * math/s_casinhf.c: Likewise.
71137         * math/s_casinhl.c: Likewise.
71138         * math/s_ccos.c: Rely entire on ccosh.
71139         * math/s_ccosf.c: Rely entire on ccoshf.
71140         * math/s_ccosl.c: Rely entirely on ccoshl.
71141         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
71142         Remove tests for FE_INVALID.
71143         * math/s_ccoshf.c: Likewise.
71144         * math/s_ccoshl.c: Likewise.
71145         * math/s_csin.c: Likewise.
71146         * math/s_csinf.c: Likewise.
71147         * math/s_csinh.c Likewise.
71148         * math/s_csinhf.c: Likewise.
71149         * math/s_csinhl.c: Likewise.
71150         * math/s_csinl.c: Likewise.
71151         * math/s_ctan.c: Likewise.
71152         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
71153         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
71154         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
71156 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
71158         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
71159         compilation problems.
71161         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
71162         __builtin_expect.
71164 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
71166         * sysdeps/i386/configure.in: Test for -mfma4 option.
71167         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
71168         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
71169         COMMON_CPUID_INDEX_80000001.
71170         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
71171         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
71172         use it if FMA3 is not supported.
71173         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
71175         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
71176         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71178 2011-10-20  Andreas Schwab  <schwab@redhat.com>
71180         [BZ #12892]
71181         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
71182         it would create a cycle with a link time dependency.
71184 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
71186         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
71187         instruction.
71188         * string/Makefile (strop-tests): Add rawmemchr.
71189         * string/test-rawmemchr.c: New file.
71191         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
71192         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
71193         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
71194         when compiling str{,n}casecmp and when AVX is available.  Hook up
71195         new optimized code in initializers.
71197 2011-10-19  Andreas Schwab  <schwab@redhat.com>
71199         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
71200         __feraiseexcept instead of feraiseexcept.
71202 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
71204         * math/math_private.h: Define defaults for libc_fetestexcept and
71205         libc_feupdateenv.
71206         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
71207         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
71208         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71209         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71210         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71211         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71212         libc_fetestexcept and libc_feupdateenv.
71214         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
71215         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
71216         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
71217         * sysdeps/x86_64/fpu/math_private.h: Define special version of
71218         libc_feholdexcept_setround.
71220         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
71221         Add s_nearbyint-c and s_nearbyintf-c.
71222         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
71223         nearbyintf inlines.
71224         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
71225         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
71226         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
71227         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
71229         * math/math_private.h: Define defaults for libc_fegetround,
71230         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
71231         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
71232         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
71233         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
71234         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
71235         standard functions.
71236         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71237         Remove comments and hacks for old compiler versions.
71238         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71239         libc_fegetround, libc_fesetround, libc_feholdexcept, and
71240         libc_feholdexceptl.
71242 2011-10-18  Andreas Schwab  <schwab@redhat.com>
71244         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
71245         (__feraiseexcept_renamed): Add __NTH.
71246         (feraiseexcept): Add __NTH.  Rename local variables to fix
71247         namespace violations.
71249 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
71251         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
71253         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
71255         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
71256         recently added interfaces.
71257         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
71259         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
71260         about macro parameter expansion.
71262         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
71263         __NO_MATH_INLINES is defined.  Cleanups.
71265         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
71266         and __floorf is target has SSE4.1.
71267         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
71268         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
71269         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
71270         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
71272         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
71273         name.
71274         (floorf): Likewise.
71276         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
71278 2011-10-17  Andreas Schwab  <schwab@redhat.com>
71280         * misc/sys/cdefs.h: Fix last change.
71282         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
71283         database lookup.
71285 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
71287         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
71289         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
71290         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71291         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71292         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71293         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71294         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71295         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71296         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71297         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71298         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
71299         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
71300         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
71301         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
71302         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
71303         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
71304         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
71305         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
71306         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
71307         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
71308         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
71309         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
71310         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
71312         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
71313         ceil, ceilf, floor, floorf.
71315         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
71316         Perform IRELATIVE relocations last.
71318         * elf/do-rel.h: Add another parameter nrelative, replacing the
71319         local variable with the same name.  Change name of the function
71320         to end in Rel or Rela (uppercase).
71321         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
71322         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
71323         elf_dynamic_do_##reloc function.
71325 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71327         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
71328         is sufficient, at least on modern CPUs.
71330         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
71332         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
71333         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
71335         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
71336         __expl_finite.
71337         * math/bits/math-finite.h: Add entries for exp.
71338         * math/e_expl.c: Add __*_finite alias.
71339         * sysdeps/i386/fpu/e_exp.S: Likewise.
71340         * sysdeps/i386/fpu/e_expf.S: Likewise.
71341         * sysdeps/i386/fpu/e_expl.c: Likewise.
71342         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71343         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71344         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
71345         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
71346         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
71347         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71348         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71350         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
71351         is sufficient, at least on modern CPUs.
71353         * ctype/ctype-info.c (__ctype_init): Define.
71354         * include/ctype.h (__ctype_init): Declare.
71355         (__ctype_b_loc): The variable is always initialized.
71356         (__ctype_toupper_loc): Likewise.
71357         (__ctype_tolower_loc): Likewise.
71358         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
71359         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
71361 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
71363         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
71365         * configure.in: Also look in $cxxmachine/include for C++ system
71366         headers.
71368 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71370         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
71371         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
71372         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
71373         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
71374         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
71375         (USE_AS_WMEMCMP): New macro.
71376         Fixing indents.
71377         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
71378         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
71379         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
71380         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
71381         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71382         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
71383         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
71384         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
71385         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
71386         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
71387         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
71388         (USE_AS_WMEMCMP): New macro.
71389         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
71390         * sysdeps/string/test-memcmp.c: Update.
71391         Fix simple_wmemcmp.
71392         Add new tests.
71393         * wcsmbs/wmemcmp.c: Update.
71394         (WMEMCMP): New macro.
71395         Fix overflow bug.
71397 2011-10-12  Andreas Jaeger  <aj@suse.de>
71399         [BZ #13268]
71400         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
71402 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71404         * libio/iofwide.c (do_length): Avoid warning.
71406         * ctype/ctype.h (__isctype_f): Add missing __THROW.
71408 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
71410         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
71412         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
71413         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
71414         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
71415         * sysdeps/i386/i686/fpu/e_log.S: New file.
71416         * sysdeps/i386/i686/fpu/e_logf.S: New file.
71417         * sysdeps/i386/i686/fpu/e_logl.S: New file.
71419         * ctype/ctype.h: Add support for inlined isXXX functions when
71420         compiling C++ code.
71422 2011-10-14  Andreas Schwab  <schwab@redhat.com>
71424         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71426         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
71428 2011-10-13  Roland McGrath  <roland@hack.frob.com>
71430         [BZ #13291]
71431         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
71433 2011-10-13  Andreas Schwab  <schwab@redhat.com>
71435         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
71436         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
71437         feraiseexcept.
71439         * sysdeps/x86_64/memrchr.S: Check for zero size.
71441         * string/stratcliff.c: Add memrchr tests.
71443 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71445         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71446         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
71447         rawmemchr-sse2 rawmemchr-sse2-bsf.
71448         * sysdeps/i386/i686/multiarch/memchr.S: New file.
71449         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
71450         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
71451         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
71452         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
71453         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
71454         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
71455         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
71456         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
71457         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
71458         * string/memrchr.c (MEMRCHR): New macro.
71460 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
71462         Add integration with gcc's -ffinite-math-only and optimize wrapper
71463         functions in libm.
71464         * Versions.def: Define GLIBC_2.15 version for libm.
71465         * math/Makefile (headers): Add bits/math-finite.h.
71466         * math/bits/math-finite.h: New file.
71467         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
71468         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
71469         * math/e_acoshl.c: Add __*_finite alias.
71470         * math/e_acosl.c: Likewise.
71471         * math/e_asinl.c: Likewise.
71472         * math/e_atan2l.c: Likewise.
71473         * math/e_atanhl.c: Likewise.
71474         * math/e_coshl.c: Likewise.
71475         * math/e_exp10.c: Likewise.
71476         * math/e_exp10f.c: Likewise.
71477         * math/e_exp10l.c: Likewise.
71478         * math/e_exp2l.c: Likewise.
71479         * math/e_fmodl.c: Likewise.
71480         * math/e_gammal_r.c: Likewise.
71481         * math/e_hypotl.c: Likewise.
71482         * math/e_j0l.c: Likewise.
71483         * math/e_j1l.c: Likewise.
71484         * math/e_jnl.c: Likewise.
71485         * math/e_lgammal_r.c: Likewise.
71486         * math/e_log10l.c: Likewise.
71487         * math/e_log2l.c: Likewise.
71488         * math/e_logl.c: Likewise.
71489         * math/e_powl.c: Likewise.
71490         * math/e_sinhl.c: Likewise.
71491         * math/e_sqrtl.c: Likewise.
71492         * math/e_scalb.c: Completely rewritten and optimized.
71493         * math/e_scalbf.c: Likewise.
71494         * math/e_scalbl.c: Likewise.
71495         * math/w_acos.c: Likewise.
71496         * math/w_acosf.c: Likewise.
71497         * math/w_acosl.c: Likewise.
71498         * math/w_acosh.c: Likewise.
71499         * math/w_acoshf.c: Likewise.
71500         * math/w_acoshl.c: Likewise.
71501         * math/w_asin.c: Likewise.
71502         * math/w_asinf.c: Likewise.
71503         * math/w_asinl.c: Likewise.
71504         * math/w_atan2.c: Likewise.
71505         * math/w_atan2f.c: Likewise.
71506         * math/w_atan2l.c: Likewise.
71507         * math/w_atanh.c: Likewise.
71508         * math/w_atanhf.c: Likewise.
71509         * math/w_atanhl.c: Likewise.
71510         * math/w_exp10.c: Likewise.
71511         * math/w_exp10f.c: Likewise.
71512         * math/w_exp10l.c: Likewise.
71513         * math/w_fmod.c: Likewise.
71514         * math/w_fmodf.c: Likewise.
71515         * math/w_fmodl.c: Likewise.
71516         * math/w_j0.c: Likewise.
71517         * math/w_j0f.c: Likewise.
71518         * math/w_j0l.c: Likewise.
71519         * math/w_j1.c: Likewise.
71520         * math/w_j1f.c: Likewise.
71521         * math/w_j1l.c: Likewise.
71522         * math/w_jn.c: Likewise.
71523         * math/w_jnf.c: Likewise.
71524         * math/w_log.c: Likewise.
71525         * math/w_logf.c: Likewise.
71526         * math/w_logl.c: Likewise.
71527         * math/w_log10.c: Likewise.
71528         * math/w_log10f.c: Likewise.
71529         * math/w_log10l.c: Likewise.
71530         * math/w_log2.c: Likewise.
71531         * math/w_log2f.c: Likewise.
71532         * math/w_log2l.c: Likewise.
71533         * math/w_pow.c: Likewise.
71534         * math/w_powf.c: Likewise.
71535         * math/w_powl.c: Likewise.
71536         * math/w_remainder.c: Likewise.
71537         * math/w_remainderf.c: Likewise.
71538         * math/w_remainderl.c: Likewise.
71539         * math/w_scalb.c: Likewise.
71540         * math/w_scalbf.c: Likewise.
71541         * math/w_scalbl.c: Likewise.
71542         * math/w_sqrt.c: Likewise.
71543         * math/w_sqrtf.c: Likewise.
71544         * math/w_sqrtl.c: Likewise.
71545         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
71546         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
71547         used.
71548         * math/math_private.h: Declare __kernel_standard_f.
71549         * math/w_cosh.c: Remove cruft and optimize a bit.
71550         * math/w_coshf.c: Likewise.
71551         * math/w_coshl.c: Likewise.
71552         * math/w_exp2.c: Likewise.
71553         * math/w_exp2f.c: Likewise.
71554         * math/w_exp2l.c: Likewise.
71555         * math/w_hypot.c: Likewise.
71556         * math/w_hypotf.c: Likewise.
71557         * math/w_hypotl.c: Likewise.
71558         * math/w_lgamma.c: Likewise.
71559         * math/w_lgamma_r.c: Likewise.
71560         * math/w_lgammaf.c: Likewise.
71561         * math/w_lgammaf_r.c: Likewise.
71562         * math/w_lgammal.c: Likewise.
71563         * math/w_lgammal_r.c: Likewise.
71564         * math/w_sinh.c: Likewise.
71565         * math/w_sinhf.c: Likewise.
71566         * math/w_sinhl.c: Likewise.
71567         * math/w_tgamma.c: Likewise.
71568         * math/w_tgammaf.c: Likewise.
71569         * math/w_tgammal.c: Likewise.
71570         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71571         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71572         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
71573         Minor optimizations.  Pretty printing.  Remove cruft.
71574         * sysdeps/i386/fpu/e_acosf.S: Likewise.
71575         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71576         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71577         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71578         * sysdeps/i386/fpu/e_acosl.c: Likewise.
71579         * sysdeps/i386/fpu/e_asin.S: Likewise.
71580         * sysdeps/i386/fpu/e_asinf.S: Likewise.
71581         * sysdeps/i386/fpu/e_atan2.S: Likewise.
71582         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
71583         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
71584         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71585         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71586         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71587         * sysdeps/i386/fpu/e_exp10.S: Likewise.
71588         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
71589         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
71590         * sysdeps/i386/fpu/e_exp2.S: Likewise.
71591         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
71592         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
71593         * sysdeps/i386/fpu/e_fmod.S: Likewise.
71594         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
71595         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
71596         * sysdeps/i386/fpu/e_hypot.S: Likewise.
71597         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
71598         * sysdeps/i386/fpu/e_log.S: Likewise.
71599         * sysdeps/i386/fpu/e_log10.S: Likewise.
71600         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71601         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71602         * sysdeps/i386/fpu/e_log2.S: Likewise.
71603         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71604         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71605         * sysdeps/i386/fpu/e_logf.S: Likewise.
71606         * sysdeps/i386/fpu/e_logl.S: Likewise.
71607         * sysdeps/i386/fpu/e_pow.S: Likewise.
71608         * sysdeps/i386/fpu/e_powf.S: Likewise.
71609         * sysdeps/i386/fpu/e_powl.S: Likewise.
71610         * sysdeps/i386/fpu/e_remainder.S: Likewise.
71611         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
71612         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
71613         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71614         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71615         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71616         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
71617         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
71618         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
71619         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71620         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71621         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71622         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71623         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71624         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71625         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
71626         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71627         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71628         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71629         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71630         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71631         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71632         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71633         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71634         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71635         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71636         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71637         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71638         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71639         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71640         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71641         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71642         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71643         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71644         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71645         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71646         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71647         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
71648         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71649         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71650         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71651         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71652         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71653         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71654         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71655         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71656         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71657         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71658         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71659         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71660         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71661         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71662         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71663         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71664         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71665         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71666         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71667         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71668         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
71669         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71670         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71671         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71672         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71673         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71674         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71675         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71676         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71677         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71678         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71679         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71680         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71681         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71682         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71683         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71684         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71685         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71686         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71687         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
71688         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71689         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71690         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71691         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71692         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71693         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71694         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71695         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71696         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71697         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71698         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71699         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71700         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71701         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
71702         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71703         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71704         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71705         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71706         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71707         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71708         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71709         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71710         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71711         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71712         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
71713         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71714         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71715         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71716         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
71717         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
71718         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
71719         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
71720         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
71721         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
71722         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
71723         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71724         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71725         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71726         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71727         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
71728         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71729         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
71730         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
71731         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
71732         (__isnanf): Likewise.
71733         (__isinf_ns): Likewise.
71734         (__isinf_nsf): Likewise.
71735         (__finite): Likewise.
71736         (__finitef): Likewise.
71737         (__ieee754_sqrt): Define as macro.
71738         (__ieee754_sqrtf): Define as macro.
71739         (__ieee754_sqrtl): Define as macro.
71740         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
71741         inlined copy.
71742         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
71743         __FINITE_MATH_ONLY__ consistent.
71744         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
71746 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
71748         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
71749         of rawmemchr.
71751         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
71753 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
71755         * po/ja.po: Update from translation team.
71757 2011-10-08  Roland McGrath  <roland@hack.frob.com>
71759         * locale/programs/locarchive.c (prepare_address_space): New function.
71760         (create_archive, enlarge_archive, open_archive): Use it.
71762         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
71763         inside [SHARED], where it is used.
71765         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
71767         * nss/getent.c (netgroup_keys): Remove unused variable.
71768         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71770 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
71772         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
71773         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
71774         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
71775         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
71776         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
71777         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
71778         * math/Makefile (libm-calls): Add s_isinf_ns.
71779         * math/divtc3.c: Use __isinf_nsl instead of isinf.
71780         * math/multc3.c: Likewise.
71781         * math/s_casin.c: Likewise.
71782         * math/s_casinf.c: Likewise.
71783         * math/s_casinl.c: Likewise.
71784         * math/s_ccos.c: Likewise.
71785         * math/s_ccosf.c: Likewise.
71786         * math/s_ccosl.c: Likewise.
71787         * math/s_ctan.c: Likewise.
71788         * math/s_ctanf.c: Likewise.
71789         * math/s_ctanh.c: Likewise.
71790         * math/s_ctanhf.c: Likewise.
71791         * math/s_ctanhl.c: Likewise.
71792         * math/s_ctanl.c: Likewise.
71793         * math/w_fmod.c: Likewise.
71794         * math/w_fmodf.c: Likewise.
71795         * math/w_fmodl.c: Likewise.
71796         * math/w_remainder.c: Likewise.
71797         * math/w_remainderf.c: Likewise.
71798         * math/w_remainderl.c: Likewise.
71799         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
71800         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
71801         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
71802         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
71803         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
71804         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
71805         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
71806         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
71808         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
71809         of the number.
71810         * stdio-common/printf_fphex.c: Likewise.
71811         * stdio-common/printf_size.c: Likewise.
71813         * math/e_exp10.c: Include math_private.h using <...> not "...".
71814         * math/e_exp10f.c: Likewise.
71815         * math/e_exp10l.c: Likewise.
71816         * math/e_exp2l.c: Likewise.
71817         * math/e_j0l.c: Likewise.
71818         * math/e_j1l.c: Likewise.
71819         * math/e_jnl.c: Likewise.
71820         * math/e_lgammal_r.c: Likewise.
71821         * math/e_rem_pio2l.c: Likewise.
71822         * math/e_scalb.c: Likewise.
71823         * math/e_scalbf.c: Likewise.
71824         * math/e_scalbl.c: Likewise.
71825         * math/k_cosl.c: Likewise.
71826         * math/k_sinl.c: Likewise.
71827         * math/k_tanl.c: Likewise.
71828         * math/s_cacoshf.c: Likewise.
71829         * math/s_catan.c: Likewise.
71830         * math/s_catanf.c: Likewise.
71831         * math/s_catanh.c: Likewise.
71832         * math/s_catanhf.c: Likewise.
71833         * math/s_catanhl.c: Likewise.
71834         * math/s_catanl.c: Likewise.
71835         * math/s_ccosh.c: Likewise.
71836         * math/s_ccoshf.c: Likewise.
71837         * math/s_ccoshl.c: Likewise.
71838         * math/s_cexp.c: Likewise.
71839         * math/s_cexpf.c: Likewise.
71840         * math/s_cexpl.c: Likewise.
71841         * math/s_clog.c: Likewise.
71842         * math/s_clog10.c: Likewise.
71843         * math/s_clog10f.c: Likewise.
71844         * math/s_clog10l.c: Likewise.
71845         * math/s_clogf.c: Likewise.
71846         * math/s_clogl.c: Likewise.
71847         * math/s_csin.c: Likewise.
71848         * math/s_csinf.c: Likewise.
71849         * math/s_csinh.c: Likewise.
71850         * math/s_csinhf.c: Likewise.
71851         * math/s_csinhl.c: Likewise.
71852         * math/s_csinl.c: Likewise.
71853         * math/s_csqrt.c: Likewise.
71854         * math/s_csqrtf.c: Likewise.
71855         * math/s_csqrtl.c: Likewise.
71856         * math/s_ctan.c: Likewise.
71857         * math/s_ctanf.c: Likewise.
71858         * math/s_ctanh.c: Likewise.
71859         * math/s_ctanhf.c: Likewise.
71860         * math/s_ctanhl.c: Likewise.
71861         * math/s_ctanl.c: Likewise.
71862         * math/s_ldexp.c: Likewise.
71863         * math/s_ldexpf.c: Likewise.
71864         * math/s_ldexpl.c: Likewise.
71865         * math/s_significand.c: Likewise.
71866         * math/s_significandf.c: Likewise.
71867         * math/s_significandl.c: Likewise.
71868         * math/w_acos.c: Likewise.
71869         * math/w_acosf.c: Likewise.
71870         * math/w_acosh.c: Likewise.
71871         * math/w_acoshf.c: Likewise.
71872         * math/w_acoshl.c: Likewise.
71873         * math/w_acosl.c: Likewise.
71874         * math/w_asin.c: Likewise.
71875         * math/w_asinf.c: Likewise.
71876         * math/w_asinl.c: Likewise.
71877         * math/w_atan2.c: Likewise.
71878         * math/w_atan2f.c: Likewise.
71879         * math/w_atan2l.c: Likewise.
71880         * math/w_atanh.c: Likewise.
71881         * math/w_atanhf.c: Likewise.
71882         * math/w_atanhl.c: Likewise.
71883         * math/w_cosh.c: Likewise.
71884         * math/w_coshf.c: Likewise.
71885         * math/w_coshl.c: Likewise.
71886         * math/w_dremf.c: Likewise.
71887         * math/w_exp10.c: Likewise.
71888         * math/w_exp10f.c: Likewise.
71889         * math/w_exp10l.c: Likewise.
71890         * math/w_exp2.c: Likewise.
71891         * math/w_exp2f.c: Likewise.
71892         * math/w_fmod.c: Likewise.
71893         * math/w_fmodf.c: Likewise.
71894         * math/w_fmodl.c: Likewise.
71895         * math/w_hypot.c: Likewise.
71896         * math/w_hypotf.c: Likewise.
71897         * math/w_hypotl.c: Likewise.
71898         * math/w_j0.c: Likewise.
71899         * math/w_j0f.c: Likewise.
71900         * math/w_j0l.c: Likewise.
71901         * math/w_j1.c: Likewise.
71902         * math/w_j1f.c: Likewise.
71903         * math/w_j1l.c: Likewise.
71904         * math/w_jn.c: Likewise.
71905         * math/w_jnf.c: Likewise.
71906         * math/w_jnl.c: Likewise.
71907         * math/w_lgamma.c: Likewise.
71908         * math/w_lgamma_r.c: Likewise.
71909         * math/w_lgammaf.c: Likewise.
71910         * math/w_lgammaf_r.c: Likewise.
71911         * math/w_lgammal.c: Likewise.
71912         * math/w_lgammal_r.c: Likewise.
71913         * math/w_log.c: Likewise.
71914         * math/w_log10.c: Likewise.
71915         * math/w_log10f.c: Likewise.
71916         * math/w_log10l.c: Likewise.
71917         * math/w_log2.c: Likewise.
71918         * math/w_log2f.c: Likewise.
71919         * math/w_log2l.c: Likewise.
71920         * math/w_logf.c: Likewise.
71921         * math/w_logl.c: Likewise.
71922         * math/w_pow.c: Likewise.
71923         * math/w_powf.c: Likewise.
71924         * math/w_powl.c: Likewise.
71925         * math/w_remainder.c: Likewise.
71926         * math/w_remainderf.c: Likewise.
71927         * math/w_remainderl.c: Likewise.
71928         * math/w_scalb.c: Likewise.
71929         * math/w_scalbf.c: Likewise.
71930         * math/w_scalbl.c: Likewise.
71931         * math/w_sinh.c: Likewise.
71932         * math/w_sinhf.c: Likewise.
71933         * math/w_sinhl.c: Likewise.
71934         * math/w_sqrt.c: Likewise.
71935         * math/w_sqrtf.c: Likewise.
71936         * math/w_sqrtl.c: Likewise.
71937         * math/w_tgamma.c: Likewise.
71938         * math/w_tgammaf.c: Likewise.
71939         * math/w_tgammal.c: Likewise.
71941         * po/ja.po: Update from translation team.
71943 2011-09-29  Andreas Jaeger  <aj@suse.de>
71945         [BZ #13179]
71946         * sunrpc/netname.c (netname2host): Fix logic.
71948         [BZ #6779]
71949         [BZ #6783]
71950         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
71951         correctly.
71952         * math/w_remainder.c (__remainder): Likewise.
71953         * math/w_remainderf.c (__remainderf): Likewise.
71954         * math/libm-test.inc (remainder_test): Add test cases.
71956 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71958         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
71959         sdiv_qrnnd.
71961 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71963         * string/test-memcmp.c: Avoid unncessary #defines.
71964         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71966 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71968         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
71969         Use new sse2 version for core i3 - i7 as it's faster
71970         than sse42 version.
71971         (bit_Prefer_PMINUB_for_stringop): New.
71972         * sysdeps/x86_64/rawmemchr.S: Update.
71973         Replace with faster SSE2 version.
71974         * sysdeps/x86_64/memrchr.S: New file.
71975         * sysdeps/x86_64/memchr.S: Update.
71976         Replace with faster SSE2 version.
71978 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
71980         * elf/dl-load.c (lose): Add cast to avoid warning.
71982 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71984         * po/ca.po: Update from translation team.
71986         * inet/getnetgrent_r.c: Hook up nscd.
71987         * nscd/Makefile (routines): Add nscd_netgroup.
71988         (nscd-modules): Add netgroupcache.
71989         (CFLAGS-netgroupcache.c): Define.
71990         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
71991         (cache_search): Add const to second parameter.
71992         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
71993         INNETGR.
71994         (dbs): Add netgrdb entry.
71995         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
71996         (verify_persistent_db): Handle netgrdb.
71997         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
71998         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
71999         GETFDNETGR.
72000         (netgroup_response_header): Define.
72001         (innetgroup_response_header): Define.
72002         (datahead): Add netgroup_response_header and innetgroup_response_header
72003         elements.
72004         * nscd/nscd.conf: Add entries for netgroup cache.
72005         * nscd/nscd.h (dbtype): Add netgrdb.
72006         (_PATH_NSCD_NETGROUP_DB): Define.
72007         (netgroup_iov_disabled): Declare.
72008         (xmalloc, xcalloc, xrealloc): Move declarations here.
72009         (cache_search): Adjust prototype.
72010         Add netgroup-related prototypes.
72011         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
72012         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
72013         (__nscd_innetgr): Declare.
72014         * nscd/selinux.c (perms): Use access_vector_t as element type and
72015         add netgroup-related initializers.
72016         * nscd/netgroupcache.c: New file.
72017         * nscd/nscd_netgroup.c: New file.
72018         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
72019         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
72020         For four parameters use innetgr.
72021         * nss/nss_files/files-init.c: Add definition and callback for netgr.
72022         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
72023         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
72024         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
72026         * nscd/connections.c (register_traced_file): Don't register file
72027         for disabled databases.
72029 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
72031         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
72033         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
72034         from tree and freeing node.
72036 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
72038         * nss/nsswitch.c (__nss_database_lookup): Handle
72039         nss_parse_service_list out of memory case.
72041 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
72043         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
72044         out of memory case.
72046 2011-10-04  Andreas Schwab  <schwab@redhat.com>
72048         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
72049         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
72050         pass it down.
72051         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
72052         elf_machine_rela, elf_machine_lazy_rel.
72053         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
72054         (ELF_DYNAMIC_DO_REL): Likewise.
72055         (ELF_DYNAMIC_DO_RELA): Likewise.
72056         (ELF_DYNAMIC_RELOCATE): Likewise.
72057         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
72058         to ELF_DYNAMIC_DO_REL.
72059         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
72060         (dl_main): In trace mode always set __RTLD_NOIFUNC.
72061         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
72062         elf_machine_rela.
72063         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
72064         skip_ifunc, don't call ifunc function if non-zero.
72065         (elf_machine_rela): Likewise.
72066         (elf_machine_lazy_rel): Likewise.
72067         (elf_machine_lazy_rela): Likewise.
72068         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
72069         (elf_machine_lazy_rel): Likewise.
72070         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
72071         Likewise.
72072         (elf_machine_lazy_rel): Likewise.
72073         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72074         Likewise.
72075         (elf_machine_lazy_rel): Likewise.
72076         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
72077         (elf_machine_lazy_rel): Likewise.
72078         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
72079         (elf_machine_lazy_rel): Likewise.
72080         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
72081         (elf_machine_lazy_rel): Likewise.
72082         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
72083         (elf_machine_lazy_rel): Likewise.
72084         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
72085         (elf_machine_lazy_rel): Likewise.
72086         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
72087         (elf_machine_lazy_rel): Likewise.
72089 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
72091         * nss/nss_files/files-init.c (_nss_files_init): Use static
72092         initialization for all the *_traced_file variables.
72094 2011-09-28  Andreas Schwab  <schwab@redhat.com>
72096         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72098 2011-09-27  Roland McGrath  <roland@hack.frob.com>
72100         [BZ #13226]
72101         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
72103 2011-09-27  Andreas Schwab  <schwab@redhat.com>
72105         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72106         Reread the line before reparsing it.
72108 2011-09-26  Andreas Schwab  <schwab@redhat.com>
72110         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
72112 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
72113             Maxim Kuvyrkov  <maxim@codesourcery.com>
72114             Joseph Myers  <joseph@codesourcery.com>
72116         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
72117         if needed for __stack_chk_guard.
72119 2011-09-19  Roland McGrath  <roland@hack.frob.com>
72121         * sysdeps/posix/spawni.c (script_execute): Always define it.
72122         It will be optimized away if unused.
72123         (maybe_script_execute): New function.
72124         (__spawni): Call it.
72126         * Makerules: Don't include tls.make.
72127         (config-tls): Always set to thread.
72128         * tls.make.c: File removed.
72130 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
72132         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
72133         * config.make.in (CPPFLAGS-config): New substituted variable.
72135 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72137         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
72139         [BZ #13192]
72140         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
72141         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
72143 2011-09-15  Roland McGrath  <roland@hack.frob.com>
72145         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
72146         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
72147         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72148         (CALL_FAIL): Likewise.
72149         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
72150         (CALL_FAIL): Macro removed.
72151         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
72153 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
72155         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
72156         for __FINITE_MATH_ONLY__ == 1.
72158 2011-09-15  Andreas Schwab  <schwab@redhat.com>
72160         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
72161         __ieee754_sqrt instead of sqrt.
72162         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
72163         __ieee754_sqrtf instead of sqrtf.
72164         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
72165         __floorf instead of floorf.
72166         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
72167         __floorf, __truncf instead of floorf, truncf.
72169 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
72171         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
72173         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
72174         __extern_always_inline.
72175         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
72176         32-bit.
72178 2011-09-14  Andreas Schwab  <schwab@redhat.com>
72180         * elf/rtld.c (dl_main): Also relocate in dependency order when
72181         doing symbol dependency testing.
72183 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
72185         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72186         Always define `refsym'.
72188 2011-09-13  Andreas Schwab  <schwab@redhat.com>
72190         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
72191         (__FD_ELT): Renamed from __FDELT.
72192         * misc/bits/select2.h (__FD_ELT): Likewise.
72193         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
72194         __FD_MASK instead of __FDELT, __FDMASK.
72195         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72196         Likewise.
72197         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72198         Likewise.
72200         * elf/Makefile (gen-ldd): Fix pattern.
72202         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
72203         (init_tls): Likewise.
72205 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
72207         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
72209 2011-09-12  Andreas Schwab  <schwab@redhat.com>
72211         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
72212         `struct cmsghdr *' instead of `void *'.
72213         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
72214         Likewise.
72216 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
72218         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
72219         if non-absolute.
72220         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
72221         ldd_rewrite_script.
72223 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
72225         * configure.in: Remove --with-tls option.
72226         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
72227         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
72228         out in case it is missing.
72229         * sysdeps/ia64/elf/configure.in: Likewise.
72230         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
72231         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
72232         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
72233         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
72234         * sysdeps/sh/elf/configure.in: Likewise.
72235         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
72236         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72237         * sysdeps/x86_64/elf/configure.in: Likewise.
72238         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
72239         * sysdeps/mach/hurd/tls.h: Likewise.
72241         [BZ #13067]
72242         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
72244         [BZ #13090]
72245         * configure.in: Fix use of AC_INIT.
72247         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
72249 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
72251         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
72252         __set_errno.
72253         * malloc/hooks.c: Likewise.
72255         [BZ #11929]
72256         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
72257         variables statically.
72258         (narenas): Initialize.
72259         (list_lock): Initialize.
72260         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
72261         initializtion of main_arena and list_lock.  Small cleanups.
72262         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
72263         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
72264         Add initializers to main_arena and mp_.
72265         (malloc_state): Remove pagesize member.  Change all users to use
72266         GLRO(dl_pagesize).
72268         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
72269         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
72270         is always initialized.
72272         * malloc/malloc.c: Removed unused configurations and dead code.
72273         * malloc/arena.c: Likewise.
72274         * malloc/hooks.c: Likewise.
72275         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
72277         * include/tls.h: Removed.  USE___THREAD must always be defined.
72278         * bits/libc-tsd.h: Don't handle !USE___THREAD.
72279         * elf/dl-libc.c: Likewise.
72280         * elf/dl-tsd.c: Likewise.
72281         * include/errno.h: Likewise.
72282         * include/netdb.h: Likewise.
72283         * include/resolv.h: Likewise.
72284         * inet/herrno-loc.c: Likewise.
72285         * inet/herrno.c: Likewise.
72286         * malloc/arena.c: Likewise.
72287         * malloc/hooks.c: Likewise.
72288         * malloc/malloc.c: Likewise.
72289         * resolv/res-state.c: Likewise.
72290         * resolv/res_libc.c: Likewise.
72291         * sysdeps/i386/dl-machine.h: Likewise.
72292         * sysdeps/ia64/dl-machine.h: Likewise.
72293         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
72294         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72295         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
72296         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
72297         * sysdeps/sh/dl-machine.h: Likewise.
72298         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72299         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72300         * sysdeps/unix/i386/sysdep.S: Likewise.
72301         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
72302         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
72303         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
72304         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
72305         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
72306         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
72307         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
72308         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72309         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72310         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
72311         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72312         * sysdeps/x86_64/dl-machine.h: Likewise.
72313         * tls.make.c: Likewise.
72315         * configure.in: Remove --with-__thread option.  Make tests for
72316         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
72317         tls_model attribute fail if no support is available.  Remove
72318         USE_IN_LIBIO.
72319         * Makeconfig: Adjust for dropped configure option.  All features are
72320         now mandatory.
72321         * Makerules: Likewise.
72322         * Versions.def: Likewise.
72323         * argp/argp-fmtstream.c: Likewise.
72324         * argp/argp-fmtstream.h: Likewise.
72325         * argp/argp-help.c: Likewise.
72326         * assert/assert.c: Likewise.
72327         * config.h.in: Likewise.
72328         * config.make.in: Likewise.
72329         * configure: Likewise.
72330         * configure.in: Likewise.
72331         * csu/Versions: Likewise.
72332         * csu/init.c: Likewise.
72333         * elf/tst-audit2.c: Likewise.
72334         * elf/tst-tls10.c: Likewise.
72335         * elf/tst-tls10.h: Likewise.
72336         * elf/tst-tls11.c: Likewise.
72337         * elf/tst-tls12.c: Likewise.
72338         * elf/tst-tls14.c: Likewise.
72339         * elf/tst-tlsmod11.c: Likewise.
72340         * elf/tst-tlsmod12.c: Likewise.
72341         * elf/tst-tlsmod13.c: Likewise.
72342         * elf/tst-tlsmod13a.c: Likewise.
72343         * elf/tst-tlsmod14a.c: Likewise.
72344         * elf/tst-tlsmod15b.c: Likewise.
72345         * elf/tst-tlsmod16a.c: Likewise.
72346         * elf/tst-tlsmod16b.c: Likewise.
72347         * elf/tst-tlsmod7.c: Likewise.
72348         * elf/tst-tlsmod8.c: Likewise.
72349         * elf/tst-tlsmod9.c: Likewise.
72350         * gmon/gmon.c: Likewise.
72351         * grp/fgetgrent_r.c: Likewise.
72352         * grp/putgrent.c: Likewise.
72353         * hurd/fopenport.c: Likewise.
72354         * include/libc-symbols.h: Likewise.
72355         * include/tls.h: Likewise.
72356         * intl/gettextP.h: Likewise.
72357         * intl/loadinfo.h: Likewise.
72358         * locale/global-locale.c: Likewise.
72359         * locale/localeinfo.h: Likewise.
72360         * mach/devstream.c: Likewise.
72361         * malloc/arena.c: Likewise.
72362         * malloc/set-freeres.c: Likewise.
72363         * misc/err.c: Likewise.
72364         * misc/getttyent.c: Likewise.
72365         * misc/mntent_r.c: Likewise.
72366         * posix/getopt.c: Likewise.
72367         * posix/wordexp.c: Likewise.
72368         * pwd/fgetpwent_r.c: Likewise.
72369         * resolv/Versions: Likewise.
72370         * resolv/res_hconf.c: Likewise.
72371         * shadow/fgetspent_r.c: Likewise.
72372         * shadow/putspent.c: Likewise.
72373         * stdio-common/printf_fphex.c: Likewise.
72374         * stdio-common/tmpfile.c: Likewise.
72375         * stdlib/abort.c: Likewise.
72376         * stdlib/fmtmsg.c: Likewise.
72377         * sunrpc/auth_unix.c: Likewise.
72378         * sunrpc/clnt_perr.c: Likewise.
72379         * sunrpc/clnt_tcp.c: Likewise.
72380         * sunrpc/clnt_udp.c: Likewise.
72381         * sunrpc/clnt_unix.c: Likewise.
72382         * sunrpc/openchild.c: Likewise.
72383         * sunrpc/svc_simple.c: Likewise.
72384         * sunrpc/svc_tcp.c: Likewise.
72385         * sunrpc/svc_udp.c: Likewise.
72386         * sunrpc/svc_unix.c: Likewise.
72387         * sunrpc/xdr.c: Likewise.
72388         * sunrpc/xdr_array.c: Likewise.
72389         * sunrpc/xdr_rec.c: Likewise.
72390         * sunrpc/xdr_ref.c: Likewise.
72391         * sunrpc/xdr_stdio.c: Likewise.
72393 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72395         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72397 2011-07-03  Andreas Jaeger  <aj@suse.de>
72399         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
72400         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
72401         regenerate with gen-libm-tests.pl.
72403 2010-05-12  Petr Baudis  <pasky@suse.cz>
72405         [BZ #11589]
72406         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
72407         around j0() zero points by switching to j1().
72408         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72409         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72410         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72411         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72413 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72415         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
72416         instead of 0.
72417         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
72418         instead of 0.
72419         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72420         Patch in part by Pavel Roskin <proski@gnu.org>.
72422         [BZ #13138]
72423         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
72424         realloc.
72425         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
72426         Free memory block if necessary.
72428         [BZ #12847]
72429         * libio/genops.c (INTDEF): For string streams the _lock pointer can
72430         be NULL.  Don't lock in this case.
72432 2011-09-09  Roland McGrath  <roland@hack.frob.com>
72434         * elf/elf.h (ELFOSABI_GNU): New macro.
72435         (ELFOSABI_LINUX): Define to that.
72437 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
72439         * string/strncat.c (strncat): Undef the symbol in case it has been
72440         defined in bits/string.h.
72442 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72444         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
72446         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
72447         link map.
72449 2011-08-17  Andreas Jaeger  <aj@suse.de>
72451         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
72453 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
72454             Ian Lance Taylor  <iant@google.com>
72456         * math/libm-test.inc (lround_test): New testcase.
72457         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
72459 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
72461         * Makefile: Remove support for automatic cvs check-ins.
72462         * Makerules: Likewise.
72463         * config.make.in: Likewise.
72464         * configure.in: Likewise.
72465         * intl/Makefile: Likewise.
72466         * locale/Makefile: Likewise.
72467         * po/Makefile: Likewise.
72468         * posix/Makefile: Likewise.
72469         * sysdeps/gnu/Makefile: Likewise.
72470         * sysdeps/mach/hurd/Makefile: Likewise.
72471         * sysdeps/sparc/sparc32/Makefile: Likewise.
72473         [BZ #13118]
72474         * posix/Makefile (bug-regex32-ENV): Define.
72475         Patch by John Stanley <jpsinthemix@verizon.net>.
72477         * misc/Makefile (headers): Add bits/select2.h.
72478         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
72479         * misc/bits/select2.h: New file.
72480         * include/bits/select2.h: New file.
72481         * debug/Makefile (routines): Add fdelt_chk.
72482         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
72483         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
72484         FD_ISSET.
72485         * debug/fdelt_chk.c: New file.
72487         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
72488         * wcsmbs/test-wmemcmp.c: Likewise.
72489         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
72490         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
72492 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72494         * string/Makefile (strop-tests): Add memcmp.
72495         * string/test-wmemcmp.c: New file.
72496         * string/test-memcmp.c: Add wmemcmp support.
72498 2011-09-08  Roland McGrath  <roland@hack.frob.com>
72500         [BZ #13153]
72501         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
72502         2011-07-19 change.
72504         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
72505         garbage value in a __mach_port_mod_refs call in the cases of the
72506         task-self and thread-self ports.
72508 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72510         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
72512 2011-09-08  Andreas Schwab  <schwab@redhat.com>
72514         * elf/dl-load.c (lose): Check for non-null L.
72516 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72518         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
72520         * elf/dl-libc.c (dlerror_run): Pass back error code from
72521         dl_catch_error.
72523         [BZ #13123]
72524         * elf/dl-load.c (lose): Free l_origin if it is valid.
72526         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
72527         names.
72528         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
72529         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72530         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72531         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72532         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
72533         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
72535 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72537         * sysdeps/powerpc/fpu/e_hypot.c: New file.
72538         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
72539         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
72540         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
72541         * sysdeps/powerpc/fpu/k_cosf.c: New file.
72542         * sysdeps/powerpc/fpu/k_sinf.c: New file.
72543         * sysdeps/powerpc/fpu/s_cosf.c: New file.
72544         * sysdeps/powerpc/fpu/s_sinf.c: New file.
72545         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
72546         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
72548 2011-08-15  Alan Modra  <amodra@gmail.com>
72550         [BZ #13092]
72551         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
72552         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
72553         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
72554         ppc_mcount to static-only-routines.
72555         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
72556         __mcount_internal.
72557         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
72558         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
72560 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
72562         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
72563         for finite and infinity parameters.
72565 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72567         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
72568         and add nop instructions for throughput optimization.
72569         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72571 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
72573         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
72574         aligned copy for power7 with vector-scalar instructions.
72575         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
72577 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
72579         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
72580         AVX check.
72582 2011-09-07  Andreas Schwab  <schwab@redhat.com>
72584         [BZ #13144]
72585         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
72586         last change.
72588 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72590         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72591         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
72592         syscall wrapper around clock_gettime in __vdso_clock_gettime.
72593         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
72594         clock_gettime.
72596 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72598         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
72599         Forgot to demangle the pointer.
72601         * sysdeps/i386/sysdep.h: Define atom_text_section.
72602         * sysdeps/x86_64/sysdep.h: Likewise.
72603         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
72604         section with atom_text_section.
72605         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72606         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72607         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
72608         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72609         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
72611         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
72612         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
72613         already be defined.  Change to take two parameters and don't assign
72614         result to variable.  Adjust all users.
72615         Define INTERNAL_GETTIME if not already defined.
72616         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
72617         call.
72618         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
72619         HAVE_CLOCK_GETTIME_VSYSCALL.
72620         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
72622         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
72623         gettimeofday vsyscall, just use time.
72625 2011-09-06  Andreas Schwab  <schwab@redhat.com>
72627         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
72628         <errno.h>.
72630 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72632         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
72633         syscall on x86-64.
72634         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
72635         syscall.
72636         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
72637         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
72638         syscall if possible.
72640 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72642         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
72643         e_ident.  Don't pass to find_mapsXX.
72644         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
72646 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72648         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72649         strchr-sse2-no-bsf strrchr-sse2-no-bsf
72650         * sysdeps/x86_64/multiarch/strchr.S: Update.
72651         Check bit_slow_BSF bit.
72652         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72653         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
72654         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
72656 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72658         [BZ #13134]
72659         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
72660         before glibc 2.15.
72661         (tryshell): Define.
72662         (__spawni): Change last parameter to be flag.  Test
72663         SPAWN_XFLAGS_USE_PATH flag to use path or not.
72664         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
72665         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
72666         * posix/spawni.c: Likewise.
72667         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
72668         * posix/spawnp.c: Likewise.  Change normal version to use
72669         SPAWN_XFLAGS_USE_PATH.
72670         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
72671         SPAWN_XFLAGS_TRY_SHELL.
72673         [BZ #13150]
72674         * posix/glob.h: Remove gcc 1.x support.
72676         [BZ #13068]
72677         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
72679 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72681         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72682         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
72683         strrchr-sse2-bsf
72684         * sysdeps/i386/i686/multiarch/strchr.S: New file.
72685         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
72686         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
72687         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
72688         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
72689         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
72691 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72693         * sysdeps/x86_64/wcscmp.S: New file.
72695         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
72696         wcscmp-c wcscmp-sse2
72697         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
72698         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
72699         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
72700         * wcsmbs/wcscmp.c: Allow renaming.
72702 2011-09-05  David S. Miller  <davem@davemloft.net>
72704         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
72705         stack slot, rather than the struct return pointer slot.
72706         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
72707         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
72708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
72709         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
72711 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72713         * po/ja.po: Update from translation team.
72715         [BZ #13144]
72716         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
72717         kernel in 64-bit binaries.
72719 2011-09-01  David S. Miller  <davem@davemloft.net>
72721         * elf/elf.h (HWCAP_SPARC_*): Move to..
72722         * sysdeps/sparc/sysdep.h: this new file and add new values.
72723         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
72724         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
72725         _DL_HWCAP_COUNT to 24.
72726         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
72727         entries.
72728         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
72729         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
72730         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
72731         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
72732         instead of magic constants.
72733         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72735 2011-08-31  David S. Miller  <davem@davemloft.net>
72737         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
72738         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
72739         Reimplement to do errno handling inline.
72740         (SYSCALL_ERROR_HANDLER): New macro.
72741         (__SYSCALL_STRING): Do not do errno handling in asm.
72742         (__CLONE_SYSCALL_STRING): Delete.
72743         (__INTERNAL_SYSCALL_STRING): Delete.
72744         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
72745         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
72746         (PSEUDO): Reimplement to do errno handling inline.
72747         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
72748         (SYSCALL_ERROR_HANDLER): New macro.
72749         (__SYSCALL_STRING): Do not do errno handling in asm.
72750         (__CLONE_SYSCALL_STRING): Delete.
72751         (__INTERNAL_SYSCALL_STRING): Delete.
72752         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
72753         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
72754         i386.
72755         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
72756         (inline_syscall*): Add 'err' argument.
72757         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
72758         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
72759         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
72760         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
72762         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
72763         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72765 2011-08-30  Andreas Schwab  <schwab@redhat.com>
72767         * elf/rtld.c (dl_main): Relocate objects in dependency order.
72769 2011-08-29  Jiri Olsa <jolsa@redhat.com>
72771         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
72772         directive.
72774 2011-08-24  David S. Miller  <davem@davemloft.net>
72776         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
72778 2011-08-24  Andreas Schwab  <schwab@redhat.com>
72780         * elf/Makefile: Add rules to build and run unload8 test.
72781         * elf/unload8.c: New file.
72782         * elf/unload8mod1.c: New file.
72783         * elf/unload8mod1x.c: New file.
72784         * elf/unload8mod2.c: New file.
72785         * elf/unload8mod3.c: New file.
72787         * elf/dl-close.c (_dl_close_worker): Reset private search list if
72788         it wasn't used.
72790 2011-08-23  David S. Miller  <davem@davemloft.net>
72792         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
72793         subtract stack bias.
72794         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
72795         %sp not %fp in calculations.
72796         (_JMPBUF_UNWINDS_ADJ): Likewise.
72798         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
72799         (aio_suspend): Call it to force an exception region around the
72800         AIO_MISC_WAIT() invocation.
72802 2011-08-23  Andreas Schwab  <schwab@redhat.com>
72804         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
72805         backslash.
72807 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
72809         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
72810         protection macro.
72811         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
72812         and <dl-machine.h>.
72813         (Elf64_FuncDesc): Remove.
72815 2011-08-22  David S. Miller  <davem@davemloft.net>
72817         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
72818         sigaltstack check, add missing cfi directives.
72819         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
72820         missing cfi directives, and sigaltstack handling.
72822 2011-08-16  Andreas Schwab  <schwab@redhat.com>
72824         [BZ #11724]
72825         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
72826         object is seen twice.
72827         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72829         * elf/Makefile (distribute): Add tst-initorder2.c.
72830         (tests): Add tst-initorder2.
72831         (modules-names): Add tst-initorder2a tst-initorder2b
72832         tst-initorder2c tst-initorder2d.  Add rules to build them.
72833         ($(objpfx)tst-initorder2.out): New rule.
72834         * elf/tst-initorder2.c: New file.
72835         * elf/tst-initorder2.exp: New file.
72837 2011-08-22  Andreas Schwab  <schwab@redhat.com>
72839         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
72841         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
72842         dependencies back to end of function.
72844         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72845         $(elfobjdir)/ld.so.
72847 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
72849         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
72850         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
72851         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
72852         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
72853         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
72854         of __vdso_gettimeofday.
72855         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
72856         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
72857         attribute_hidden.
72858         (_libc_vdso_platform_setup): Remove initialization of
72859         __vdso_gettimeofday and __vdso_time.
72861 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72863         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
72864         and fgetc_unlocked.
72865         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
72866         getc_unlocked.
72868         * elf/dl-open.c (add_to_global): Report additions to the global scope
72869         for LD_DEBUG=scopes.
72870         (dl_open_worker): Also print scope of newly loaded dependencies.
72871         (_dl_show_scope): Indicate if there is no scope.
72873         [BZ #13114]
72874         * stdio-common/Makefile (tests): Add bug24.
72875         * stdio-common/bug24.c: New file.
72877 2011-08-19  Andreas Jaeger  <aj@suse.de>
72879         [BZ #13114]
72880         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
72881         non-existant file when using close-on-exec mode.
72883 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72885         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
72886         the very first instruction.
72888         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
72889         the CFI state in the end.
72890         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
72891         inclusion of dl-trampoline.h.
72892         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
72894 2011-08-19  Andreas Schwab  <schwab@redhat.com>
72896         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
72897         expectations for long double.
72899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
72900         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
72902 2011-08-14  David S. Miller  <davem@davemloft.net>
72904         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
72905         artificual limit depends upon the system page size.
72907 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72909         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
72910         * resolv/Makefile: Define CFLAGS-libresolv.
72912 2011-08-17  Andreas Schwab  <schwab@redhat.com>
72914         * nss/makedb.c (compute_tables): Make variables used in nested
72915         function static.
72917 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72919         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
72920         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
72921         if buffer was too small.
72923         * elf/pldd.c (main): Attach to all threads in the process.
72924         Rewrite /proc handling to use *at functions.
72926 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
72928         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
72929         specifies first scope to show.
72930         (dl_open_worker): Update callers.  Move printing scope of new
72931         object to before the relocation.
72932         * elf/rtld.c (dl_main): Update _dl_show_scope call.
72933         * sysdeps/generic/ldsodefs.h: Update declaration.
72935         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
72936         string for the scope number.
72938 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
72940         * nscd/servicescache.c (cache_addserv): Make sure written is always
72941         initialized.
72943 2011-08-14  Roland McGrath  <roland@hack.frob.com>
72945         * sysdeps/i386/i486/bits/atomic.h
72946         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
72947         statement expression, so as to suppress "set but not used" warning.
72948         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
72950         * string/strncat.c (STRNCAT): Use prototype definition.
72952         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
72953         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
72954         -Iprograms here.
72955         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
72956         (localedef-modules): Add localedef.
72957         (locale-modules): Add locale.
72959         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
72960         * elf/rtld.c (dl_main): Invert order of assignment in last change,
72961         to avoid a warning.
72963 2011-08-14  David S. Miller  <davem@davemloft.net>
72965         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
72966         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
72968 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
72970         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
72971         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
72972         * elf/rtld.c (dl_main): Set l_name of vDSO.
72973         Call _dl_show_scope when DL_DEBUG_SCOPES.
72974         (process_dl_debug): Recognize scopes flag and also set it for all.
72975         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
72976         Declare _dl_show_scope.
72978         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
72979         (do_dlopen): Pass caller_dlopen to dl_open.
72980         (__libc_dlopen_mode): Initialize caller_dlopen.
72982         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
72983         of libc.  Make tolower call locale-independent.  Optimize a bit by
72984         using isdigit instead of isalnum.
72985         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
72987 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
72989         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
72990         was a dependency or dynamically loaded.
72992 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
72994         * intl/l10nflist.c: Allow architecture-specific pop function.
72995         * sysdeps/x86_64/l10nflist.c: New file.
72997         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
72998         classification.
73000 2011-08-10  Andreas Schwab  <schwab@redhat.com>
73002         * include/dirent.h: Add libc_hidden_proto for scandirat and
73003         scandirat64.  Don't declare __scandirat64.
73004         * dirent/scandirat.c: Add libc_hidden_def.
73005         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
73006         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
73008 2011-08-10  David S. Miller  <davem@davemloft.net>
73010         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
73011         enum.
73012         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73013         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73014         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73016 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
73018         * Versions.def [libc]: Add GLIBC_2.15.
73019         * dirent/Makefile (routines): Add scandirat and scandirat64.
73020         * dirent/Versions [libc]: Export scandirat and scandirat64 for
73021         GLIBC_2.15.
73022         * dirent/dirent.h: Declare scandirat and scandirat64.
73023         * dirent/scandirat.c: New file.
73024         * dirent/scandirat64.c: New file.
73025         * sysdeps/wordsize-64/scandirat.c: New file.
73026         * sysdeps/wordsize-64/scandirat64.c: New file.
73027         * dirent/opendir.c: Define opendirat.
73028         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
73029         using scandirat.
73030         * dirent/scandir64.c: Adjust for scandir.c change.
73031         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
73032         __scandirat64, and __scandir_cancel_handler.
73033         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
73034         additional parameter and use openat instead of open (outside of ld.so).
73035         Add new __opendir as wrapper around __opendirat.
73036         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
73037         here without requiring old scandirat implementation.
73039 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
73041         * dirent/scandir.c (cancel_handler): Renamed to
73042         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
73043         defined.  Adjust users.
73044         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
73045         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
73047 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
73049         * string/test-string.h (IMPL): Use __STRING to expand name and then
73050         stringify it.
73052         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
73053         of cleanups.
73055 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73057         * string/Makefile: Update.
73058         (strop-tests): Append strncat.
73059         * string/test-wcscmp.c: New file.
73060         New comprehensive test for wcscmp.
73061         * string/test-strcmp.c: Update.
73062         (WIDE): New define.
73064 2011-07-22  Andreas Schwab  <schwab@redhat.com>
73066         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
73067         line.
73069 2011-07-26  Andreas Schwab  <schwab@redhat.com>
73071         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73072         encoding to ACE if AI_IDN.
73074 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
73076         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
73077         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
73079 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73081         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
73082         Fix overflow bug in strncat.
73083         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
73085         * string/test-strncat.c: Update.
73086         Add new tests for checking overflow bugs.
73088 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73090         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73091         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
73092         * sysdeps/i386/i686/multiarch/strcat.S: New file.
73093         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
73094         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
73095         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
73096         * sysdeps/i386/i686/multiarch/strncat.S: New file.
73097         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
73098         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
73100         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
73101         (USE_AS_STRCAT): Define.
73102         Add strcat and strncat support.
73103         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73105 2011-07-25  Andreas Schwab  <schwab@redhat.com>
73107         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
73108         __n bigger than INT_MAX+1.
73109         (__strncmp_g): Likewise.
73111 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
73113         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
73114         * libio/stido.h: Likewise.
73116         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
73117         (AF_NFC): Define.
73118         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
73119         (AF_NFC): Define.
73121         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
73122         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73123         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73124         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
73125         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73127         [BZ #13021]
73128         * scripts/test-installation.pl: Don't expect libnss_test1 to be
73129         installed.
73131         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
73132         typo.
73133         (_dl_x86_64_save_sse): Likewise.
73135 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
73137         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
73138         OSXSAVE.
73139         (_dl_x86_64_save_sse): Likewise.
73141         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
73143         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
73145 2011-07-21  Andreas Schwab  <schwab@redhat.com>
73147         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
73148         change.
73149         (_dl_x86_64_save_sse): Use correct AVX check.
73151 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73153         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
73154         bug in strncpy/strncat.
73155         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
73157 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
73159         * string/tester.c (test_strcat): Add tests for different alignments
73160         of source and destination.
73161         (test_strncat): Likewise.
73163 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73165         [BZ #12852]
73166         * posix/glob.c (glob): Check passed in values before using them in
73167         expressions to avoid some overflows.
73168         (glob_in_dir): Likewise.
73170         [BZ #13007]
73171         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
73172         check for AVX enablement so that we don't crash with old kernels and
73173         new hardware.
73174         * elf/tst-audit4.c: Add same checks here.
73175         * elf/tst-audit6.c: Likewise.
73177         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
73179 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
73181         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
73183 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
73185         * po/cs.po: Update from translation team.
73186         * po/bg.po: Likewise.
73188 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
73190         * misc/sys/cdefs.h: Add support for const attribute.
73191         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
73192         to gnu_dev_{major,minor,makedev} functions.
73194 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
73196         * intl/dcigettext.c (get_output_charset): Add missing bracket.
73198 2011-07-20  Andreas Schwab  <schwab@redhat.com>
73200         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
73201         strlen results.
73203 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73205         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
73206         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
73207         register in order to avoid conflicts with the soft frame pointer
73208         being held in r11 when necessary.
73209         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
73210         (INTERNAL_VSYSCALL_NCS): Likewise.
73212 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
73214         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
73215         * elf/dl-fini.c (_dl_fini): Adjust caller.
73216         * elf/dl-close.c (_dl_close_worker): Likewise.
73217         * sysdeps/generic/ldsodefs.h: Adjust declaration.
73219 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73221         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
73222         "aux_cache->nlibs < 0".
73224         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
73225         in the reload-count case.
73227 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73229         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73230         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
73231         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
73232         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
73233         * sysdeps/x86_64/multiarch/strcat.S: New file.
73234         * sysdeps/x86_64/multiarch/strncat.S: New file.
73235         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
73236         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
73237         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
73238         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
73239         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
73240         (USE_AS_STRCAT): Define.
73241         Add strcat and strncat support.
73242         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73243         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
73244         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
73245         * string/strncat.c: Update.
73246         (USE_AS_STRNCAT): Define.
73247         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73248         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
73249         and i7.
73250         * sysdeps/x86_64/multiarch/init-arch.h
73251         (bit_Prefer_PMINUB_for_stringop): New.
73252         (index_Prefer_PMINUB_for_stringop): Likewise.
73253         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
73254         bit_Prefer_PMINUB_for_stringop.
73256 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73258         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
73259         buffer64.
73260         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
73261         of casting of buffer.
73262         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
73263         buffer32 and buffer64.
73264         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
73265         writes instead of casting of buffer.
73266         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
73267         buffer32.
73268         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
73269         casting of buffer.
73271 2011-07-19  Andreas Schwab  <schwab@redhat.com>
73273         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
73275 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73277         * nscd/nscd.c (termination_handler): Don't do anything for a database
73278         if it has not yet been initialized.
73280 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73282         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73284 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73286         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73288 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73290         * po/nl.po: Update from translation team.
73291         * po/sv.po: Likewise.
73293 2011-07-16  Roland McGrath  <roland@hack.frob.com>
73295         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
73296         now disallowed by GCC.
73298         * configure.in (use-default-link): Default to yes if a test -shared
73299         link meets our qualifications.
73300         * configure: Regenerated.
73302         * config.make.in (output-format): New variable.
73303         * configure.in: Check for ld --print-output-format support.
73304         * configure: Regenerated.
73305         * Makerules ($(common-objpfx)format.lds)
73306         [$(output-format) != unknown]: Just use $(output-format),
73307         instead of the linker-script munging.
73309 2011-07-14  Roland McGrath  <roland@hack.frob.com>
73311         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
73312         of $(common-objpfx)shlib.lds.
73313         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
73315         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
73316         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
73318         * configure.in (-z relro check): Adjust test code to add a large
73319         writable data section after it.
73320         * configure: Regenerated.
73322 2011-07-11  Roland McGrath  <roland@hack.frob.com>
73324         * configure.in (-z relro check): Fix test code to make the variable
73325         truly const.
73326         * configure: Regenerated.
73328 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
73330         * nscd/nscd.h (struct traced_file): Define.
73331         (struct database_dyn): Remove inotify_descr, reset_res, and filename
73332         elements.  Add traced_files.
73333         (inotify_fd): Declare.
73334         (register_traced_file): Declare.
73335         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
73336         (inotify_fd): Export.
73337         (resolv_conf_descr): Remove.
73338         (nscd_init): Move inotify descriptor creation to main.
73339         Don't register files for notification here.
73340         (register_traced_file): New function.
73341         (invalidate_cache): Don't use reset_res to determine whether to call
73342         res_init, go through the list of registered files.
73343         (main_loop_poll): The inotify descriptors are now stored in the
73344         structures for the traced files.
73345         (main_loop_epoll): Likewise.
73346         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
73347         to __nss_disable_nscd.
73348         * nscd/cache.c (prune_cache): There is no single inotify descriptor
73349         for a database anymore.  Check the records for all the registered
73350         files instead.
73351         * nss/Makefile (libnss_files-routines): Add files-init.
73352         (libnss_db-routines): Add db-init.
73353         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
73354         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
73355         * nss/nss_db/db-init.c: New file.
73356         * nss/nss_files/files-init.c: New file.
73357         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
73358         __nss_lookup_function.
73359         (__nss_lookup_function): Call nss_load_library.
73360         (nss_load_all_libraries): New function.
73361         (__nss_disable_nscd): Take parameter with callback function for files
73362         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
73363         used for the cached services.
73364         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
73365         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
73366         options for features to all the files in nscd.
73368         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
73370 2011-07-10  Roland McGrath  <roland@hack.frob.com>
73372         * csu/elf-init.c (__libc_csu_init): Comment typo.
73374 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
73376         * po/pl.po: Update from translation team.
73377         * po/ja.po: Likewise.
73378         * po/ru.po: Likewise.
73379         * po/ko.po: Likewise.
73380         * po/fr.po: Likewise.
73382 2011-07-09  Roland McGrath  <roland@hack.frob.com>
73384         * configure.in (.ctors/.dtors header and trailer check):
73385         Use an empirical test on a built program.
73386         * configure: Regenerated.
73388         * configure.in (-z relro check): Use an empirical test on a built DSO.
73389         Detect, but do not require, on ia64.
73390         * configure: Regenerated.
73392         * configure.in (READELF): Find it with AC_CHECK_TOOL.
73393         Update tests that use readelf to use $READELF instead.
73394         * configure: Regenerated.
73396 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
73398         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
73399         if the result is not used.
73401 2011-07-05  Andreas Jaeger  <aj@suse.de>
73403         [BZ#9696]
73404         * stdlib/tst-strtod.c: Add testcase.
73406 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
73408         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
73409         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
73410         The latter has a higher limit.  Take additional parameter to pass to
73411         the new function.
73412         (__pathconf): Pass file to __statfs_link_max.
73413         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
73414         __statfs_link_max.
73415         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
73416         __statfs_link_max.
73418         [BZ #12868]
73419         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
73420         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73421         Handle Lustre.
73422         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
73423         (__statfs_filesize_max): Likewise.
73424         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
73426 2011-07-05  Andreas Jaeger  <aj@suse.de>
73428         * resolv/res_comp.c (dn_skipname): Remove unused variable.
73430 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
73432         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
73433         `status' variable.
73434         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
73435         Likewise.
73437 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
73439         * Makefile (strop-tests): Add strncat.
73440         * string/test-strncat.c: New file.
73442 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
73444         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
73446 2011-06-21  Andreas Jaeger  <aj@suse.de>
73448         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
73449         Copy rule from iconvdata/Makefile.
73451 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73453         [BZ #12922]
73454         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
73455         but no long options are defined, just return 'W'.
73457 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
73459         [BZ #9696]
73460         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
73462 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73464         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
73465         netgroups to read.
73466         (innetgr): Likewise.
73468 2011-07-05  Roland McGrath  <roland@hack.frob.com>
73470         * config.make.in (install_root): Default to $(DESTDIR).
73472 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
73474         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
73476 2011-07-02  Roland McGrath  <roland@hack.frob.com>
73478         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
73480         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
73481         containing directory rather than embedding absolute directory names.
73483         * scripts/check-local-headers.sh: Rewritten using awk.
73484         Match by word, not by line.  Print error messages for matches.
73485         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
73487         * Makerules [shlib-lds-flags empty]:
73488         ($(common-objpfx)libc_pic.opts): New target.
73489         ($(common-objpfx)libc_pic.os.clean): New target.
73490         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
73492         * config.make.in (OBJCOPY): New variable.
73493         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
73494         * configure: Regenerated.
73496         * config.make.in (use-default-link): New variable.
73497         * configure.in (use_default_link): Grok --with-default-link to set it.
73498         * configure: Regenerated.
73499         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
73500         (shlib-lds, shlib-lds-flags): Define to empty.
73502         * Makerules (shlib-lds): New variable.
73503         (shlib-lds-flags): New variable.
73504         (build-shlib, build-moduile, build-module-asneeded): Use it.
73505         ($(common-objpfx)libc.so): Use $(shlib-lds).
73506         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
73507         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
73509         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
73510         DT_FLAGS/DT_FLAGS_1 with zero flags.
73512         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
73513         linker script munging.
73515 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
73517         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
73518         as 128-bit value.
73519         * crypt/sha512.c (sha512_process_block): Perform total addition using
73520         128-bit if possible.
73521         (__sha512_finish_ctx): Likewise.
73522         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
73523         as 64-bit value.
73524         * crypt/sha256.c (SWAP64): Define.
73525         (sha256_process_block): Perform total addition using 64-bit if
73526         possible.
73527         (__sha256_finish_ctx): Likewise.
73529 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
73531         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
73532         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73533         * nscd/hstcache.c (cache_addhst): Likewise.
73534         * nscd/grpcache.c (cache_addgr): Likewise.
73535         * nscd/aicache.c (addhstaiX): Likewise.
73536         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
73538 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
73540         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
73541         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73542         * nscd/hstcache.c (cache_addhst): Likewise.
73543         * nscd/grpcache.c (cache_addgr): Likewise.
73544         * nscd/aicache.c (addhstaiX): Likewise.
73546 2011-07-01  Andreas Schwab  <schwab@redhat.com>
73548         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
73549         domain only when needed.
73551 2011-06-30  Andreas Schwab  <schwab@redhat.com>
73553         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
73554         is always restored.
73556 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
73558         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
73559         are re-adding the entry.
73560         * nscd/servicescache.c (cache_addserv): Likewise.
73562 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
73564         * sysdeps/generic/dl-irel.h: fix protection against multiple
73565         inclusions.
73566         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
73568 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
73570         [BZ #12935]
73571         * malloc/memusage.sh: Fix quoting in message.
73572         * debug/xtrace.sh: Likewise.
73574         * configure.in: Remove support for --experimental-malloc option, make
73575         it the default.
73576         * config.make.in: Likewise.
73577         * malloc/Makefile: Likewise.
73579 2011-06-27  Andreas Schwab  <schwab@redhat.com>
73581         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
73582         two-byte characters.
73584 2011-06-27  Roland McGrath  <roland@hack.frob.com>
73586         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
73587         AC_CACHE_CHECK invocation.
73588         * configure: Regenerated.
73590         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
73592 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
73594         [BZ #12350]
73595         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
73596         bit from old_res_options.
73598         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
73600         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
73601         value type for setfct.
73603 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
73605         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73606         __gettimeofday instead of gettimeofday.
73608 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
73610         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
73612 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
73614         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
73616         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
73617         info.
73619 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73622         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73623         strcpy-sse2-unaligned strncpy-sse2-unaligned
73624         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
73625         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
73626         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
73627         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
73628         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
73629         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
73630         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
73631         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
73632         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
73633         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
73634         (STRCPY): Support SSE2 and SSSE3 versions.
73636 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
73638         [BZ #12874]
73639         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
73640         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
73641         kernels which artificially limit size of requests.
73643 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73645         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73646         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73647         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
73648         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
73649         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
73650         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
73651         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
73652         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
73653         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
73654         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
73655         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
73656         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
73657         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
73658         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
73659         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
73660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73661         Enable unaligned load optimization for Intel Core i3, i5 and i7
73662         processors.
73663         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
73664         Define.
73665         (index_Fast_Unaligned_Load): Define.
73666         (HAS_FAST_UNALIGNED_LOAD): Define.
73668 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
73670         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
73672 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73674         [BZ #12907]
73675         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
73676         until it is clear that the information is realy needed.
73677         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
73679 2011-06-22  Andreas Schwab  <schwab@redhat.com>
73681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
73683 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73685         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73686         /sys/devices/system/cpu/online if it is usable.
73688         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
73689         reading the information from the /proc filesystem to once a second.
73691 2011-06-21  Andreas Jaeger  <aj@suse.de>
73693         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
73694         NULL after inclusion of kernel headers.
73696 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
73698         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
73699         calls to internal_setent.
73701         [BZ #12885]
73702         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
73703         addresses using gethostbyname4_r ignore IPv4 addresses.
73705         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
73706         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
73708         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
73710 2011-06-20  David S. Miller  <davem@davemloft.net>
73712         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
73713         inclusions.
73714         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
73716         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
73717         (elf_irel): Use it.
73718         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
73719         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
73720         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
73721         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
73722         * sysdeps/x86_64/dl-irel.h: Likewise.
73724         * elf/dl-runtime.c: Use elf_ifunc_invoke.
73725         * elf/dl-sym.c: Likewise.
73727 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73729         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
73730         need to dereference resplen2.
73732 2011-06-14  Andreas Schwab  <schwab@redhat.com>
73734         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
73736 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73738         * Makeconfig: Define vardbdir and inst_vardbdir.
73739         * nss/Makefile: Add rules to install db-Makefile.
73741         * nss/nss_db/db-XXX.c: Cleanup.
73743         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
73744         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
73745         GLIBC_PRIVATE.
73746         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
73747         * nss/makedb.c: Implement -g option to specify that value strings
73748         are generated and should not be added to table iterated over for
73749         get*ent calls.
73750         * nss/nss_db/db-initgroups.c: New file.
73752         * nss/getent.c: Add support for initgroups lookups through getgrouplist
73753         interface.
73755         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
73756         (internal_getgrouplist): Adjust to name change.
73757         Update use_initgroups_entry if this is not the first call.
73758         * nss/databases.def: Add initgroups entry.
73760         * nss/makedb.c (compute_tables): Check result of multiple hash table
73761         sizes to minimize maximum chain length.
73763 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
73765         * Versions.def: Add entry for libnss_db.
73766         * shlib-versions: Likewise.
73767         * nss/Makefile: Add rules to build libnss_db.
73768         * nss/Versions: Add libnss_db information.  Organize libnss_files
73769         entries better.
73770         * nss/db-Makefile: Add gshadow support.  Change rules for the new
73771         makedb progra.  Some minor improvements to generate smaller files.
73772         * nss/nss_db/nss_db.h: Move NSS database header data structures to
73773         here from...
73774         * nss/makedb.c: ...here.
73775         Improve database format to be smaller and require less memory at
73776         runtime.
73777         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
73778         db anymore.
73779         * nss/nss_db/db-netgrp.c: Likewise.
73780         * nss/nss_db/db-open.c: Likewise.
73781         * nss/nss_files/flies-XXX.x: Adjust comments.
73782         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
73783         * nss/nss_files/files-grp.c: Likewise.
73784         * nss/nss_files/files-hosts.c: Likewise.
73785         * nss/nss_files/files-network.c: Likewise.
73786         * nss/nss_files/files-proto.c: Likewise.
73787         * nss/nss_files/files-pwd.c: Likewise.
73788         * nss/nss_files/files-rpc.c: Likewise.
73789         * nss/nss_files/files-service.c: Likewise.
73790         * nss/nss_files/files-sgrp.c: Likewise.
73791         * nss/nss_files/files-spwd.c: Likewise.
73792         * nss/nss_db/db-alias.c: Removed.
73793         * nss/nss_db/dummy-db.h: Removed.
73795 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
73797         * nss/makedb.c: Rewritten to not use database library.
73798         * nss/Makefile: Update to build new makedb program.
73800 2011-06-14  Andreas Jaeger  <aj@suse.de>
73802         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
73803         memset declaration.
73805 2011-06-10  Andreas Schwab  <schwab@redhat.com>
73807         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
73808         tmpbuf.
73810 2011-06-10  Roland McGrath  <roland@hack.frob.com>
73812         * Makerules (shlib.lds): Fail if the linker script comes out empty.
73813         * elf/Makefile ($(objpfx)ld.so): Likewise.
73815         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
73816         Don't list ld.so twice in dependencies.
73818         * posix/bug-regex31.c: Include <stdlib.h>.
73820         * nscd/hstcache.c (cache_addhst): Remove unused variable.
73822         * nis/nss_compat/compat-spwd.c
73823         (getspent_next_nss_netgr): Remove unused variable.
73824         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
73826         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
73827         nonmembers" output to use the right array.
73829         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
73831         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
73833         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
73834         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
73835         * catgets/gencat.c (read_input_file): Likewise.
73836         * locale/programs/locarchive.c (enlarge_archive): Likewise.
73838         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
73839         variable definition inside #if's controlling its use.
73841         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
73843         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
73845         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
73847         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
73848         unreachable code.
73850         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
73852         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
73853         * configure: Regenerated.
73855         * Makerules: Revert last change.
73856         * elf/Makefile: Likewise.
73858 2011-06-09  Roland McGrath  <roland@hack.frob.com>
73860         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
73861         * elf/Makefile ($(objpfx)librtld.os): Likewise.
73862         (reloc-link): Likewise.
73864 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
73866         * elf/Makefile: Add rules to build pldd.
73867         * elf/pldd.c: New file.
73868         * elf/pldd-xx.c: New file.
73870 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
73872         * version.h: Update for 2.15 development version.
73874 2011-06-07  David S. Miller  <davem@davemloft.net>
73876         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
73877         ifuncs.
73878         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
73879         elf_machine_lazy_rel): Likewise.
73880         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
73881         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
73882         elf_machine_lazy_rel): Likewise.
73883         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
73884         dl_hwcap via passed in argument.
73885         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
73886         Likewise.
73888 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73890         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
73892 2011-06-06  Roland McGrath  <roland@hack.frob.com>
73894         [BZ #12849]
73895         * manual/fdl-1.1.texi: New file, verbatim from:
73896         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
73897         * manual/lgpl-2.1.texi: New file, verbatim from:
73898         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
73899         * manual/Makefile (licenses): New variable, list those new file names.
73900         (texis): Use it.
73901         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
73903         * manual/fdl.texi: File removed.
73904         * manual/lesser.texi: File removed.
73905         * manual/libc.texinfo (Copying, Documentation License):
73906         Use new @include file names, put @appendix directive before @include.
73908 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
73910         [BZ #12841]
73911         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
73912         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
73913         (mq_open): Add __NTH.
73915 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
73917         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73918         Assume Intel Core i3/i5/i7 processor if AVX is available.
73920 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73922         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73923         typo.
73925 2011-05-31  Andreas Schwab  <schwab@redhat.com>
73927         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
73928         memory.  Use alloca_account.  Fix memory leak when retrying.
73930 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73932         * version.h (RELEASE): Bump for 2.14 release.
73933         * include/features.h (__GLIBC_MINOR__): Bump to 14.
73935         * config.make.in (RANLIB): Remove entry.
73937 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
73939         * po/Makefile (po-sed-cmd): Add ksh to extensions.
73940         (libc.pot): Work around missing support for .ksh extension in xgettext.
73942         [BZ #12684]
73943         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
73944         if both request failed.
73945         (send_dg): In case of server errors clear resplen or *resplen2.
73947         [BZ #12454]
73948         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
73949         when there are multiple maps.
73950         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
73951         (_dl_fini): Remove test here.
73953         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
73955 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
73957         [BZ #12350]
73958         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
73959         bit from old_res_options.
73960         (gaih_inet): Likewise.
73962         [BZ #11099]
73963         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
73964         as signed.
73966         * resolv/res_init.c (res_setoptions): Make the code more compact.
73968         [BZ #11558]
73969         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
73970         set RES_USEVC.
73972         [BZ #11634]
73973         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
73975         * malloc/malloc.h: Mark malloc hook variables as deprecated.
73977         [BZ #11781]
73978         * malloc/malloc.h: Declare malloc hook variables as volatile.
73980         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
73981         in last patch.
73983         [BZ #11799]
73984         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
73985         raise in the comment.
73986         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73987         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73988         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
73990 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
73992         [BZ #12811]
73993         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
73994         grow the buffers more if it already has to be sufficient.
73995         (build_wcs_upper_buffer): Likewise.
73996         * posix/regexec.c (check_matching): Likewise.
73997         (clean_state_log_if_needed): Likewise.
73998         (extend_buffers): Don't enlarge buffers beyond size of the input
73999         buffer.
74000         Patches mostly by Emil Wojak <emil@wojak.eu>.
74001         * posix/bug-regex32.c: New file.
74002         * posix/Makefile (tests): Add bug-regex32.
74004         * locale/findlocale.c (_nl_find_locale): Return right away if
74005         _nl_explode_name failed.
74006         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
74008         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
74010         * debug/xtrace.sh: Unify messages.
74011         * malloc/memusage.sh: Likewise.
74013         [BZ #12813]
74014         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
74015         time symbol from vDSO.  Substitute with vsyscall if not available.
74016         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
74017         __vdso_time.
74019         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
74020         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
74021         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
74022         Add sendmmsg and internal_sendmmsg.
74023         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
74024         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
74025         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
74027         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
74028         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
74029         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
74031 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
74033         [BZ #12813]
74034         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
74035         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
74036         available.
74037         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
74038         __vdso_getcpu.
74040         [BZ #12814]
74041         * iconvdata/Makefile (tests): Add bug-iconv9.
74042         * iconvdata/bug-iconv9.c: New file.
74044 2011-05-27  Andreas Schwab  <schwab@redhat.com>
74046         [BZ #12814]
74047         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
74049 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
74051         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74052         (struct user_regs_struct): Change intcs field back to cs.
74054 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
74056         * po/ja.po: Update from translation team.
74058 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
74060         [BZ #12795]
74061         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
74062         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
74064 2011-05-20  Andreas Schwab  <schwab@redhat.com>
74066         * stdlib/longlong.h: Update from GCC.
74068 2011-05-23  Andreas Schwab  <schwab@redhat.com>
74070         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
74071         parameter name.
74072         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
74073         Add parameter name.
74074         (__sysconf): Pass it down.
74076 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
74078         [BZ #12671]
74079         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
74080         some situations.
74081         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
74082         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
74083         add in in __libc_use_alloca calls.  Adjust callers.
74084         (glob): Use malloc in some situations.
74086         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
74087         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
74088         pltexit.
74090 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
74092         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
74093         and CLOCK_BOOTTIME_ALARM.
74095         [BZ #12782]
74096         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
74097         is returned.
74099         * string/_strerror.c (__strerror_r): Print negative errors as signed
74100         numbers.
74102         [BZ #12777]
74103         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
74104         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
74105         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
74107         * configure.in: Fix typo in redirection and correct removal of test
74108         files in two cases.
74110         [BZ #12788]
74111         * locale/setlocale.c (new_composite_name): Fix test to check for
74112         identical name of all categories.
74114         [BZ #12792]
74115         * libio/filedoalloc.c (local_isatty): New function.
74116         (_IO_file_doallocate): Use local_isatty.
74117         * stdio-common/perror.c (perror): In case a new stream is used
74118         forward the stream error.
74119         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
74120         error flag.
74122 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
74124         [BZ #11884]
74125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
74126         alloca.
74127         * include/alloca.h (extend_alloca_account): Define.
74129         [BZ #11857]
74130         * posix/regex.h: Fix comments with documentation of user-accessible
74131         fields after compilation and describe correct free'ing of pattern
74132         after re_compile_pattern.
74133         Patch by Reuben Thomas <rrt@sc3d.org>.
74135 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
74137         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
74138         and -mno-altivec to prevent the compiler from using Altivec and/or
74139         VSX instructions when the corresponding registers are not available.
74141 2011-05-19  Andreas Schwab  <schwab@redhat.com>
74143         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
74145 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
74147         * libio/freopen.c (freopen): Use __dup2, not dup2.
74148         * libio/freopen64.c (freopen64): Likewise.
74150 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74152         [BZ #12775]
74153         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
74154         * math/Makefile (tests): Add test-powl.
74155         (CFLAGS-test-powl.c): Define.
74156         * math/test-powl.c: New file.
74158 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74160         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
74162 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
74164         [BZ #11837]
74165         * iconvdata/gb18030.c: Update to GB18020-2005.
74167 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
74169         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
74170         RE_SYNTAX_POSIX_AWK): Update to match recent development.
74171         Patch by Aharon Robbins <arnold@skeeve.com>.
74173         [BZ #11892]
74174         * stdlib/putenv.c (putenv): Don't always create copy of the variable
74175         on the stack.
74177         [BZ #11895]
74178         * misc/pselect.c (__pselect): Handle timeout value errors hidden
74179         through underflows.
74181         [BZ #12766]
74182         * misc/error.c (error_at_line): Ensure file_name and old_file_name
74183         point to strings before performing equality test for error_one_per_line
74184         mode.
74186         [BZ #11697]
74187         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
74189         [BZ #11820]
74190         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74191         (struct user_fpregs_struct): Avoid __uint*_t types.
74193         [BZ #6420]
74194         * malloc/mtrace.c (tr_where): Add additional parameter to point to
74195         symbol info.  Use it instead of calling _dl_addr locally.
74196         (lock_and_info): New function.
74197         (tr_freehook): Call lock_and_info and pass symbol info as additional
74198         parameter to tr_where.
74199         (tr_mallochook): Likewise.
74200         (tr_reallochook): Likewise.
74201         (tr_memalignhook): Likewise.
74203         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
74204         used and couldn't be at all thread-safe.
74206 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
74208         * libio/freopen.c (freopen): Don't close old file descriptor
74209         before the new one is opened.  Instead dup the new file descriptor
74210         to the old one after the new stream is created.
74211         * libio/freopen64.c (freopen64): Likewise.
74212         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
74213         * libio/fileops.c (_IO_new_file_close_it): Handle new
74214         _IO_FLAGS2_NOCLOSE flag.
74215         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
74216         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
74217         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
74218         _IO_FLAGS2_NOCLOSE flag.
74219         * include/unistd.h: Add hidden_proto for dup3.
74220         Define __have_dup3.
74221         * io/dup3.c: Define hidden symbol.
74222         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
74224         [BZ #7101]
74225         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
74226         when an incomplete long option is used.
74227         * posix/tst-getopt_long1.c: New file.
74228         * posix/Makefile (tests): Add tst-getopt_long1.
74230         [BZ #10138]
74231         * scripts/config.guess: Update from autoconf-2.68.
74232         * scripts/config.sub: Likewise.
74234         [BZ #10157]
74235         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
74236         tests into ...
74237         (has_cpuclock): ...this.  New function.
74238         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
74239         macro here based on has_cpuclock code.
74241         [BZ #10149]
74242         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74243         First byte (not low byte) is now always NUL.
74244         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
74246         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74247         Use non-cancelable interfaces.
74249         [BZ #9809]
74250         * locale/iso-639.def: Add entry for Sorani.
74252         [BZ #11901]
74253         * include/stdlib.h: Move include protection to the right place.
74254         Define abort_msg_s.  Declare __abort_msg with it.
74255         * stdlib/abort.c (__abort_msg): Adjust type.
74256         * assert/assert.c (__assert_fail_base): New function.  Majority
74257         of code from __assert_fail.  Allocate memory for __abort_msg with
74258         mmap.
74259         (__assert_fail): Now call __assert_fail_base.
74260         * assert/assert-perr.c: Remove bulk of implementation.  Use
74261         __assert_fail_base.
74262         * include/assert.hL Declare __assert_fail_base.
74263         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
74264         mmap.
74265         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
74267 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
74269         [BZ #11952]
74270         [BZ #12453]
74271         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
74272         until all modules are registered in the DTV.
74273         * elf/Makefile: Add rules to build and run tst-tls19.
74274         * elf/tst-tls19.c: New file.
74275         * elf/tst-tls19mod1.c: New file.
74276         * elf/tst-tls19mod2.c: New file.
74277         * elf/tst-tls19mod3.c: New file.
74278         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
74280         [BZ #12083]
74281         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
74282         correctly.
74284         [BZ #12601]
74285         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
74286         two-byte sequence errors.
74287         * iconvdata/Makefile (tests): Add bug-iconv8.
74288         * iconvdata/bug-iconv8.c: New file.
74290         [BZ #12626]
74291         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
74292         buf2 definition.
74294         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
74296         [BZ #12432]
74297         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
74298         (dummy_getcfa): New function.
74299         (init): Get _Unwind_GetCFA address, use dummy if not found.
74300         (backtrace_helper): In recursion check, also check whether CFA changes.
74301         (__backtrace): Completely initialize arg.
74303         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
74304         storing incomplete byte sequence in state object.  Avoid testing for
74305         guaranteed too small input if we know there is enough data available.
74307 2011-05-11  Andreas Schwab  <schwab@redhat.com>
74309         * Makeconfig (+link-pie): Indent.
74310         * Rules (binaries-pie): Define if $(have-fpie) and
74311         $(build-shared).
74312         (binaries-shared): Also filter out $(binaries-pie).
74313         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
74314         * nscd/Makefile (others-pie): Add nscd.
74315         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
74316         ($(objpfx)nscd): Remove command override.
74317         * login/Makefile (others-pie): Add pt_chown.
74318         ($(objpfx)pt_chown): Remove command override.
74319         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
74320         remove command overrides.
74322 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
74324         * libio/tst_putwc.c: Fix error messages.
74326         [BZ #12724]
74327         * libio/fileops.c (_IO_new_file_close_it): Always flush when
74328         currently writing and seek to current position when not.
74329         * libio/Makefile (tests): Add bug-fclose1.
74330         * libio/bug-fclose1.c: New file.
74332 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
74334         [BZ #12511]
74335         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
74336         don't set DF_1_NODELETE here.
74337         (do_lookup_x): When entering new entry test for copy relocation
74338         and if necessary set DF_1_NODELETE flag.
74339         * elf/tst-unique4.cc: New file.
74340         * elf/tst-unique4.h: New file.
74341         * elf/tst-unique4lib.cc: New file.
74342         * elf/Makefile: Add rules to build and run tst-unique4.
74343         Patch by Piotr Bury <pbury@goahead.com>.
74345 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
74347         [BZ #12052]
74348         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
74350         [BZ #12625]
74351         * misc/mntent_r.c (addmntent): Flush the stream after the output
74353         [BZ #12393]
74354         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
74355         (is_trusted_path_normalize): Skip initial colon.  Append slash
74356         to empty buffer.  Duplicate is_trusted_path code but allow
74357         constructed patch to be prefix.
74358         (is_dst): Allow $ORIGIN followed by /.
74359         (_dl_dst_substitute): Correct clearing of check_for_trusted.
74360         Correct testing of result of is_trusted_path_normalize
74361         (decompose_rpath): Fix warning.
74363 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
74365         [BZ #11257]
74366         * grp/initgroups.c (internal_getgrouplist): When we found the service
74367         list through the initgroups entry in nsswitch.conf do not always
74368         continue on a successful lookup.  Don't always use the
74369         __nss_group_database value if it is set.
74370         * nss/nsswitch.conf (initgroups): Change action for successful db
74371         lookup to continue for compatibility.
74373 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
74375         [BZ #11532]
74376         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
74377         and CP774 modules.
74378         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
74379         and CP774 modules.
74380         * iconvdata/tst-tables.sh: Likewise.
74381         * iconvdata/cp770.c: New file.
74382         * iconvdata/cp771.c: New file.
74383         * iconvdata/cp772.c: New file.
74384         * iconvdata/cp773.c: New file.
74385         * iconvdata/cp774.c: New file.
74386         * iconvdata/testdata/CP770: New file.
74387         * iconvdata/testdata/CP770..UTF8: New file.
74388         * iconvdata/testdata/CP771: New file.
74389         * iconvdata/testdata/CP771..UTF8: New file.
74390         * iconvdata/testdata/CP772: New file.
74391         * iconvdata/testdata/CP772..UTF8: New file.
74392         * iconvdata/testdata/CP773: New file.
74393         * iconvdata/testdata/CP773..UTF8: New file.
74394         * iconvdata/testdata/CP774: New file.
74395         * iconvdata/testdata/CP774..UTF8: New file.
74397         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
74398         END CHARMAP line.
74399         * iconvdata/gen-8bit-gap.sh: Likewise.
74400         * iconvdata/gen-8bit.sh: Likewise.
74402         * locale/iso-639.def: Add ary entry.
74404         [BZ #11258]
74405         * locale/C-translit.h.in: Add U20A1 transliteration.
74407         [BZ #12178]
74408         * locale/iso-639.def: Add wae entry.
74409         Patch by Kevin Bortis <bortis@translate-wae.ch>.
74411         [BZ #12545]
74412         * locale/programs/localedef.c (construct_output_path): Use ssize_t
74413         for n.
74415         [BZ #12711]
74416         * locale/C-translit.h.in: Add entry for U20B9.
74417         Patch by pravin.d.s@gmail.com.
74419 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
74421         [BZ #12713]
74422         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
74423         ENAMETOOLONG use generic getcwd.
74424         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
74425         in rtld.  Use *stat64.
74426         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
74427         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
74428         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
74429         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
74430         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
74431         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
74432         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
74433         __fstatat64 macros.
74434         * include/dirent.h: Add libc_hidden_proto for rewinddir.
74435         * dirent/rewinddir.c: Add libc_hidden_def.
74436         * sysdeps/mach/hurd/rewinddir.c: Likewise.
74437         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
74439         * include/dirent.h (__alloc_dir): Add flags parameter.
74440         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
74441         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
74442         __alloc_dir.
74443         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
74444         from fdopendir if O_CLOEXEC is already set.
74446 2011-03-15  Alan Modra  <amodra@gmail.com>
74448         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
74449         l_tls_firstbyte_offset non-zero.  Save padding offset in
74450         l_tls_firstbyte_offset for later use.
74451         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
74452         freeing static tls block.
74454 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
74456         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
74457         where #ifdef was intended.  The intent is to prevent ARG_MAX from
74458         being defined by the kernel headers.
74460 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
74462         [BZ #12734]
74463         * resolv/resolv.h: Define RES_NOTLDQUERY.
74464         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
74465         no-tld-query and set RES_NOTLDQUERY.
74466         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
74467         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
74468         modern BIND to search name as TLD unless forbidden.
74470 2011-05-07  Petr Baudis  <pasky@suse.cz>
74471             Ulrich Drepper  <drepper@gmail.com>
74473         [BZ #12393]
74474         * elf/dl-load.c (fillin_rpath): Move trusted path check...
74475         (is_trusted_path): ...to here.
74476         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
74477         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
74478         using is_trusted_path_normalize() in setuid scripts.
74480 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
74482         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
74483         __BEGIN/__END_DECLS.
74485 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
74487         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
74488         NSS_STATUS_NOTFOUND if no record was found.
74490 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74492         * sunrpc/Makefile (headers): Add rpc/netdb.h.
74493         (headers-not-in-tirpc): Remove rpc/netdb.h
74494         * resolv/netdb.h: Revert last change.
74496 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74498         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
74499         circular dependency between libgcc.a and libc.a.
74501 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74503         * resolv/netdb.h: Don't include <rpc/netdb.h>.
74504         * nis/Makefile: Don't install rpcsvc/*.
74505         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
74506         instead of <rpc/types.h>.
74507         (MAXHOSTNAMELEN): Define.
74509 2011-05-03  Andreas Schwab  <schwab@redhat.com>
74511         * elf/ldconfig.c (add_dir): Don't crash on empty path.
74513 2011-04-28  Maciej Babinski  <mbabinski@google.com>
74515         [BZ #12714]
74516         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
74517         gethostbyname4_r when IPv6 results are possible.
74519 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
74521         [BZ #12723]
74522         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
74523         _PC_PIPE_BUF handling.
74525 2011-04-30  Bruno Haible  <bruno@clisp.org>
74527         [BZ #12717]
74528         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
74529         * resolv/netdb.h (getnameinfo): Change type of flags parameter
74530         to 'int'.
74531         * inet/getnameinfo.c (getnameinfo): Likewise.
74533 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
74535         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
74536         to groups setting in database lookup.
74537         * nss/nsswitch.conf: Add initgroups entry.
74539 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
74541         [BZ #12685]
74542         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
74543         mode string.
74544         Patch by Eric Blake <eblake@redhat.com>.
74546 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
74548         * sunrpc/Makefile (need-export-routines): Add svc_run.
74549         (routines): Remove svc_run.
74550         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
74551         * sunrpc/clnt_perr.c (clnt_perrno): Export.
74552         * sunrpc/svc_run.c (svc_run): Likewise.
74553         * sunrpc/svc_udp.c (svcudp_create): Likewise.
74555 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
74557         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
74558         problem in reallocation in last patch.
74560 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
74562         * sunrpc/Makefile: Move inclusion of Rules.
74564 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74566         * nss/nss_files/files-initgroups.c: New file.
74567         * nss/Makefile (libnss_files-routines): Add files-initgroups.
74568         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
74569         _nss_files_initgroups_dyn.
74571 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
74573         * elf/elf.h (R_ARM_IRELATIVE): Define.
74575 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74577         * po/ru.po: Update from translation team.
74579 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74581         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
74582         dependencies.
74584 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
74586         [BZ #12653]
74587         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
74588         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
74589         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74590         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
74591         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
74593 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
74595         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
74596         differing bytes.
74597         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
74598         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
74599         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74601 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74603         [BZ #12420]
74604         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
74605         storing it.
74606         * stdlib/bug-getcontext.c: New file.
74607         * stdlib/Makefile: Add rules to build and run bug-getcontext.
74609 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74611         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
74612         instructions into .machine "z9-109".
74613         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
74614         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
74616 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74618         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
74619         between environment variables and auxiliary vector.
74621 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
74623         * Makefile: Add rules to build linkobj/libc.so.
74624         * include/libc-symbols.h: Define libc_hidden_nolink.
74625         * include/rpc/auth.h: Mark functions which are to be hidden.
74626         * include/rpc/auth_des.h: Likewise.
74627         * include/rpc/auth_unix.h: Likewise.
74628         * include/rpc/clnt.h: Likewise.
74629         * include/rpc/des_crypt.h: Likewise.
74630         * include/rpc/key_prot.h: Likewise.
74631         * include/rpc/pmap_clnt.h: Likewise.
74632         * include/rpc/pmap_prot.h: Likewise.
74633         * include/rpc/pmap_rmt.h: Likewise.
74634         * include/rpc/rpc_msg.h: Likewise.
74635         * include/rpc/svc.h: Likewise.
74636         * include/rpc/svc_auth.h: Likewise.
74637         * include/rpc/xdr.h: Likewise.
74638         * nis/Makefile: Link all DSOs against linkobj/libc.so.
74639         * nss/Makefile: Likewise.
74640         * sunrpc/Makefile: Don't install headers.  Build library with normal
74641         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
74642         * sunrpc/auth_des.c: Hide exported symbols by default, export some
74643         for the compat linking library.  Remove use of INTDEF/INTUSE.
74644         * sunrpc/auth_none.c: Likewise.
74645         * sunrpc/auth_unix.c: Likewise.
74646         * sunrpc/authdes_prot.c: Likewise.
74647         * sunrpc/authuxprot.c: Likewise.
74648         * sunrpc/clnt_gen.c: Likewise.
74649         * sunrpc/clnt_perr.c: Likewise.
74650         * sunrpc/clnt_raw.c: Likewise.
74651         * sunrpc/clnt_simp.c: Likewise.
74652         * sunrpc/clnt_tcp.c: Likewise.
74653         * sunrpc/clnt_udp.c: Likewise.
74654         * sunrpc/clnt_unix.c: Likewise.
74655         * sunrpc/des_crypt.c: Likewise.
74656         * sunrpc/des_soft.c: Likewise.
74657         * sunrpc/get_myaddr.c: Likewise.
74658         * sunrpc/key_call.c: Likewise.
74659         * sunrpc/key_prot.c: Likewise.
74660         * sunrpc/netname.c: Likewise.
74661         * sunrpc/pm_getmaps.c: Likewise.
74662         * sunrpc/pm_getport.c: Likewise.
74663         * sunrpc/pmap_clnt.c: Likewise.
74664         * sunrpc/pmap_prot.c: Likewise.
74665         * sunrpc/pmap_prot2.c: Likewise.
74666         * sunrpc/pmap_rmt.c: Likewise.
74667         * sunrpc/publickey.c: Likewise.
74668         * sunrpc/rpc_cmsg.c: Likewise.
74669         * sunrpc/rpc_common.c: Likewise.
74670         * sunrpc/rpc_dtable.c: Likewise.
74671         * sunrpc/rpc_prot.c: Likewise.
74672         * sunrpc/rpc_thread.c: Likewise.
74673         * sunrpc/rtime.c: Likewise.
74674         * sunrpc/svc.c: Likewise.
74675         * sunrpc/svc_auth.c: Likewise.
74676         * sunrpc/svc_authux.c: Likewise.
74677         * sunrpc/svc_raw.c: Likewise.
74678         * sunrpc/svc_run.c: Likewise.
74679         * sunrpc/svc_simple.c: Likewise.
74680         * sunrpc/svc_tcp.c: Likewise.
74681         * sunrpc/svc_udp.c: Likewise.
74682         * sunrpc/svc_unix.c: Likewise.
74683         * sunrpc/svcauth_des.c: Likewise.
74684         * sunrpc/xcrypt.c: Likewise.
74685         * sunrpc/xdr.c: Likewise.
74686         * sunrpc/xdr_array.c: Likewise.
74687         * sunrpc/xdr_float.c: Likewise.
74688         * sunrpc/xdr_intXX_t.c: Likewise.
74689         * sunrpc/xdr_mem.c: Likewise.
74690         * sunrpc/xdr_rec.c: Likewise.
74691         * sunrpc/xdr_ref.c: Likewise.
74692         * sunrpc/xdr_sizeof.c: Likewise.
74693         * sunrpc/xdr_stdio.c: Likewise.
74695 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
74697         [BZ #12650]
74698         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
74699         * sysdeps/ia64/dl-tls.h: Likewise.
74700         * sysdeps/powerpc/dl-tls.h: Likewise.
74701         * sysdeps/s390/dl-tls.h: Likewise.
74702         * sysdeps/sh/dl-tls.h: Likewise.
74703         * sysdeps/sparc/dl-tls.h: Likewise.
74704         * sysdeps/x86_64/dl-tls.h: Likewise.
74705         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
74707 2011-03-14  Andreas Schwab  <schwab@redhat.com>
74709         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
74710         rpath element also skip the following colon.
74711         (expand_dynamic_string_token): Add is_path parameter and pass
74712         down to DL_DST_REQUIRED and _dl_dst_substitute.
74713         (decompose_rpath): Call expand_dynamic_string_token with
74714         non-zero is_path.  Ignore empty rpaths.
74715         (_dl_map_object_from_fd): Call expand_dynamic_string_token
74716         with zero is_path.
74718 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
74720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74721         Make cancelable.
74723 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
74725         [BZ #12655]
74726         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
74727         Patch by Filipe David Manana <fdmanana@apache.org>.
74729 2011-04-07  Andreas Schwab  <schwab@redhat.com>
74731         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
74732         Maintain aligned stack.
74733         (CHECK_RSP): Remove unused macro.
74735 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
74737         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
74738         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
74740 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
74742         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
74744         * include/features.h: Mention __USE_XOPEN2K8 in comment.
74746 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
74748         [BZ #12518]
74749         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
74750         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
74751         * sysdeps/x86_64/memmove.c: New file.
74752         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
74753         (memcpy): Renamed to ...
74754         (__new_memcpy): This.
74755         (memcpy): Provide GLIBC_2_14 memcpy.
74756         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
74757         (memcpy): Provide GLIBC_2_2_5 memcpy.
74759 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74761         [BZ #12631]
74762         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
74764 2011-03-30  Andreas Schwab  <schwab@redhat.com>
74766         * misc/syncfs.c: New file.
74767         * misc/Makefile (routines): Add syncfs.
74768         * posix/unistd.h: Declare syncfs.
74769         * sysdeps/unix/syscalls.list: Add syncfs.
74771 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74773         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
74774         open_by_handle_at.
74775         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74776         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74777         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74778         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74779         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74780         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
74781         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74783 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74785         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
74786         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74787         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
74788         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74789         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74790         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74791         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74793         * io/Makefile: Compile fallocate.c, fallocate64.c, and
74794         sync_file_range.c with -fexceptions.
74795         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
74796         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
74797         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
74798         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
74799         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
74800         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74801         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
74802         sync_file_range as cancellation point
74803         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
74804         now a wrapper around __call_sync_file_range with cancellation handling.
74805         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
74806         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
74807         function name to __call_sync_file_range.
74808         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
74809         Add call_sync_file_range.
74811 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74813         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74814         bits/timex.h.
74816 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74818         * iconv/iconv.h: Fix typo in comment.
74819         * io/fcntl.h: Likewise.
74820         * libio/stdio.h: Likewise.
74821         * posix/spawn.h: Likewise.
74822         * posix/unistd.h: Likewise.
74823         * stdlib/stdlib.h: Likewise.
74824         * time/time.h: Likewise.
74825         * wcsmbs/wchar.h: Likewise.
74827         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
74828         open_by_handle): Add.
74829         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
74830         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
74831         Augment a few comments.
74832         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74833         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74834         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74835         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74836         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74837         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
74838         open_by_handle.
74840         * io/fcntl.h (AT_EMPTY_PATH): Define.
74842 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
74844         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
74845         * sysdeps/unix/sysv/linux/bits/time.h: New file.
74846         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
74847         to...
74848         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
74849         * Versions.def: Add GLIBC_2.14.
74850         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
74851         Export.
74853 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
74855         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
74856         round counter.
74857         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74859 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74861         [BZ #12597]
74862         * string/test-strncmp.c (do_page_test): New function.
74863         (check2): Likewise.
74864         (test_main): Call check2.
74865         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
74867 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
74869         [BZ #12587]
74870         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
74871         Handle cache information in CPU leaf 4.
74872         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74874 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
74876         [BZ #12583]
74877         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
74878         character representation.
74879         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
74881 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
74883         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
74884         END(__isnan) to END(__isnanf) to match function entry point/label
74885         EALIGN(__isnanf,...).
74887 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
74889         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
74891 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
74893         [BZ #12510]
74894         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
74895         copy from the symbol referenced in the relocation to initialize the
74896         used variable.
74897         Patch by Piotr Bury <pbury@goahead.com>.
74898         * elf/Makefile: Add rules to build and tst-unique3.
74899         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
74900         * elf/tst-unique3.cc: New file.
74901         * elf/tst-unique3.h: New file.
74902         * elf/tst-unique3lib.cc: New file.
74903         * elf/tst-unique3lib2.cc: New file.
74905         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
74907 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
74909         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
74910         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
74911         to _start.
74913 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
74915         * elf/dl-load.c (_dl_map_object): If we are looking for the first
74916         to-be-loaded object along a path to loader is ld.so.
74918 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74919             Ulrich Drepper  <drepper@gmail.com>
74921         * sysdeps/x86_64/memset.S: After aligning destination, code
74922         branches to different locations depending on the value of
74923         misalignment, when multiarch is enabled. Fix this.
74925 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74927         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
74928         Set _x86_64_preferred_memory_instruction for AMD processsors.
74929         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74930         Set bit_Prefer_SSE_for_memop for AMD processors.
74932 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
74934         * libio/fmemopen.c (fmemopen): Optimize a bit.
74936 2011-03-03  Andreas Schwab  <schwab@redhat.com>
74938         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
74940 2011-03-03  Roland McGrath  <roland@redhat.com>
74942         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
74944 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
74946         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
74947         __bzero_ultra1 instead of __memset_ultra1.
74949 2011-02-23  Andreas Schwab  <schwab@redhat.com>
74950             Ulrich Drepper  <drepper@gmail.com>
74952         [BZ #12509]
74953         * include/link.h (struct link_map): Add l_orig_initfini.
74954         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
74955         returning unsuccessfully.
74956         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
74957         close of a file loaded at startup, restore the original l_initfini
74958         list.
74959         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
74960         list, store the pointer.
74961         * elf/Makefile ($(objpfx)noload-mem): New rule.
74962         (noload-ENV): Define.
74963         (tests): Add $(objpfx)noload-mem.
74964         * elf/noload.c: Include <memcheck.h>.
74965         (main): Call mtrace.  Close all opened handles.
74967 2011-02-17  Andreas Schwab  <schwab@redhat.com>
74969         [BZ #12454]
74970         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
74971         dependencies are missing.
74973 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74975         Fix __if_freereq crash: Unlike the generic version which uses free,
74976         Hurd needs munmap.
74977         * sysdeps/mach/hurd/ifreq.h: New file.
74979 2011-01-27  Petr Baudis  <pasky@suse.cz>
74980             Ulrich Drepper  <drepper@gmail.com>
74982         [BZ 12445]#
74983         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
74984         to extend_alloca().
74985         * stdio-common/bug23.c: New file.
74986         * stdio-common/Makefile (tests): Add bug23.
74988 2010-09-28  Andreas Schwab  <schwab@redhat.com>
74989             Ulrich Drepper  <drepper@gmail.com>
74991         [BZ #12489]
74992         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
74993         before performing relro protection.  At old place add assertion
74994         to make sure nothing changed.
74996 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
74997             Glauber de Oliveira Costa  <glommer@gmail.com>
74999         * elf/elf.h: Add new ARM TLS relocs.
75001 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
75003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75004         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
75005         cast from r3.
75006         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
75007         'tests' variable.
75008         * sysdeps/wordsize-64/tst-writev.c: New file.
75010 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
75012         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
75013         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
75014         insns in _dl_start to prevent a TOC reference before relocs are
75015         resolved.
75017 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
75019         [BZ #12469]
75020         * Makeconfig: Remove RANLIB definition.
75021         * Makerules: Don't use RANLIB.
75022         * aclocal.m4: Remove ranlib test.
75023         * configure.in: No need to check for ranlib.
75024         * elf/rtld-Rules: Don't use RANLIB.
75026 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75028         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
75029         protection macro.
75030         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
75031         inclusion protection macro.
75033         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
75034         SIGRTMIN and SIGRTMAX and print information in that case only when
75035         SIGRTMIN is defined.
75037 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
75039         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
75040         arginfo fn returning -1.
75042         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
75043         and thousands string is zero terminated.
75045 2011-02-03  Andreas Schwab  <schwab@redhat.com>
75047         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
75048         sysdeps/unix/sysv/linux/bits/socket.h.
75050 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75052         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
75053         (__CPU_COUNT): Remove old macros.
75054         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
75055         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
75056         (__CPU_ALLOC, __CPU_FREE): Add macros.
75057         (__sched_cpualloc, __sched_cpufree): Add declarations.
75059 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
75061         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
75062         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
75063         * nscd/aicache.c (addhstaiX): Return timeout of added value.
75064         (readdhstai): Return value of addhstaiX call.
75065         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
75066         (addgrbyX): Return value returned by cache_addgr.
75067         (readdgrbyname): Return value returned by addgrbyX.
75068         (readdgrbygid): Likewise.
75069         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
75070         (addpwbyX): Return value returned by cache_addpw.
75071         (readdpwbyname): Return value returned by addhstbyX.
75072         (readdpwbyuid): Likewise.
75073         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
75074         (addservbyX): Return value returned by cache_addserv.
75075         (readdservbyname): Return value returned by addservbyX:
75076         (readdservbyport): Likewise.
75077         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
75078         (addhstbyX): Return value returned by cache_addhst.
75079         (readdhstbyname): Return value returned by addhstbyX.
75080         (readdhstbyaddr): Likewise.
75081         (readdhstbynamev6): Likewise.
75082         (readdhstbyaddrv6): Likewise.
75083         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
75084         (readdinitgroups): Return value returned by addinitgroupsX.
75085         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
75086         (prune_cache): Keep track of timeout value of re-added entries.
75087         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
75088         * nscd/nscd.h: Adjust prototypes of readd* functions.
75090 2011-02-04  Roland McGrath  <roland@redhat.com>
75092         * nis/nis_server.c (nis_servstate): Use the right name for 0.
75093         (nis_stats): Likewise.
75094         * nis/nis_modify.c (nis_modify): Likewise.
75095         * nis/nis_remove.c (nis_remove): Likewise.
75096         * nis/nis_add.c (nis_add): Likewise.
75098         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
75100         * posix/fnmatch_loop.c: Add some consts.
75102         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
75104 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
75106         [BZ #12460]
75107         * config.make.in (config-cflags-novzeroupper): Define.
75108         * configure.in: Substitute libc_cv_cc_novzeroupper.
75109         * elf/Makefile (AVX-CFLAGS): Define.
75110         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
75111         (CFLAGS-tst-auditmod4a.c): Likewise.
75112         (CFLAGS-tst-auditmod4b.c): Likewise.
75113         (CFLAGS-tst-auditmod6b.c): Likewise.
75114         (CFLAGS-tst-auditmod6c.c): Likewise.
75115         (CFLAGS-tst-auditmod7b.c): Likewise.
75116         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
75118 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
75120         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
75121         function to the callback.
75122         Patch partly by Jiri Olsa <jolsa@redhat.com>.
75124 2011-02-02  Andreas Schwab  <schwab@redhat.com>
75126         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
75127         of errno.
75129 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
75131         [BZ #11724]
75132         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
75133         of constructors.
75134         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
75135         of destructors.
75136         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
75138         [BZ #11724]
75139         * elf/Makefile: Add rules to build and run new test.
75140         * elf/tst-initorder.c: New file.
75141         * elf/tst-initorder.exp: New file.
75142         * elf/tst-initordera1.c: New file.
75143         * elf/tst-initordera2.c: New file.
75144         * elf/tst-initordera3.c: New file.
75145         * elf/tst-initordera4.c: New file.
75146         * elf/tst-initorderb1.c: New file.
75147         * elf/tst-initorderb2.c: New file.
75148         * elf/tst-order-a1.c: New file.
75149         * elf/tst-order-a2.c: New file.
75150         * elf/tst-order-a3.c: New file.
75151         * elf/tst-order-a4.c: New file.
75152         * elf/tst-order-b1.c: New file.
75153         * elf/tst-order-b2.c: New file.
75154         * elf/tst-order-main.c: New file.
75155         New test case by George Gensure <werkt0@gmail.com>.
75157 2010-10-01  Andreas Schwab  <schwab@redhat.com>
75159         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75160         decoding ACE if AI_CANONIDN.
75162 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
75164         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
75166 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
75168         * version.h (RELEASE): Bump for 2.13 release.
75169         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
75171         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
75173         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
75174         MADV_NOHUGEPAGE.
75175         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
75176         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
75177         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75178         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75179         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75180         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75182         * posix/getconf.c: Update copyright year.
75183         * catgets/gencat.c: Likewise.
75184         * csu/version.c: Likewise.
75185         * debug/catchsegv.sh: Likewise.
75186         * debug/xtrace.sh: Likewise.
75187         * elf/ldconfig.c: Likewise.
75188         * elf/ldd.bash.in: Likewise.
75189         * elf/sprof.c (print_version): Likewise.
75190         * iconv/iconv_prog.c: Likewise.
75191         * iconv/iconvconfig.c: Likewise.
75192         * locale/programs/locale.c: Likewise.
75193         * locale/programs/localedef.c: Likewise.
75194         * malloc/memusage.sh: Likewise.
75195         * malloc/mtrace.pl: Likewise.
75196         * nscd/nscd.c (print_version): Likewise.
75197         * nss/getent.c: Likewise.
75199         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
75200         PF_CAIF, and PF_ALG.
75201         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75203 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
75205         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
75206         (modules-names): Use them.
75207         (ifunc-test-modules, ifunc-pie-tests): Define.
75208         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
75209         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
75210         (test-extras): Likewise.
75211         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
75212         $(compile-command.c).
75213         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
75214         (all-built-dso): Define.
75215         (check-textrel.out, check-execstack.out): Depend on it.
75217         * configure.in: Don't override --enable-multi-arch.
75219 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
75221         [BZ #6812]
75222         * nscd/hstcache.c (tryagain): Define.
75223         (cache_addhst): Return tryagain not notfound for temporary errors.
75224         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
75225         failed.
75227 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
75229         [BZ #10563]
75230         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
75231         to make the syscall.
75232         * sysdeps/unix/sysv/linux/setgroups.c: New file.
75234         [BZ #12378]
75235         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
75236         and fall back to matching as normal character if the string ends before
75237         the matching ']' is found.  This is what POSIX requires.
75238         * posix/testfnm.c: Adjust test result.
75239         * posix/globtest.sh: Adjust test result.  Add new test.
75240         * posix/tst-fnmatch.input: Likewise.
75241         * posix/tst-fnmatch2.c: Add new test.
75243 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
75245         * elf/Makefile (check-execstack): Revert last change.  Depend on
75246         check-execstack.h.
75247         (check-execstack.h): New target.
75248         (generated): Add check-execstack.h.
75249         * elf/check-execstack.c: Include "check-execstack.h".
75250         (main): Revert last change.
75251         (handle_file): Return zero if GNU_STACK is absent and
75252         DEFAULT_STACK_PERMS doesn't include PF_X.
75254 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
75256         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
75257         in child fails because the descriptor is already closed.
75258         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
75259         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
75260         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
75262         [BZ #12397]
75263         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
75264         syscall.
75266         [BZ #10484]
75267         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
75268         temporary buffer used to handle multi lookups locally.
75269         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
75271 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75273         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
75274         loader is ld.so.
75276 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
75278         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
75279         alignment for SSE2.
75281 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75283         [BZ #12394]
75284         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
75285         characters.  When rounding increased number of integer digits recompute
75286         number of groups.
75287         * stdio-common/tst-grouping.c: New file.
75288         * stdio-common/Makefile: Add rules to build and run tst-grouping.
75290 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
75292         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
75293         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
75295         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
75296         void.
75297         * bits/select.h: Likewise.
75299 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
75301         * po/ja.po: Update from translation team.
75303 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
75305         [BZ #11155]
75306         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
75307         implementation just like for lxstat, fxstatat, et al.
75309 2010-12-27  Jim Meyering  <meyering@redhat.com>
75311         [BZ #12348]
75312         * posix/regexec.c (build_trtable): Return failure indication upon
75313         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
75315 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
75317         [BZ #12201]
75318         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
75319         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
75320         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
75321         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
75323         [BZ #12207]
75324         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
75326         [BZ #12204]
75327         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
75328         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
75330 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
75332         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
75333         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
75334         script has SORT_BY_INIT_PRIORITY.
75335         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
75336         NO_CTORS_DTORS_SECTIONS is defined.
75337         * elf/soinit.c: Likewise.
75338         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
75339         NO_CTORS_DTORS_SECTIONS is defined.
75340         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
75341         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
75342         * sysdeps/sh/init-first.c: Likewise.
75343         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
75345 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
75347         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
75348         always use the slow path.
75350 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
75352         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
75353         similar rule which adds the sysdep directories to the header search in
75354         order to pick up the correct platform stackinfo.h.
75355         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
75356         perform test if it is, otherwise return successfully without testing.
75357         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
75358         DEFAULT_STACK_PERMS define in stackinfo.h.
75359         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
75360         defined in stackinfo.h.
75361         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
75362         DEFAULT_STACK_PERMS defined in stackinfo.h.
75363         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
75364         * sysdeps/ia64/stackinfo.h: Likewise.
75365         * sysdeps/s390/stackinfo.h: Likewise.
75366         * sysdeps/sh/stackinfo.h: Likewise.
75367         * sysdeps/sparc/stackinfo.h: Likewise.
75368         * sysdeps/x86_64/stackinfo.h: Likewise.
75369         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
75370         PF_X for powerpc64.  Retain PF_X for powerpc32.
75372 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
75374         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
75375         accurately.
75376         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
75377         GETDENTS_64BIT_ALIGNED.
75379 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
75381         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
75383 2010-12-10  Andreas Schwab  <schwab@redhat.com>
75385         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
75386         _GNU_SOURCE.
75388         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
75389         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
75390         Remove __restrict.
75391         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
75392         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
75394 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
75396         [BZ #11655]
75397         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
75398         are initialized.
75400 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
75402         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
75404 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
75406         * po/it.po: Update from translation team.
75408 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
75410         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
75411         unused codes.
75413 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
75415         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
75417 2010-11-24  Andreas Schwab  <schwab@redhat.com>
75419         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
75420         specially.
75421         (gaih_getanswer_slice): Likewise.
75423 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
75425         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
75427 2010-05-31  Petr Baudis  <pasky@suse.cz>
75429         [BZ #11149]
75430         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
75431         silently even in the chroot mode.
75433 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
75435         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
75436         last patch a bit.  Pretty printing
75438 2010-05-31  Petr Baudis <pasky@suse.cz>
75440         [BZ #10085]
75441         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
75442         initialization of skip_initgroups_dyn.
75444 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
75446         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
75447         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75449 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
75451         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
75453 2010-11-11  Andreas Schwab  <schwab@redhat.com>
75455         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
75456         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
75457         (tst-fnmatch-ENV): Set MALLOC_TRACE.
75458         ($(objpfx)tst-fnmatch-mem): New rule.
75459         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
75460         * posix/tst-fnmatch.c (main): Call mtrace.
75462 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
75464         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75465         Support Intel processor model 6 and model 0x2c.
75467 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
75469         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
75470           signed comparison.
75472 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
75474         [BZ #12205]
75475         * string/test-strncasecmp.c (check_result): New function.
75476         (do_one_test): Use it.
75477         (check1): New function.
75478         (test_main): Use it.
75479         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
75480         Support strcasecmp and strncasecmp.
75482 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
75484         [BZ #12194]
75485         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
75486         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75488 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
75490         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
75491         IFUNC support.
75492         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75493         memset-x86-64.
75494         * sysdeps/x86_64/multiarch/bzero.S: New file.
75495         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
75496         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
75497         * sysdeps/x86_64/multiarch/memset.S: New file.
75498         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
75499         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75500         Set bit_Prefer_SSE_for_memop for Intel processors.
75501         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
75502         Define.
75503         (index_Prefer_SSE_for_memop): Define.
75504         (HAS_PREFER_SSE_FOR_MEMOP): Define.
75506 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
75508         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
75509         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
75511 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
75513         [BZ #12191]
75514         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75515         (__x86_64_raw_data_cache_size_half): Likewise.
75516         (__x86_64_raw_shared_cache_size): Likewise.
75517         (__x86_64_raw_shared_cache_size_half): Likewise.
75519         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75520         (__x86_64_raw_data_cache_size_half): Likewise.
75521         (__x86_64_raw_shared_cache_size): Likewise.
75522         (__x86_64_raw_shared_cache_size_half): Likewise.
75523         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
75524         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
75525         and __x86_64_raw_shared_cache_size_half.  Round
75526         __x86_64_data_cache_size_half, __x86_64_data_cache_size
75527         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
75528         to multiple of 256 bytes.
75530 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
75532         [BZ #12167]
75533         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
75534         of inacessible symlinks.  Verify result of symlink before returning it.
75535         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
75536         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
75538 2010-10-28  Erich Ritz  <erichritz@gmail.com>
75540         * math/math.h (isinf): Fix typo in comment.
75542 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
75544         * po/da.po: Update from translation team.
75546 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
75548         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
75549         is added to the list.
75551 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75552             Ulrich Drepper  <drepper@gmail.com>
75554         * elf/dl-object.c (_dl_new_object): Don't append the new object to
75555         the global list here.  Move code to...
75556         (_dl_add_to_namespace_list): ...here.  New function.
75557         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
75558         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
75559         * elf/dl-load.c (lose): Don't remove the element from the list.
75560         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
75561         (_dl_map_object): Likewise.
75563 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
75565         [BZ #12159]
75566         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
75567         into all bytes of SSE register.
75568         Patch by Richard Li <richardpku@gmail.com>.
75570 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
75572         [BZ #12140]
75573         * malloc/malloc.c (_int_free): Fill correct number of bytes when
75574         perturbing.
75576 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
75578         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
75579         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
75580         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
75581         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
75583         submachine.
75584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
75586 2010-10-22  Andreas Schwab  <schwab@redhat.com>
75588         * include/dlfcn.h (__RTLD_SECURE): Define.
75589         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
75590         mode & __RTLD_SECURE instead.
75591         (open_path): Rename preloaded parameter to secure.
75592         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
75593         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
75594         * elf/dl-deps.c (openaux): Likewise.
75595         * elf/rtld.c (struct map_args): Remove is_preloaded.
75596         (map_doit): Don't use it.
75597         (dl_main): Likewise.
75598         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
75599         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
75601 2010-09-09  Andreas Schwab  <schwab@redhat.com>
75603         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
75604         (sysd-rules-targets): Remove duplicates.
75605         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
75606         rtld-%.$o dependency.
75608 2010-10-18  Andreas Schwab  <schwab@redhat.com>
75610         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
75611         _dl_map_object do it.
75613 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
75615         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
75616         fast fma builtins, define the macros in the C99 standard.
75617         (FP_FAST_FMAF): Likewise.
75618         (FP_FAST_FMAL): Likewise.
75619         * sysdeps/x86_64/bits/mathdef.h: Likewise.
75621         * bits/mathdef.h: Update copyright year.
75622         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75624 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
75626         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
75627         builtins, define the macros in the C99 standard.
75628         (FP_FAST_FMAF): Likewise.
75629         (FP_FAST_FMAL): Likewise.
75630         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
75631         multiply/add.
75632         (FP_FAST_FMAF): Likewise.
75634 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
75636         [BZ #3268]
75637         * math/libm-test.inc (fma_test): Some new testcases.
75638         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
75639         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
75640         y and infinite z.  Do multiplication by C already in long double.
75641         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
75642         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
75643         y and infinite z.  Do bitwise or of inexact bit into u.d.
75644         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
75645         * sysdeps/i386/fpu/s_fmaf.S: Removed.
75646         * sysdeps/i386/fpu/s_fma.S: Removed.
75647         * sysdeps/i386/fpu/s_fmal.S: Removed.
75649 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
75651         [BZ #3268]
75652         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
75653         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
75654         computation is not scheduled after fetestexcept.  Fix value
75655         of minimum denormal long double.
75657 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
75659         [BZ #3268]
75660         * math/libm-test.inc (fma_test): Add some more tests.
75661         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
75662         correctly.
75664 2010-10-15  Andreas Schwab  <schwab@redhat.com>
75666         * scripts/data/localplt-s390-linux-gnu.data: New file.
75667         * scripts/data/localplt-s390x-linux-gnu.data: New file.
75669 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
75671         [BZ #3268]
75672         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
75673         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
75674         instead of dbl-64.
75675         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
75676         inlines.
75677         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
75678         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
75679         if one of x and y is very large and the other is subnormal.
75680         * sysdeps/s390/fpu/s_fmaf.c: New file.
75681         * sysdeps/s390/fpu/s_fma.c: New file.
75682         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
75683         * sysdeps/powerpc/fpu/s_fma.S: New file.
75684         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
75685         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
75686         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
75688 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
75690         [BZ #3268]
75691         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
75692         fma tests.
75693         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
75694         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
75695         * sysdeps/i386/i686/multiarch/s_fma.c: Include
75696         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
75697         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
75698         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
75699         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
75701 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
75703         [BZ #12078]
75704         * posix/regcomp.c (parse_branch): One more memory leak plugged.
75705         * posix/bug-regex31.input: Add test case.
75707 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75709         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
75710         * posix/bug-regex31.input: New file.
75712         [BZ #12078]
75713         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
75714         (parse_sub_exp): Fix last change, use postorder.
75716         * posix/bug-regex31.c: New file.
75717         * posix/Makefile: Add rules to build and run bug-regex31.
75719         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
75721         [BZ #12078]
75722         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
75724         [BZ #12108]
75725         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
75726         to have entries in sys_siglist.
75728         [BZ #12093]
75729         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
75730         be NULL.
75732 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
75734         [BZ #3268]
75735         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
75736         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
75737         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
75738         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
75739         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75740         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
75741         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
75742         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
75743         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
75744         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
75745         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
75746         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
75747         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
75748         * math/ftestexcept.c (fetestexcept): Likewise.
75749         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
75750         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
75751         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
75752         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
75753         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
75754         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
75755         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75757 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75759         [BZ #12107]
75760         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
75761         newline.
75763 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
75765         * string/bug-strstr1.c: New file.
75766         * string/Makefile: Add rules to build and run bug-strstr1.
75768 2010-10-05  Eric Blake  <eblake@redhat.com>
75770         [BZ #12092]
75771         * string/str-two-way.h (two_way_long_needle): Always clear memory
75772         when skipping input due to the shift table.
75774 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
75776         [BZ #12005]
75777         * malloc/mcheck.c: Handle large requests.
75779         [BZ #12077]
75780         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
75781         for strncmp and strncasecmp.
75782         * string/stratcliff.c: Add tests for strcmp and strncmp.
75783         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
75785 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75787         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
75788         __set_fpscr.
75790 2010-09-30  Andreas Jaeger  <aj@suse.de>
75792         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
75793         (CGROUP_SUPER_MAGIC): Define.
75794         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75795         Handle btrfs and cgroup file systems.
75796         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
75797         Likewise.
75799 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
75801         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
75802         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
75804 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75806         [BZ #12067]
75807         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
75808         trying to locate the ELF header.
75810 2010-09-27  Andreas Schwab  <schwab@redhat.com>
75812         [BZ #11611]
75813         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
75814         Mask out sign-bit copies when constructing f_fsid.
75816 2010-09-24  Petr Baudis <pasky@suse.cz>
75818         * debug/stack_chk_fail_local.c: Add missing licence exception.
75819         * debug/warning-nop.c: Likewise.
75821 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
75823         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
75824         implementing getdents64 using getdents syscall, set d_type if
75825         __ASSUME_GETDENTS32_D_TYPE.
75827 2010-09-16  Andreas Schwab  <schwab@redhat.com>
75829         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
75830         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
75832 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
75834         [BZ #12037]
75835         * posix/unistd.h: Undo change of feature selection for ftruncate from
75836         2010-01-11.
75838 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
75840         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
75841         detection.
75843 2010-09-20  Andreas Schwab  <schwab@redhat.com>
75845         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
75846         fanotify_mark.
75847         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75849 2010-09-14  Andreas Schwab  <schwab@redhat.com>
75851         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
75852         variables after CHECK_SP call.
75853         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
75855 2010-09-13  Andreas Schwab  <schwab@redhat.com>
75856             Ulrich Drepper  <drepper@redhat.com>
75858         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
75859         re-relocationg ld.so.
75860         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
75861         _dl_init_paths call.
75862         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
75863         here anymore.
75865 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
75867         * resolv/res_init.c (__res_vinit): Count the default server we added.
75869 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
75870             Ulrich Drepper  <drepper@redhat.com>
75872         [BZ #11968]
75873         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75874         (____longjmp_chk): Use %ebx for saving value across system call.
75875         Add unwind info.
75877 2010-09-06  Andreas Schwab  <schwab@redhat.com>
75879         * manual/Makefile: Don't mix pattern rules with normal rules.
75881 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75883         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
75884         operation.
75885         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
75886         * libio/iofopncook.c (_IO_cookie_init): Likewise.
75887         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
75888         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
75889         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75890         Likewise.
75892 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
75894         [BZ #11979]
75895         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
75896         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
75898 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
75900         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
75901         * sysdeps/x86_64/addmul_1.S: Likewise.
75902         * sysdeps/x86_64/lshift.S: Likewise.
75903         * sysdeps/x86_64/mul_1.S: Likewise.
75904         * sysdeps/x86_64/rshift.S: Likewise.
75905         * sysdeps/x86_64/sub_n.S: Likewise.
75906         * sysdeps/x86_64/submul_1.S: Likewise.
75908 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75910         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
75911         Define __sched_param instead of SCHED_* and sched_param when
75912         <bits/sched.h> is included with __need_schedparam defined.
75913         * bits/sched.h [__need_schedparam]
75914         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
75915         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
75916         (__defined_schedparam): Define to 1.
75917         (__sched_param): New structure, identical to sched_param.
75918         (__need_schedparam): Undefine.
75920 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
75922         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
75923         (epoll_create1): Declare.
75925         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
75927 2010-08-31  Andreas Schwab  <schwab@redhat.com>
75929         [BZ #7066]
75930         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
75931         shifting retval into place.
75933 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
75935         * nis/rpcsvc/nis.h: Update copyright notice.
75936         * nis/rpcsvc/nis.x: Likewise.
75937         * nis/rpcsvc/nis_callback.h: Likewise.
75938         * nis/rpcsvc/nis_callback.x: Likewise.
75939         * nis/rpcsvc/nis_object.x: Likewise.
75940         * nis/rpcsvc/nis_tags.h: Likewise.
75941         * nis/rpcsvc/yp.h: Likewise.
75942         * nis/rpcsvc/yp.x: Likewise.
75943         * nis/rpcsvc/ypupd.h: Likewise.
75944         * nis/yp_xdr.c: Likewise.
75945         * nis/ypupdate_xdr.c: Likewise.
75947         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
75948         mainly the body of pmap_getport.  Add parameters to specify timeouts.
75949         (pmap_getport): Use __libc_rpc_getport.
75950         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
75951         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
75952         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
75954 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
75956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
75957         fanotify_mark.
75959 2010-08-27  Roland McGrath  <roland@redhat.com>
75961         * sysdeps/i386/i686/multiarch/Makefile
75962         (CFLAGS-varshift.c): New variable.
75964 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
75966         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
75967         * sysdeps/i386/i686/multiarch/varshift.c: New file.
75969         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
75971         * sysdeps/x86_64/strlen.S: Minimal code improvement.
75973 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
75975         * sysdeps/x86_64/strlen.S: Unroll the loop.
75976         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75977         strlen-sse2 strlen-sse2-bsf.
75978         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
75979         __strlen_no_bsf if bit_Slow_BSF is set.
75980         (__strlen_sse42): Removed.
75981         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
75982         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
75984 2010-08-25  Roland McGrath  <roland@redhat.com>
75986         * sysdeps/x86_64/multiarch/varshift.S: File removed.
75987         * sysdeps/x86_64/multiarch/varshift.c: New file.
75988         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
75989         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
75990         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
75991         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75993 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
75995         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75996         strlen-sse2 strlen-sse2-bsf.
75997         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
75998         __strlen_sse2_bsf if bit_Slow_BSF is unset.
75999         (__strlen_sse2): Removed.
76000         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
76001         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
76002         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
76003         bit_Slow_BSF for Atom.
76004         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
76005         (index_Slow_BSF): Define.
76006         (HAS_SLOW_BSF): Define.
76008 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
76010         [BZ #10851]
76011         * resolv/res_init.c (__res_vinit): When no server address at all
76012         is given default to loopback.
76014 2010-08-24  Roland McGrath  <roland@redhat.com>
76016         * configure.in: Remove config-name.h generation.
76017         * configure: Regenerated.
76018         * config-name.in: File removed.
76019         * scripts/config-uname.sh: New file.
76020         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
76021         ($(objdir)config-name.h): New target.
76023         * sunrpc/rpc_parse.h: Avoid nested comment.
76025 2010-08-24  Richard Henderson  <rth@redhat.com>
76026             Ulrich Drepper  <drepper@redhat.com>
76027             H.J. Lu  <hongjiu.lu@intel.com>
76029         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
76030         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
76031         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
76032         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
76033         _mm_alignr_epi8 with _mm_loadu_si128.
76034         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
76035         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
76036         (__m128i_shift_right): Removed.
76037         * sysdeps/i386/i686/multiarch/varshift.h: New file.
76038         * sysdeps/i386/i686/multiarch/varshift.S: New file.
76039         * sysdeps/x86_64/multiarch/varshift.h: New file.
76040         * sysdeps/x86_64/multiarch/varshift.S: New file.
76042 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
76044         * configure.in: Move assembler checks to before sysdep dir checking.
76046 2010-08-20  Petr Baudis  <pasky@suse.cz>
76048         * LICENSES: Sync the sunrpc license.
76050 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
76052         * sunrpc/auth_des.c: Update copyright notice once again.
76053         * sunrpc/auth_none.c: Likewise.
76054         * sunrpc/auth_unix.c: Likewise.
76055         * sunrpc/authdes_prot.c: Likewise.
76056         * sunrpc/authuxprot.c: Likewise.
76057         * sunrpc/bindrsvprt.c: Likewise.
76058         * sunrpc/clnt_gen.c: Likewise.
76059         * sunrpc/clnt_perr.c: Likewise.
76060         * sunrpc/clnt_raw.c: Likewise.
76061         * sunrpc/clnt_simp.c: Likewise.
76062         * sunrpc/clnt_tcp.c: Likewise.
76063         * sunrpc/clnt_udp.c: Likewise.
76064         * sunrpc/clnt_unix.c: Likewise.
76065         * sunrpc/des_crypt.c: Likewise.
76066         * sunrpc/des_soft.c: Likewise.
76067         * sunrpc/get_myaddr.c: Likewise.
76068         * sunrpc/getrpcport.c: Likewise.
76069         * sunrpc/key_call.c: Likewise.
76070         * sunrpc/key_prot.c: Likewise.
76071         * sunrpc/openchild.c: Likewise.
76072         * sunrpc/pm_getmaps.c: Likewise.
76073         * sunrpc/pm_getport.c: Likewise.
76074         * sunrpc/pmap_clnt.c: Likewise.
76075         * sunrpc/pmap_prot.c: Likewise.
76076         * sunrpc/pmap_prot2.c: Likewise.
76077         * sunrpc/pmap_rmt.c: Likewise.
76078         * sunrpc/rpc/auth.h: Likewise.
76079         * sunrpc/rpc/auth_unix.h: Likewise.
76080         * sunrpc/rpc/clnt.h: Likewise.
76081         * sunrpc/rpc/des_crypt.h: Likewise.
76082         * sunrpc/rpc/key_prot.h: Likewise.
76083         * sunrpc/rpc/netdb.h: Likewise.
76084         * sunrpc/rpc/pmap_clnt.h: Likewise.
76085         * sunrpc/rpc/pmap_prot.h: Likewise.
76086         * sunrpc/rpc/pmap_rmt.h: Likewise.
76087         * sunrpc/rpc/rpc.h: Likewise.
76088         * sunrpc/rpc/rpc_des.h: Likewise.
76089         * sunrpc/rpc/rpc_msg.h: Likewise.
76090         * sunrpc/rpc/svc.h: Likewise.
76091         * sunrpc/rpc/svc_auth.h: Likewise.
76092         * sunrpc/rpc/types.h: Likewise.
76093         * sunrpc/rpc/xdr.h: Likewise.
76094         * sunrpc/rpc_clntout.c: Likewise.
76095         * sunrpc/rpc_cmsg.c: Likewise.
76096         * sunrpc/rpc_common.c: Likewise.
76097         * sunrpc/rpc_cout.c: Likewise.
76098         * sunrpc/rpc_dtable.c: Likewise.
76099         * sunrpc/rpc_hout.c: Likewise.
76100         * sunrpc/rpc_main.c: Likewise.
76101         * sunrpc/rpc_parse.c: Likewise.
76102         * sunrpc/rpc_parse.h: Likewise.
76103         * sunrpc/rpc_prot.c: Likewise.
76104         * sunrpc/rpc_sample.c: Likewise.
76105         * sunrpc/rpc_scan.c: Likewise.
76106         * sunrpc/rpc_scan.h: Likewise.
76107         * sunrpc/rpc_svcout.c: Likewise.
76108         * sunrpc/rpc_tblout.c: Likewise.
76109         * sunrpc/rpc_util.c: Likewise.
76110         * sunrpc/rpc_util.h: Likewise.
76111         * sunrpc/rpcinfo.c: Likewise.
76112         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
76113         * sunrpc/rpcsvc/key_prot.x: Likewise.
76114         * sunrpc/rpcsvc/klm_prot.x: Likewise.
76115         * sunrpc/rpcsvc/mount.x: Likewise.
76116         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
76117         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
76118         * sunrpc/rpcsvc/rex.x: Likewise.
76119         * sunrpc/rpcsvc/rstat.x: Likewise.
76120         * sunrpc/rpcsvc/rusers.x: Likewise.
76121         * sunrpc/rpcsvc/sm_inter.x: Likewise.
76122         * sunrpc/rpcsvc/spray.x: Likewise.
76123         * sunrpc/rpcsvc/yppasswd.x: Likewise.
76124         * sunrpc/rtime.c: Likewise.
76125         * sunrpc/svc.c: Likewise.
76126         * sunrpc/svc_auth.c: Likewise.
76127         * sunrpc/svc_authux.c: Likewise.
76128         * sunrpc/svc_raw.c: Likewise.
76129         * sunrpc/svc_run.c: Likewise.
76130         * sunrpc/svc_simple.c: Likewise.
76131         * sunrpc/svc_tcp.c: Likewise.
76132         * sunrpc/svc_udp.c: Likewise.
76133         * sunrpc/svc_unix.c: Likewise.
76134         * sunrpc/svcauth_des.c: Likewise.
76135         * sunrpc/xcrypt.c: Likewise.
76136         * sunrpc/xdr.c: Likewise.
76137         * sunrpc/xdr_array.c: Likewise.
76138         * sunrpc/xdr_float.c: Likewise.
76139         * sunrpc/xdr_mem.c: Likewise.
76140         * sunrpc/xdr_rec.c: Likewise.
76141         * sunrpc/xdr_ref.c: Likewise.
76142         * sunrpc/xdr_sizeof.c: Likewise.
76143         * sunrpc/xdr_stdio.c: Likewise.
76145         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
76146         handling.
76148 2010-08-19  Andreas Schwab  <schwab@redhat.com>
76150         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
76152 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
76154         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
76155         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
76156         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
76157         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
76158         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
76159         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
76160         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
76161         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
76162         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
76163         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
76164         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
76165         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
76166         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
76167         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
76169 2010-07-26  Anton Blanchard  <anton@samba.org>
76171         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
76172         * malloc/arena.c (heap_trim): Likewise.
76174 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
76176         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
76177         here.  Not...
76178         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
76179         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
76181 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
76183         * sysdeps/i386/elf/Makefile: New file.
76185 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76187         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
76188         from fanotify_init.
76189         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
76190         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76192 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
76194         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
76195         of strncasecmp_l.
76196         * sysdeps/multiarch/strcmp.S: Likewise.
76198 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
76200         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76201         strncase_l-nonascii.
76202         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76203         Add strncase_l-ssse3.
76204         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
76205         * sysdeps/x86_64/strcmp.S: Likewise.
76206         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
76207         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
76208         * sysdeps/x86_64/strncase.S: New file.
76209         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
76210         * sysdeps/x86_64/strncase_l.S: New file.
76211         * string/Makefile (strop-tests): Add strncasecmp.
76212         * string/test-strncasecmp.c: New file.
76214         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
76215         warning.
76217         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
76218         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
76220 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76222         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
76224 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
76226         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
76227         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
76228         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
76230 2010-05-01  Alan Modra  <amodra@gmail.com>
76232         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
76233         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
76234         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
76235         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
76236         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
76237         tidying.  Don't tail-call __sigjmp_save for static lib.
76238         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
76239         save location.
76240         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
76241         (CALL_MCOUNT): Add eh info, and nop after bl.
76242         (TAIL_CALL_SYSCALL_ERROR): New macro.
76243         (PSEUDO_RET): Use it.
76244         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
76245         Correct save location of integer regs and cr.
76246         (_dl_profile_resolve): Correct cr save location.  Delete nops
76247         after bl when SHARED.  Reduce cfi size a little by better
76248         placement of cfi directives.
76249         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
76250         make a stack frame.  Instead use parm save area as a temp.
76251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
76252         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
76253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
76254         Don't make a stack frame for parent, use parm save area.
76255         Increase child stack frame to 112 bytes.  Don't save unused reg,
76256         and adjust reg usage.  Set up cfi on error recovery and
76257         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
76258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76259         (__makecontext): Add dummy nop after jump to exit.
76260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
76261         Use correct parm save area and cr save, reduce stack frame.
76262         Correct cfi for possible PSEUDO_RET frame setup.
76263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
76264         Branch to local label emitted by PSEUDO_RET rather than
76265         __syscall_error.
76267 2010-08-12  Andreas Schwab  <schwab@redhat.com>
76269         [BZ #11904]
76270         * locale/programs/locale.c (print_assignment): New function.
76271         (show_locale_vars): Use it.
76273 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
76275         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
76276         field.
76277         (struct statfs64): Likewise.
76278         (_STATFS_F_FLAGS): Define.
76279         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
76280         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76281         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
76282         (ST_VALID): Define locally.
76283         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
76284         __statvfs_getflags, use the provided value.
76285         * sysdeps/unix/sysv/linux/kernel-features.h: Define
76286         __ASSUME_STATFS_F_FLAGS.
76288         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
76290         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
76291         Add sys/fanotify.h.
76292         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
76293         fanotify_mask for GLIBC_2.13.
76294         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
76295         fanotify_init and fanotify_mark.
76296         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76297         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
76299         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
76300         Add prlimit.
76301         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
76302         prlimit64 for GLIBC_2.13.
76303         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
76304         prlimit64.
76305         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
76306         syscall.
76307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
76308         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76309         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
76310         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
76311         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
76312         add prlimit alias.
76313         * sysdeps/unix/sysv/linux/prlimit.c: New file.
76315         [BZ #11903]
76316         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
76317         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
76319         * nss/Makefile: Add rules to build and run tst-nss-test1.
76320         * shlib-versions: Add entry for libnss_test1.
76321         * nss/nss_test1.c: New file.
76322         * nss/tst-nss-test1.c: New file.
76324         * nss/nsswitch.c (__nss_database_custom): Define new variable.
76325         (__nss_configure_lookup): Set appropriate entry in
76326         __nss_configure_lookup to true.
76327         * nss/nsswitch.h: Define enum with indeces of databases in
76328         databases and __nss_database_custom arrays.  Declare
76329         __nss_database_custom.
76330         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
76331         to avoid using nscd when custom rules are installed.
76332         * nss/getXXbyYY_r.c: Likewise.
76333         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
76335         * nss/nss_files/files-parse.c: Whitespace fixes.
76337 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
76339         [BZ #11883]
76340         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
76341         * posix/fnmatch_loop.c: Likewise.
76343 2010-07-17  Andi Kleen  <ak@linux.intel.com>
76345         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
76346         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
76347         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
76348         * Versions.def [GLIBC_2.13]: Add.
76350 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
76352         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76353         Also fail if tpwd after pwuid call is NULL.
76355 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76357         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
76358         when converting to ms.
76360 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76362         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
76363         EOPNOTSUPP errors with ENOTTY.
76364         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
76365         EOPNOTSUPP errors with ENOTTY.
76367 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
76369         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76370         Add strcasecmp_l-ssse3.
76371         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
76372         strcasecmp.
76373         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
76374         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
76375         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
76377 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
76379         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
76381         * string/Makefile (strop-tests): Add strcasecmp.
76382         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76383         strcasecmp_l-nonascii.
76384         (gen-as-const-headers): Add locale-defines.sym.
76385         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
76386         * sysdeps/x86_64/strcasecmp.S: New file.
76387         * sysdeps/x86_64/strcasecmp_l.S: New file.
76388         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
76389         * sysdeps/x86_64/locale-defines.sym: New file.
76390         * string/test-strcasecmp.c: New file.
76392         * string/test-strcasestr.c: Test both ends of the range of characters.
76393         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
76395 2010-07-29  Roland McGrath  <roland@redhat.com>
76397         [BZ #11856]
76398         * manual/locale.texi (Yes-or-No Questions): Fix example code.
76400 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
76402         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
76403         for ld.so.
76405 2010-07-27  Andreas Schwab  <schwab@redhat.com>
76407         * manual/memory.texi (Malloc Tunable Parameters): Document
76408         M_PERTURB.
76410 2010-07-26  Roland McGrath  <roland@redhat.com>
76412         [BZ #11840]
76413         * configure.in (-fgnu89-inline check): Set and substitute
76414         gnu89_inline, not libc_cv_gnu89_inline.
76415         * configure: Regenerated.
76416         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
76418 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
76420         * string/test-strnlen.c: New file.
76421         * string/Makefile (strop-tests): Add strnlen.
76422         * string/tester.c (test_strnlen): Add a few more test cases.
76423         * string/tst-strlen.c: Better error reporting.
76425         * sysdeps/x86_64/strnlen.S: New file.
76427 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
76429         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
76430         lower-latency instructions.
76432 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
76434         * string/test-strcasestr.c: New file.
76435         * string/test-strstr.c: New file.
76436         * string/Makefile (strop-tests): Add strstr and strcasestr.
76437         * string/str-two-way.h: Don't undefine MAX.
76438         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
76440 2010-07-21  Andreas Schwab  <schwab@redhat.com>
76442         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76443         strcasestr-nonascii.
76444         (CFLAGS-strcasestr-nonascii.c): Define.
76445         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
76446         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
76447         Remove unused attribute.
76449 2010-07-20  Roland McGrath  <roland@redhat.com>
76451         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
76452         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
76453         ld.so.cache was broken.  With it, there is no way to disable dsocaps
76454         like LD_HWCAP_MASK can disable hwcaps.
76456 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76458         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
76460 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
76462         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
76463         call in strcasestr.
76464         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
76465         __strcasestr_sse42_nonascii.
76466         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
76467         strcasestr-nonascii.c.
76468         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
76470 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
76472         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
76473         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
76474         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
76475         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
76477 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
76479         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
76480         fcntl.
76482 2010-07-06  Andreas Schwab  <schwab@redhat.com>
76484         [BZ #11577]
76485         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
76486         dl_signal_cerror.
76488 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
76490         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
76491         _PC_PIPE_BUF using F_GETPIPE_SZ.
76493 2010-07-05  Roland McGrath  <roland@redhat.com>
76495         * manual/arith.texi (Rounding Functions): Fix rint description
76496         implicit in round description.
76498 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
76500         * elf/Makefile: Fix linking for a few tests to make recent linker
76501         happy.
76503 2010-06-30  Andreas Schwab  <schwab@redhat.com>
76505         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76506         $(common-objpfx)libc_nonshared.a.
76508 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
76510         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
76511         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
76512         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76513         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76514         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
76515         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
76516         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76517         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
76519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
76520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
76521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
76523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
76525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
76526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
76527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
76528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
76530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
76532         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
76533         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
76534         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
76535         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
76536         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
76537         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
76538         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
76539         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
76540         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
76541         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
76542         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
76543         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
76544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
76545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
76546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
76547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
76548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
76549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
76550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
76551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
76552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
76553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
76554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
76555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
76556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
76557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
76559 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
76561         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
76562         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
76563         * string/memmove.c (memmove): Renamed to ...
76564         (MEMMOVE): ...this.  Default to memmove.
76565         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
76566         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
76567         (END_CHK): Define.
76568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76569         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
76570         mempcpy-ssse3-back memmove-ssse3-back.
76571         * sysdeps/x86_64/multiarch/bcopy.S: New file .
76572         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
76573         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
76574         * sysdeps/x86_64/multiarch/memcpy.S: New file.
76575         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
76576         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
76577         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
76578         * sysdeps/x86_64/multiarch/memmove.c: New file.
76579         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
76580         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
76581         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
76582         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
76583         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
76584         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
76585         Define.
76586         (index_Fast_Copy_Backward): Define.
76587         (HAS_ARCH_FEATURE): Define.
76588         (HAS_FAST_REP_STRING): Define.
76589         (HAS_FAST_COPY_BACKWARD): Define.
76591 2010-06-21  Andreas Schwab  <schwab@redhat.com>
76593         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76594         Restore proper fallback handling.
76596 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
76598         [BZ #11701]
76599         * posix/group_member.c (__group_member): Correct checking loop.
76601         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
76602         OOM in getpwuid_r correctly.  Return error number when the caller
76603         should return, otherwise -1.
76604         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
76605         call returning > 0 value.
76606         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
76608 2010-06-07  Andreas Schwab  <schwab@redhat.com>
76610         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
76611         libc_nonshared.a from targets in modules-names.
76613 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
76615         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
76616         requires it.
76618 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
76620         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
76621         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
76622         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
76623         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
76625 2010-06-02  Andreas Schwab  <schwab@redhat.com>
76627         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
76629 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
76631         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
76632         and F_GETPIPE_SZ.
76633         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76634         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76635         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76636         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76637         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76638         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76640 2010-06-14  Roland McGrath  <roland@redhat.com>
76642         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
76644 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
76646         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
76647         __REDIRECT followed by __THROW.
76648         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
76649         * posix/getopt.h (getopt): Likewise.
76651 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76653         * hurd/lookup-at.c (__file_name_lookup_at): Accept
76654         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
76655         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
76656         in AT_FLAGS.
76657         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
76658         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
76660 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
76662         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
76664 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
76666         [BZ #11640]
76667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76668         Properly check family and model.
76670 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
76672         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
76674 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
76676         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
76678 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
76680         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
76681         symbol reference.
76683 2010-05-19  Andreas Schwab  <schwab@redhat.com>
76685         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
76686         symbol reference.
76688 2010-05-21  Andreas Schwab  <schwab@redhat.com>
76690         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
76691         and internal_recvmmsg.
76692         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
76693         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
76694         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
76695         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
76697         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
76698         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
76699         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
76701 2010-05-20  Andreas Schwab  <schwab@redhat.com>
76703         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
76705 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
76707         POWER7 optimizations.
76708         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
76709         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
76711 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
76713         * version.h: Update for 2.13 development version.
76715 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
76717         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
76718         exceptions.  Return 0.
76720 2010-05-07  Roland McGrath  <roland@redhat.com>
76722         * elf/ldconfig.c (main): Add a const.
76724 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
76726         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
76727         (args_options): Add no-idn option.
76728         (ahosts_keys_int): Add idn_flags to ai_flags.
76729         (parse_option): Handle 'i' option to clear idn_flags.
76731         * malloc/malloc.c (_int_free): Possible race in the most recently
76732         added check.  Only act on the data if no current modification
76733         happened.
76735 See ChangeLog.17 for earlier changes.